Adrian Holovaty wrote: > django-admin.py startproject foo > > # generated settings file contains INSTALLED_APPS with the basics, > # such as sessions, auth, etc.. Advanced users can remove any or all of > that > # if they don't want to use it. > > python foo/manage.py synchdb # creates tables for all INSTALLED_APPS > > # When you write some new models, just run "manage.py synchdb" again > # to make sure things are in sync. This can later be expanded to include > # ALTER TABLE statements.
i was working on a patch that allows to use globs in manage.py install so you could write "install *" to install all INSTALLED_APPS, but with the syncdb which later can alter tables this seems even better. my patch is a extended version of #1371 which allows also simple depedencies to other apps. in myapp/default_settings.py you could write DEPENDS_ON=('somethingelse.app',) which would be automaticly appended to INSTALLED_APPS if it's not there and on "install app" be created before the myapp is installed. Thoughts ? kindly regards daniel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers -~----------~----~----~----~------~----~------~--~---