I would like to change the layout of standard django project and I also run django with virtual env. How can I do it? Current project structure looks like this:
app1
- __init.py__
- admin.py
- apps.py
- models.py
- tests.py
- views.py
mysite
- __init.py
- asgi.py
- settings.py
- urls.py
- wsgi.py
db.sqlite3
manage.py
.gitignore
requirements.txt
I would like to move these files into separate folder called src and leave some non-django files outside of the structure (things like gitignore, requirements, etc.), so the directory looks like this. Btw, if I move the files into src, django outputs 'No module named src'. Probably, I'm missing some settings.py to fix the path, but I can't figure out which one.
src
app1
- __init.py__
- admin.py
- apps.py
- models.py
- tests.py
- views.py
mysite
- __init.py
- asgi.py
- settings.py
- urls.py
- wsgi.py
db.sqlite3
manage.py
.gitignore
requirements.txt