I have worked with django 1.7 and recently started new project with django 1.9. The major difference with starting a new app was that new app is created with apps.py file. I rea
If your app is inside the "myapps" directory, you still need to include that in the path: "myapps.newapp.apps.NewAppConfig"
.
If your apps directory is in the myapps
directory, then check the following:
Your myapps
directory should have an __init__.py
Include myapps
in the path when you include the app in INSTALLED_APPS
, i.e. 'myapps.newapp.apps.NewAppConfig',
Include myapps
in the app config's name attribute:
class NewAppConfig(AppConfig):
name = 'myapps.newapp'