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

Alan.

>
>
> Gen
>
>
>  >
>


-- 
Alan Green
[EMAIL PROTECTED] - http://bright-green.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to