From f1e0ecf8f162de0f19ef182c79ab6d0e39386381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poulain?= Date: Sat, 1 Aug 2020 11:12:06 +0200 Subject: [PATCH] feat(drupal): ajoute un embryon d'app drupal --- drupal2spip_lal/drupal/__init__.py | 0 drupal2spip_lal/drupal/apps.py | 5 +++++ drupal2spip_lal/settings/base.py | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 drupal2spip_lal/drupal/__init__.py create mode 100644 drupal2spip_lal/drupal/apps.py diff --git a/drupal2spip_lal/drupal/__init__.py b/drupal2spip_lal/drupal/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/drupal2spip_lal/drupal/apps.py b/drupal2spip_lal/drupal/apps.py new file mode 100644 index 0000000..d2a00f8 --- /dev/null +++ b/drupal2spip_lal/drupal/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class DrupalConfig(AppConfig): + name = 'drupal' diff --git a/drupal2spip_lal/settings/base.py b/drupal2spip_lal/settings/base.py index c456d93..1f42c85 100644 --- a/drupal2spip_lal/settings/base.py +++ b/drupal2spip_lal/settings/base.py @@ -86,7 +86,7 @@ DJANGO_APPS = [ THIRD_PARTY_APPS = [] # Project applications -LOCAL_APPS = ['drupal2spip_lal.base'] +LOCAL_APPS = ['drupal2spip_lal.base', 'drupal2spip_lal.drupal'] # https://docs.djangoproject.com/en/stable/ref/settings/#installed-apps INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS