Implement an `upgrade old structure django to new style` command
This will help new projects use the tool quicker!
I think this just means:
- (if you're project is foo),
mv django/website/ foo
. - Move the wsgi.py to the main folder. Move the
manage.py
to the main folder. - Make sure you add the DJANGO_SETTINGS_MODULE loader to wsgi.py and manage.py.
- Expose the DJANGO_SETTINGS_MODULE with pytest-env for pytest.
- Convert your deploy/requirements.txt to a Pipfile.
- Delete all the DYE specific folders.
- Output the remaining things to do that a machine cannot:
- Create a project play and call the roles you need.
- Migrate all Apache templates to the project plays.
- Migrate all the local tasks to project plays.