Saturday, April 2, 2011

Re: Hi, I'm trying to reset my db (using multiple dbs) but flush and reset don't seem to drop the tables.

well, I ended up doing a sqlreset and dbshell and pasting it in there.
That worked but it seemed like maybe a bug so I posted it. Cheers!

On Apr 2, 5:21 pm, jd <kkswi...@gmail.com> wrote:
> I've tried
>
> >python manage.py flush    --database 'retail'
>
> ...and then changed the model a little.
>
> syncdb gives no output about table creation afterwards, and objects
> that were in the db remain after the flush.
>
> also tried ...
>
> >python manage.py reset  retail_store  --database 'retail'
>
> same thing.
>
> Posgresql 8.3
>  psycopg2
> ubuntu 8.4
> django 1.3 dev
>
> any ideas? TIA

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment