diff --git a/src/servala/core/forms.py b/src/servala/core/forms.py index 36f8be5..dacd956 100644 --- a/src/servala/core/forms.py +++ b/src/servala/core/forms.py @@ -192,7 +192,7 @@ class ServiceDefinitionAdminForm(forms.ModelForm): schema = None try: schema = crd.resource_schema - except Exception as e: + except Exception: pass if not schema or not (spec_schema := schema.get("properties", {}).get("spec")): diff --git a/src/servala/core/migrations/0013_add_form_config.py b/src/servala/core/migrations/0013_add_form_config.py index bd35891..2819a6c 100644 --- a/src/servala/core/migrations/0013_add_form_config.py +++ b/src/servala/core/migrations/0013_add_form_config.py @@ -15,7 +15,11 @@ class Migration(migrations.Migration): name="form_config", field=models.JSONField( blank=True, - help_text='Optional custom form configuration. When provided, this configuration will be used to render the service form instead of auto-generating it from the OpenAPI spec. Format: {"fieldsets": [{"title": "Section", "fields": [{...}]}]}', + help_text=( + "Optional custom form configuration. When provided, this configuration will " + "be used to render the service form instead of auto-generating it from the OpenAPI spec. " + 'Format: {"fieldsets": [{"title": "Section", "fields": [{...}]}]}' + ), null=True, verbose_name="Form Configuration", ), diff --git a/src/servala/frontend/templates/account/login.html b/src/servala/frontend/templates/account/login.html index f4ca590..906a9fa 100644 --- a/src/servala/frontend/templates/account/login.html +++ b/src/servala/frontend/templates/account/login.html @@ -31,7 +31,9 @@ {% for provider in socialaccount_providers %} {% provider_login_url provider process=process scope=scope auth_params=auth_params as href %} -