diff --git a/sith/settings.py b/sith/settings.py index 6beb040f..bf47bfda 100644 --- a/sith/settings.py +++ b/sith/settings.py @@ -62,6 +62,8 @@ ALLOWED_HOSTS = ["*"] # Application definition +DEFAULT_AUTO_FIELD = "django.db.models.AutoField" + SITE_ID = 4000 INSTALLED_APPS = ( diff --git a/sith/urls.py b/sith/urls.py index 085e17ad..cdb0cabe 100644 --- a/sith/urls.py +++ b/sith/urls.py @@ -82,7 +82,7 @@ urlpatterns = [ path("admin/", admin.site.urls), path("ajax_select/", include(ajax_select_urls)), path("i18n/", include("django.conf.urls.i18n")), - path("jsi18n/$", JavaScriptCatalog.as_view(), name="javascript-catalog"), + path("jsi18n/", JavaScriptCatalog.as_view(), name="javascript-catalog"), path("captcha/", include("captcha.urls")), ]