#1978: Create Initial data via database API instead of SQL
-----------------------------+----------------------------------------------
Reporter: anonymous | Owner: adrian
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: django-admin.py | Version:
Severity: normal | Resolution:
Keywords: |
-----------------------------+----------------------------------------------
Comment (by mtredinnick):
This proposal, to some extent, increase the "magic" involved in running
manage.py again. We need to have the initial data SQL files, because there
are things you can do there that you cannot do through the ORM and it also
provides a very compact form for inserting initial data. But I think we
should keep this kind of running of extra files to a minimum. It's easy
enough to wrap up a call to manage.py followed by a call to your own .py
file in a shell script if you want to do this for individual projects.
Having arbitrarily many options for doing the same thing leads to
confusion that outweighs utility at some point. I don't see this option as
adding a feature that is otherwise hard to do.
--
Ticket URL: <http://code.djangoproject.com/ticket/1978>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---