New contrib - django-install
|Reported by:||italomaia||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I would like to suggest a new contrib to django. This contrib should allow someone to add a app to a existing project, on-the-fly, right through a web interface. That would be a big differecial for the project, and would make the whole "working with django" thing a lot easier. With django-install, django would became REALLY pluggable. Here are the details i made some nights ago:
It should let people add apps to django on the fly! With the real deal running, while you add your app, and more, it should let you configure the app! I was thinking, why INSTALLED_APPS is within settings.py? It '''doesn't have to be there''', and more, it would be better if it wasn't! It should go in a sweet .py(maybe a yaml) file where a nice, friend of everybody, contrib could mess up on it's own, add apps and stuff. Apps should get a default template to became pluggable, like have a configuration file of its own and pre-defined urls and template configuration. And more! This new contrib, should be able to edit the apps urls as well, on the fly, so, one would be able to add his apps, configure the project template folders and edit the urls all nice and just start working. It would became kind of a lego play. You create the project, add the apps, configure them, and there, you would have a django project up and running. One more details, it should be required from apps to have a special file called app_settings.py, where the app settings would go.