...
 
Commits (2)
......@@ -13,7 +13,7 @@ class OIDCProviderForm(forms.ModelForm):
def __init__(self, *args, **kwargs):
# Correctly load data from 1:1 rel
if 'instance' in kwargs:
if 'instance' in kwargs and kwargs['instance']:
kwargs['instance'] = kwargs['instance'].oidc_client
super().__init__(*args, **kwargs)
self.fields['client_id'].initial = generate_client_id()
......
......@@ -232,7 +232,7 @@ if not DEBUG:
],
send_default_pii=True,
before_send=before_send,
release='p2@%s' % __version__
release='passbook@%s' % __version__
)
# Static files (CSS, JavaScript, Images)
......