refactor: Utilisation d'une application "Common" pour tous les modèles

de référence
This commit is contained in:
N3WT DE COMPET
2025-05-18 15:42:21 +02:00
parent 7fe53465ac
commit e65e31014d
24 changed files with 491 additions and 277 deletions

View File

@ -42,6 +42,7 @@ ALLOWED_HOSTS = ['*']
# Application definition
INSTALLED_APPS = [
'Common.apps.CommonConfig',
'Subscriptions.apps.GestioninscriptionsConfig',
'Auth.apps.GestionloginConfig',
'GestionMessagerie.apps.GestionMessagerieConfig',

View File

@ -39,6 +39,7 @@ schema_view = get_schema_view(
urlpatterns = [
path('admin/', admin.site.urls),
path("Common/", include(("Common.urls", 'Common'), namespace='Common')),
path("Subscriptions/", include(("Subscriptions.urls", 'Subscriptions'), namespace='Subscriptions')),
path("Auth/", include(("Auth.urls", 'Auth'), namespace='Auth')),
path("GestionMessagerie/", include(("GestionMessagerie.urls", 'GestionMessagerie'), namespace='GestionMessagerie')),