问题 I have the following structure (Django 1.4): containing_dir/ myproject/ myapp1/ myapp2/ myapp3/ myproject, myapp1, myapp2, and myapp3 all have init .py, so they're all modules. In manage.py (under containing_dir) I have os.environ.setdefault("DJANGO_SETTINGS_MODULE", "myproject.settings") in myproject.settings i define: [..] ROOT_URLCONF = 'myproject.urls' INSTALLED_APPS = ( [..] 'myproject.myapp1', 'myproject.myapp2', 'myproject.myapp3', ) [..] In myapp1.urls.py I define: urlpatterns =