[Python] How to change the name of a Django app?

Discussão em 'Python' iniciado por Stack, Fevereiro 26, 2025.

  1. Stack

    Stack Membro Participativo

    I have changed the name of an app in Django by renaming its folder, imports and all its references (templates/indexes). But now I get this error when I try to run python manage.py runserver

    Error: Could not import settings 'nameofmynewapp.settings' (Is it on sys.path?): No module named settings


    How can I debug and solve this error? Any clues?

    Continue reading...

Compartilhe esta Página