admin: fix urls for applications

This commit is contained in:
Jens Langhammer 2020-05-22 23:22:40 +02:00
parent ff3f126832
commit eeeb14a045
2 changed files with 2 additions and 4 deletions

View File

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

View File

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