From 21d8ec880da52ac1a3ae8352f2f277b6f43732e3 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Wed, 8 Apr 2020 13:14:58 +0200 Subject: [PATCH] Create submodule for module hooks --- core/modules/__init__.py | 0 core/{ => modules}/navigation.py | 0 core/navigations.py | 2 +- core/templatetags/navigation.py | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 core/modules/__init__.py rename core/{ => modules}/navigation.py (100%) diff --git a/core/modules/__init__.py b/core/modules/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/core/navigation.py b/core/modules/navigation.py similarity index 100% rename from core/navigation.py rename to core/modules/navigation.py diff --git a/core/navigations.py b/core/navigations.py index 7969daa..23ee59d 100644 --- a/core/navigations.py +++ b/core/navigations.py @@ -1,4 +1,4 @@ -from core.navigation import navigations, NavSection, NavItem +from core.modules.navigation import navigations, NavSection, NavItem from django.conf import settings diff --git a/core/templatetags/navigation.py b/core/templatetags/navigation.py index f2fddcb..663f7df 100644 --- a/core/templatetags/navigation.py +++ b/core/templatetags/navigation.py @@ -1,4 +1,4 @@ -from core.navigation import navigations +from core.modules.navigation import navigations from django import template