Simple django setup, when I try to reset contenttypes app, just after doing
a syncdb..

python manage.py reset contenttypes

You have requested a database reset.
This will IRREVERSIBLY DESTROY any data for
the "contenttypes" application in the database "my_test".
Are you sure you want to do this?

Type 'yes' to continue, or 'no' to cancel: yes
Error: Error: contenttypes couldn't be reset. Possible reasons:
  * The database isn't running or isn't configured correctly.
  * At least one of the database tables doesn't exist.
  * The SQL was invalid.
Hint: Look at the output of 'django-admin.py sqlreset contenttypes'. That's
the SQL this command wasn't able to run.
The full error: (1217, 'Cannot delete or update a parent row: a foreign key
constraint fails')

Using django 1.2.5.


Any ideas?

Regards,

David

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

Reply via email to