Open
Description
We have a bunch of thing that works, and a bunch of thing that kind of does not. For 1.0 release lets remove all magic.
What is importd?
Its a way to django projects, with less fuss. It has a settings framework, and it encourages sane and useful configuration for teams, like using envdir.
What we should keep
- @d("/") decorator for views
- settings framework
- single file setup.
- dj_database_url
- smart return (how to do this without auto adjusting middlewares?)
- auto wsgi setup
- auto APP_DIR (call it PROJ_DIR?) and d.dotslash()
- secret.txt support (optionally read it from ENV?)
- auto set template dirs
- auto set static dir
- auto set DATABASES
- auto set TEMPLATE_DEBUG to DEBUG
- auto set MANAGERS to ADMINS
- auto import .views and .admin etc for each app
What we should discard
- modifying INSTALLED_APPS etc beyond what is done by settings framework (debug: and prod: prefix handling)
- auto configuration of admin
- werkzeug, django_jinja, django_extensions
- d.get_object_or_404 etc (i have never used them personally)
Lets also deprecate < 1.8 in 1.0 release so we have less mess.
Metadata
Assignees
Labels
No labels