[Fixed]-Django 1.9 can not find newapp

1👍

If your apps directory is in the myapps directory, then check the following:

  1. Your myapps directory should have an __init__.py

  2. Include myapps in the path when you include the app in INSTALLED_APPS, i.e. 'myapps.newapp.apps.NewAppConfig',

  3. Include myapps in the app config’s name attribute:

    class NewAppConfig(AppConfig):
        name = 'myapps.newapp'
    

0👍

If your app is inside the “myapps” directory, you still need to include that in the path: "myapps.newapp.apps.NewAppConfig".

Leave a comment