$ manage.py dbshell
 > DROP TABLE table_name;

Django does not currently have a database schema management tool (with  
the exception of syncdb and sql* commands).

Erik


On 17.10.2008, at 15:30, Mirto Silvio Busico wrote:

>
> Hi all,
>
> what is the django way o deleting all table content and resetting the
> primary key counter?
>
> Thanks
>    Mirto
>
> -- 
>
> _________________________________________________________________________
> Busico Mirto Silvio
> Consulente ICT
> cell. 333 4562651
> email [EMAIL PROTECTED]
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to