5 ms·
the boilerplate seems to ignore django's "multiapp" project layout: |-manage.py |-MyApp/ |---- settings.py, urls.py, wsgi.py,... etc. |-AnotherApp1 |--
by elnygren 11y ago
the boilerplate seems to ignore django's "multiapp" project layout:
|-manage.py
|-MyApp/
|---- settings.py, urls.py, wsgi.py,... etc.
|-AnotherApp1
|---- urls.py, models.py, views.py, migrations/... etc.
|-AnotherApp2
|---- urls.py, models.py, views.py, migrations/... etc.
This might make it not-that-suitable for actually complex projects.
EDIT: ah, looks like the formatting here did't support what I tried to do...
- pestaa 11y agoIndent the tree with 4 spaces.
- yasoob 11y agoSomething like this probably? |-manage.py |-MyApp/ |---- settings.py, urls.py, wsgi.py,... etc. |-AnotherApp1 |---- urls.py, models.py, views.py, migrations/... etc. |-AnotherApp2 |---- urls.py, models.py, views.py, migrations/..
- rylee 11y agoErr, are `AnotherApp{1,2}` intentionally missing `settings.py`, and all the other incongruencies? I'd think that `AnotherApp{1,2}` would be subdirectories of `MyApp/`, right?
- jmelloy 11y agoThere's only one settings file, which is defined in the first/main app.