Tuesday, June 5, 2012

Re: . delete() don't work

Did you do a python manage.py syncdb?

Are you using sqlite and have relative paths?

On 5 June 2012 14:37, Lucas Aride Moulin <aride.moulin@gmail.com> wrote:

When I use example.objects.all().delete() I get an error that the table example_delete wasn't found on the DB. Any ideas of what am I doing wrong?
Thanks,

--
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.

--
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