Skip to content

Commit

Permalink
fix testing environment to correctly use demoproject
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Feb 4, 2020
1 parent 3153f58 commit 06f4d61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demoproject/demoproject/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
# Python dotted path to the WSGI application used by Django's runserver.
WSGI_APPLICATION = 'demoproject.wsgi.application'

INSTALLED_APPS = (
INSTALLED_APPS = [
# admin tool apps
'django_nvd3',
'admin_tools_stats',
Expand All @@ -173,7 +173,7 @@
'djangobower',
'demoproject',
# 'south',
)
]

# Django extensions
try:
Expand Down
3 changes: 3 additions & 0 deletions demoproject/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
ADMIN_TOOLS_INDEX_DASHBOARD = 'demoproject.dashboard.CustomIndexDashboard'
ADMIN_TOOLS_APP_INDEX_DASHBOARD = 'demoproject.dashboard.CustomAppIndexDashboard'

INSTALLED_APPS.remove('demoproject')
INSTALLED_APPS.append('demoproject.demoproject')

FIXTURE_DIRS = (
'demoproject/demoproject/fixtures/',
)

0 comments on commit 06f4d61

Please sign in to comment.