On Thu, 2006-08-03 at 14:30 +1000, Alan Green wrote:
> On 8/3/06, Gennan Chen <[EMAIL PROTECTED]> wrote:
> > is there any way to put some initial data in the db by using "syncdb"
> > option? Or I need to cook my own??
> 
> Hi Gen,
> 
> You can put code into the management.py file
> 
> http://www.bright-green.com/blog/2006_07_12/initialising_application_data_.html

Wow! A feature I did not know we had. That's the way to do it. :-)

Regards,
Malcolm


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to