Of course, a couple other things to look at that might save you from
needing to regenerate the content:

Fixtures: http://docs.djangoproject.com/en/dev/howto/initial-data/
South: http://south.aeracode.org/

I just started using south, and it really cleans up the database
schema change workflow.

Leo


On Apr 24, 4:41 am, Brad Buran <bbu...@alum.mit.edu> wrote:
> Is there any easy way of generating dummy content for models in Django?  As
> I'm learning how to use Django, I often find myself deleting the sqlite
> database and running syncdb each time (rather than dealing with the issues
> of manual schema migration each time I make a change to my models).  As part
> of this, I'd like to regenerate some dummy content so I can test the various
> views and templates quickly.  It seems pretty straightforward: the
> model.*Fields can give the necessary clues as to the content that can be
> generated.  Before I start writing this, I thought I'd check to see if
> anyone has done something similar.  I tried searching for a similar app, but
> couldn't find anything.
>
> Brad
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to