Skip to content

Commit

Permalink
(no-ticket) Fix an error occuring during development deployment.
Browse files Browse the repository at this point in the history
There is an error occuring during migrations with DEGUB=True set:
> You have 'APP_DIRS': True in your TEMPLATES but also specify 'loaders' in OPTIONS. Either remove APP_DIRS or remove the 'loaders' option.

Change-Id: I908285aaf9d1fd05bfe2b867adfdb0fcd2bb9093
  • Loading branch information
olafik committed Oct 11, 2017
1 parent 0ab16a1 commit 449635a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions oioioi/deployment/settings.py.template
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ DEBUG = True

if DEBUG:
TEMPLATES[0]['OPTIONS']['loaders'] = UNCACHED_TEMPLATE_LOADERS
TEMPLATES[0]['APP_DIRS'] = False

# Site name displayed in the title and used by sioworkersd
# to distinguish OIOIOI instances.
Expand Down

0 comments on commit 449635a

Please sign in to comment.