bhrutledge / jahhills.com

My band's website, built with Django
https://www.hallelujahthehills.com
MIT License
2 stars 0 forks source link

Add an src directory #125

Closed bhrutledge closed 5 years ago

bhrutledge commented 5 years ago

To simplify test, coverage, and lint configuration.

Maybe move tests into a sibling directory?

Maybe follow conventions in https://github.com/pydanny/cookiecutter-django/? See also Two Scoops recommendation.

bhrutledge commented 5 years ago

Maybe something like this:

Gemfile
Makefile
README.md
docs/
hth/
    __init__.py
    core/
        __init__.py
        models.py
        tests/
    jahhills.sqlite3
    music/
        __init__.py
        models.py
        tests/
    news/
        __init__.py
        models.py
        tests/
    settings/
    shows/
        __init__.py
        models.py
        tests/
    static/
    templates/
        base.html
        music/
        news/
        shows/
    tests/
    urls.py
    views.py
    wsgi.py
manage.py
pytest.ini
requirements/
setup.cfg
start.sh
bhrutledge commented 5 years ago

This seems to undo d5d43f7cd4a09432158875996dca6bcbdf5cecb7.