Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize app location #276

Open
simeonf opened this issue Jan 17, 2019 · 0 comments
Open

Normalize app location #276

simeonf opened this issue Jan 17, 2019 · 0 comments

Comments

@simeonf
Copy link

simeonf commented Jan 17, 2019

A django project as generated currently has nested directories with the same name. The outer one is the "project" directory and the inner one is the "project settings" diretory.

In our case this is pybay and pybay/pybay.

Currently settings.INSTALLED_APPS includes the project settings directory as an app and we have some apps in the project directory, some in the project settings folder. Eg:

INSTALLED_APPS = [
    "django.contrib.admin",
    ...
    'pybay',
    'pybay.proposals',
    'pybay.faqs',
    ...
    'blockstuff',
    'menu',
]

There should not be an app called pybay. Apps in the settings folder need to move up one level. (Eg pybay.faqs should just be pybay.)

This ticket can be closed when we've made the necessary changes so that apps live in a consistent location relative to the project root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant