#4492: SELECT fails for mix-cased column name using postgresql
-----------------------------------------------------+----------------------
Reporter: John Shaffer <[EMAIL PROTECTED]> | Owner: adrian
Status: new | Component:
Database wrapper
Version: SVN | Resolution:
Keywords: postgresql psycopg | Stage:
Unreviewed
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-----------------------------------------------------+----------------------
Comment (by John Shaffer <[EMAIL PROTECTED]>):
To reproduce:
* Create a model with a mixed-case ManyToManyField:
{{{
class Item(models.Model):
relatedItems = models.ManyToManyField('self', blank=True, null=True)
}}}
* Load a fixture:
{{{
- fields:
relatedItems: []
model: product.item
pk: '1'
}}}
* You'll get a backtrace here:
{{{
psycopg2.ProgrammingError: relation "product_item_relateditems" does not
exist
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/4492#comment:3>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---