Fix wrong url and set default auto field

This commit is contained in:
Antoine Bartuccio 2022-08-04 00:38:50 +02:00
parent 98bfc308a7
commit 08924c5e05
2 changed files with 3 additions and 1 deletions

View File

@ -62,6 +62,8 @@ ALLOWED_HOSTS = ["*"]
# Application definition
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
SITE_ID = 4000
INSTALLED_APPS = (

View File

@ -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")),
]