Capitalized model name causes problem with many to many relation in postgres
|Reported by:||Owned by:||Adrian Holovaty|
|Component:||Database layer (models, ORM)||Version:||master|
|Severity:||Keywords:||m2m capitalization postgres table name|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
In [source:django/trunk/django/db/backends/postgresql/base.py@r5609#L274 postgresql/base.py line 274]
there is an SQL table name problem. Many to many table references with capitalization is not being quoted properly.
This prevented me from loading my fixtures.
Attached is my modified and outdated base.py file, with the fix at line 244.
Hope this helps...