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.utils.translation import ugettext_lazy as _
|
||||
|
||||
|
||||
class CommunicationConfig(AppConfig):
|
||||
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.utils.translation import ugettext_lazy as _
|
||||
|
||||
|
||||
class EquipmentConfig(AppConfig):
|
||||
name = 'equipment'
|
||||
verbose_name = _("Équipement")
|
||||
|
|
|
@ -44,22 +44,24 @@ BASE_DIR = os.path.dirname(
|
|||
|
||||
|
||||
INSTALLED_APPS = [
|
||||
'communication.apps.CommunicationConfig',
|
||||
'equipment.apps.EquipmentConfig',
|
||||
'event.apps.EventConfig',
|
||||
'users.apps.UsersConfig',
|
||||
'shared.apps.SharedConfig',
|
||||
'django.contrib.admin',
|
||||
'django.contrib.auth',
|
||||
'django.contrib.contenttypes',
|
||||
'django.contrib.sessions',
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
|
||||
'channels',
|
||||
'rest_framework',
|
||||
'bootstrapform',
|
||||
'widget_tweaks',
|
||||
|
||||
'api',
|
||||
'communication',
|
||||
'equipment',
|
||||
'event',
|
||||
'shared',
|
||||
'users',
|
||||
]
|
||||
|
||||
MIDDLEWARE_CLASSES = [
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
default_app_config = 'event.apps.EventConfig'
|
|
@ -1,5 +1,7 @@
|
|||
from django.apps import AppConfig
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
|
||||
class EventConfig(AppConfig):
|
||||
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.utils.translation import ugettext_lazy as _
|
||||
|
||||
|
||||
class UsersConfig(AppConfig):
|
||||
name = 'users'
|
||||
verbose_name = _("Utilisateurs")
|
||||
|
|
Loading…
Reference in a new issue