[Python] How to keep all my django applications in specific folder

Discussão em 'Python' iniciado por Stack, Março 17, 2025.

  1. Stack

    Stack Membro Participativo

    I have a Django project, let's say "project1". Typical folder structure for applications is:

    /project1/
    /app1/
    /app2/
    ...
    __init__.py
    manage.py
    settings.py
    urls.py


    What should I do if I want to hold all of my applications in some separate folder, 'apps' for example? So that structure should look like the following:

    /project/
    apps/
    app1/
    app2/
    ...
    __init__.py
    manage.py
    settings.py
    urls.py

    Continue reading...

Compartilhe esta Página