admin: fix urls for applications
This commit is contained in:
parent
ff3f126832
commit
eeeb14a045
|
@ -33,12 +33,12 @@ urlpatterns = [
|
|||
name="application-create",
|
||||
),
|
||||
path(
|
||||
"applications/<int:pk>/update/",
|
||||
"applications/<uuid:pk>/update/",
|
||||
applications.ApplicationUpdateView.as_view(),
|
||||
name="application-update",
|
||||
),
|
||||
path(
|
||||
"applications/<int:pk>/delete/",
|
||||
"applications/<uuid:pk>/delete/",
|
||||
applications.ApplicationDeleteView.as_view(),
|
||||
name="application-delete",
|
||||
),
|
||||
|
|
|
@ -16,7 +16,6 @@ import sys
|
|||
|
||||
import structlog
|
||||
from celery.schedules import crontab
|
||||
from django.core.cache import cache
|
||||
from sentry_sdk import init as sentry_init
|
||||
from sentry_sdk.integrations.celery import CeleryIntegration
|
||||
from sentry_sdk.integrations.django import DjangoIntegration
|
||||
|
@ -394,6 +393,5 @@ if DEBUG:
|
|||
SESSION_COOKIE_SAMESITE = None
|
||||
INSTALLED_APPS.append("debug_toolbar")
|
||||
MIDDLEWARE.append("debug_toolbar.middleware.DebugToolbarMiddleware")
|
||||
cache.clear()
|
||||
|
||||
INSTALLED_APPS.append("passbook.core.apps.PassbookCoreConfig")
|
||||
|
|
Reference in New Issue