Update AppConfigs
This commit is contained in:
parent
677c7f3367
commit
e1b4dc1651
12 changed files with 29 additions and 5 deletions
|
@ -0,0 +1 @@
|
||||||
|
default_app_config = 'api.apps.APIConfig'
|
7
api/apps.py
Normal file
7
api/apps.py
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
from django.apps import AppConfig
|
||||||
|
from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
|
|
||||||
|
class APIConfig(AppConfig):
|
||||||
|
name = 'api'
|
||||||
|
verbose_name = _("API")
|
|
@ -0,0 +1 @@
|
||||||
|
default_app_config = 'communication.apps.CommunicationConfig'
|
|
@ -1,4 +1,7 @@
|
||||||
from django.apps import AppConfig
|
from django.apps import AppConfig
|
||||||
|
from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
|
|
||||||
class CommunicationConfig(AppConfig):
|
class CommunicationConfig(AppConfig):
|
||||||
name = 'communication'
|
name = 'communication'
|
||||||
|
verbose_name = _("Communication")
|
||||||
|
|
1
equipment/__init__.py
Normal file
1
equipment/__init__.py
Normal file
|
@ -0,0 +1 @@
|
||||||
|
default_app_config = 'equipment.apps.EquipmentConfig'
|
|
@ -1,5 +1,7 @@
|
||||||
from django.apps import AppConfig
|
from django.apps import AppConfig
|
||||||
|
from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
|
|
||||||
class EquipmentConfig(AppConfig):
|
class EquipmentConfig(AppConfig):
|
||||||
name = 'equipment'
|
name = 'equipment'
|
||||||
|
verbose_name = _("Équipement")
|
||||||
|
|
|
@ -44,22 +44,24 @@ BASE_DIR = os.path.dirname(
|
||||||
|
|
||||||
|
|
||||||
INSTALLED_APPS = [
|
INSTALLED_APPS = [
|
||||||
'communication.apps.CommunicationConfig',
|
|
||||||
'equipment.apps.EquipmentConfig',
|
|
||||||
'event.apps.EventConfig',
|
|
||||||
'users.apps.UsersConfig',
|
|
||||||
'shared.apps.SharedConfig',
|
|
||||||
'django.contrib.admin',
|
'django.contrib.admin',
|
||||||
'django.contrib.auth',
|
'django.contrib.auth',
|
||||||
'django.contrib.contenttypes',
|
'django.contrib.contenttypes',
|
||||||
'django.contrib.sessions',
|
'django.contrib.sessions',
|
||||||
'django.contrib.messages',
|
'django.contrib.messages',
|
||||||
'django.contrib.staticfiles',
|
'django.contrib.staticfiles',
|
||||||
|
|
||||||
'channels',
|
'channels',
|
||||||
'rest_framework',
|
'rest_framework',
|
||||||
'bootstrapform',
|
'bootstrapform',
|
||||||
'widget_tweaks',
|
'widget_tweaks',
|
||||||
|
|
||||||
'api',
|
'api',
|
||||||
|
'communication',
|
||||||
|
'equipment',
|
||||||
|
'event',
|
||||||
|
'shared',
|
||||||
|
'users',
|
||||||
]
|
]
|
||||||
|
|
||||||
MIDDLEWARE_CLASSES = [
|
MIDDLEWARE_CLASSES = [
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
default_app_config = 'event.apps.EventConfig'
|
|
@ -1,5 +1,7 @@
|
||||||
from django.apps import AppConfig
|
from django.apps import AppConfig
|
||||||
|
from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
|
|
||||||
class EventConfig(AppConfig):
|
class EventConfig(AppConfig):
|
||||||
name = 'event'
|
name = 'event'
|
||||||
|
verbose_name = _("Évènement")
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
default_app_config = 'shared.apps.SharedConfig'
|
|
@ -0,0 +1 @@
|
||||||
|
default_app_config = 'users.apps.UsersConfig'
|
|
@ -1,5 +1,7 @@
|
||||||
from django.apps import AppConfig
|
from django.apps import AppConfig
|
||||||
|
from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
|
|
||||||
class UsersConfig(AppConfig):
|
class UsersConfig(AppConfig):
|
||||||
name = 'users'
|
name = 'users'
|
||||||
|
verbose_name = _("Utilisateurs")
|
||||||
|
|
Loading…
Reference in a new issue