Moved the dcim config setting from the __init__ file to the installed app file to allow imports of the module. Ref https://docs.djangoproject.com/en/dev/ref/applications/#for-application-users

This commit is contained in:
Joel 2016-07-12 23:59:29 -07:00
parent 173a4cde8b
commit ab889cb650
2 changed files with 1 additions and 2 deletions

View File

@ -1 +0,0 @@
default_app_config = 'dcim.apps.IPAMConfig'

View File

@ -100,7 +100,7 @@ INSTALLED_APPS = (
'rest_framework', 'rest_framework',
'rest_framework_swagger', 'rest_framework_swagger',
'circuits', 'circuits',
'dcim', 'dcim.apps.IPAMConfig',
'ipam', 'ipam',
'extras', 'extras',
'secrets', 'secrets',