Skip to content

Normalize app location #276

@simeonf

Description

@simeonf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions