#1375: Escape primary_key values in admin interface
-------------------------------------------------------------+--------------
Reporter: Malcolm Tredinnick <[EMAIL PROTECTED]> | Owner:
nobody
Status: reopened |
Component: Admin interface
Version: |
Resolution:
Keywords: |
Stage: Accepted
Has_patch: 1 |
Needs_docs: 0
Needs_tests: 1 |
Needs_better_patch: 1
-------------------------------------------------------------+--------------
Changes (by anonymous):
* needs_better_patch: 0 => 1
Comment:
It seems using '_' in primary keys still does not work. I have primary
key: NC_000023.9 and this appears correctly in URL (though I thought it
was to be quoted), however I get the following error from admin:
sequencerecord object with primary key u'NC\x000023.9' does not exist. It
looks like its the fault of the unquote method but I am not familiar
enough with the internals of django to be sure.
--
Ticket URL: <http://code.djangoproject.com/ticket/1375#comment:14>
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
-~----------~----~----~----~------~----~------~--~---