@@ -69,24 +69,26 @@ Follow the setup instructions of `openwisp-controller
6969
7070 INSTALLED_APPS = [
7171 # django apps
72- # openwisp2 admin theme (must be loaded here)
73- ' openwisp_utils.admin_theme' ,
7472 # all-auth
7573 ' django.contrib.sites' ,
7674 ' allauth' ,
7775 ' allauth.account' ,
7876 ' allauth.socialaccount' ,
7977 ' django_extensions' ,
78+ ' django_filters' ,
8079 # openwisp2 modules
8180 ' openwisp_users' ,
8281 ' openwisp_controller.pki' ,
8382 ' openwisp_controller.config' ,
8483 ' openwisp_controller.connection' ,
8584 # monitoring
86- ' notifications' ,
8785 ' openwisp_monitoring.monitoring' ,
8886 ' openwisp_monitoring.device' ,
8987 ' openwisp_monitoring.check' ,
88+ # notifications
89+ ' openwisp_notifications' ,
90+ # openwisp2 admin theme (must be loaded here)
91+ ' openwisp_utils.admin_theme' ,
9092 # admin
9193 ' django.contrib.admin' ,
9294 ' django.forms' ,
@@ -124,31 +126,6 @@ Follow the setup instructions of `openwisp-controller
124126
125127 urlpatterns += staticfiles_urlpatterns()
126128
127- Add `apptemplates.Loader ` to template loaders:
128-
129- .. code-block :: python
130-
131- TEMPLATES = [
132- {
133- ' BACKEND' : ' django.template.backends.django.DjangoTemplates' ,
134- ' DIRS' : [os.path.join(os.path.dirname(BASE_DIR ), ' templates' )],
135- ' OPTIONS' : {
136- ' loaders' : [
137- ' apptemplates.Loader' ,
138- ' django.template.loaders.filesystem.Loader' ,
139- ' django.template.loaders.app_directories.Loader' ,
140- ' openwisp_utils.loaders.DependencyLoader' ,
141- ],
142- ' context_processors' : [
143- ' django.template.context_processors.debug' ,
144- ' django.template.context_processors.request' ,
145- ' django.contrib.auth.context_processors.auth' ,
146- ' django.contrib.messages.context_processors.messages' ,
147- ],
148- },
149- }
150- ]
151-
152129 Configure caching (you may use a different cache storage if you want):
153130
154131.. code-block :: python
0 commit comments