Increase security and reformat
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
"""Test-only settings overrides — used via DJANGO_SETTINGS_MODULE=app.test_settings."""
|
||||
|
||||
from app.settings import * # noqa: F401, F403
|
||||
|
||||
CACHES = {
|
||||
|
||||
10
app/urls.py
10
app/urls.py
@@ -13,12 +13,13 @@ Including another URLconf
|
||||
1. Import the include() function: from django.urls import include, path
|
||||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
||||
"""
|
||||
|
||||
from django.conf import settings
|
||||
from django.conf.urls.static import static
|
||||
from django.contrib import admin
|
||||
from django.contrib.auth.views import LogoutView
|
||||
from django.views.generic import RedirectView
|
||||
from django.urls import include, path
|
||||
from django.views.generic import RedirectView
|
||||
from two_factor.urls import urlpatterns as tf_urls
|
||||
from two_factor.views.profile import ProfileView
|
||||
|
||||
@@ -41,8 +42,8 @@ from core.views import (
|
||||
queues,
|
||||
sessions,
|
||||
signal,
|
||||
tasks,
|
||||
system,
|
||||
tasks,
|
||||
whatsapp,
|
||||
workspace,
|
||||
)
|
||||
@@ -188,6 +189,11 @@ urlpatterns = [
|
||||
automation.TranslationSettings.as_view(),
|
||||
name="translation_settings",
|
||||
),
|
||||
path(
|
||||
"settings/business-plans/",
|
||||
automation.BusinessPlanInbox.as_view(),
|
||||
name="business_plan_inbox",
|
||||
),
|
||||
path(
|
||||
"settings/business-plan/<str:doc_id>/",
|
||||
automation.BusinessPlanEditor.as_view(),
|
||||
|
||||
Reference in New Issue
Block a user