I'm a total newbie to django. I have to test some of ui models. When I
run manage.py test; Django complains as follows:
File "build/bdist.linux-x86_64/egg/MySQLdb/connections.py", line 35,
in defaulterrorhandler
_mysql_exceptions.OperationalError: (1059, "Identifier name
'xxxxxxxxxxxxx_id_refs_xxxxxxxxxxx_item_display_id_45c0d1896de52687'
is too long")

1. I got a sqldump using manage.py sqlall app > app.sql
2.dropped the database and recreated it. Also deleted all references
to "xxxx" from admin.py and removed the file from models
directory.deleted other references too.
3.Now edited all tables referring to "xxxxxx" ...(I just want this
work once!)
4.sourced the saved sql file back to the database.
5.when i reran the tests, It still complains about the "xxxxx" issue.

I even verified the settings file.

I am so totally confused. How's django creating the tables that were
deleted from the database, models,admin etc. defnitely there's some
settings issue. What am doing wrong. Can someone pls point me in the
right direction?

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

Reply via email to