Ok, so i've testing my app, everything was ok, when suddenly postgres
started to throw errors (in log) like this:
INSERT INTO "auth_permission" ("name", "content_type_id", "codename")
VALUES (E'Can add item_
deferred_added_by_id_date_added_date_updated_item_type_prefix_raw_title_search_data_slug_subtitle_title',
17,
E'add_item_deferred_added_by_id_date_added_date_updated_item_type_prefix_raw_title_search_data_slug_subtitle_title')
I don't know why django thinks i have a model with such name. I have
model Item with fields added_by, date_added and so on from that INSERT
line.
Right now i can't 100% reproduce it in some small test, i have 6
TestCase and 2 TransactionTestCase in a file. Strange thing is when i
remove some of tests it works and then i try to single out one of them
- it works fine again. And if leave everything - it fails.
Also tested on mysql with myisam and innodb - same thing. Django 1.1.
Should i file a bugreport?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---