forked from TagesschuleElementa/www.tagesschule-elementa.ch
fix
This commit is contained in:
@@ -57,6 +57,4 @@ RUN gulp build
|
||||
|
||||
# <STATIC>
|
||||
RUN DJANGO_MODE=build python manage.py collectstatic --noinput
|
||||
# </STATIC>
|
||||
|
||||
RUN DJANGO_MODE=build python manage.py rebuild_index --noinput
|
||||
# </STATIC>
|
||||
@@ -39,6 +39,11 @@ MIDDLEWARE_CLASSES.extend([
|
||||
# add your own middlewares here
|
||||
])
|
||||
|
||||
MIGRATION_COMMANDS = [
|
||||
'python manage.py migrate --noinput',
|
||||
'python manage.py rebuild_index --noinput'
|
||||
]
|
||||
|
||||
TEMPLATES[0]['OPTIONS']['context_processors'] += [
|
||||
'project.context_processors.search_form',
|
||||
'project.context_processors.notification',
|
||||
|
||||
Reference in New Issue
Block a user