On 2/24/06, Tom Tobin <[EMAIL PROTECTED]> wrote:
> Okay then; init-minimal, we had only a short time to get to know you .
> . . we'll miss you so!  ::sniff::  :-D

Well, whaddya know -- the tests *do* fail! Thanks for pointing that
out. I've fixed it.

Sorry I didn't notify the list here...Jacob and Simon and I were
discussing things here at PyCon and came up with a nice solution to
the challenge of making startup easier. The plan is to create a
"manage.py synchdb" command (or maybe it gets another name), which
will execute the CREATE TABLE statements for all INSTALLED_APPS that
aren't yet in the database. This way, starting with Django becomes as
easy as:

    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.

Thoughts?

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to