Opened 19 years ago

Closed 17 years ago

#1151 closed defect (invalid)

django-admin.py install projectname fails in some queries

Reported by: hipertracker@… Owned by: Adrian Holovaty
Component: contrib.admin Version: 0.90
Severity: major Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

e.g. INSERT INTO auth_permissions (name, package, codename) VALUES (...) fails when name is longer than 50 characters.

In INSERT INTO content_types (name, package, python_module_name) VALUES(...) value of field name is not escaped! The query fails if name contain an apostrophe.

Change History (1)

comment:1 by Simon G. <dev@…>, 17 years ago

Resolution: invalid
Status: newclosed

Marking as invalid due to the age of this ticket and as I think the first issue has been fixed, whilst the second one, well, field names should not have apostrophes in them anyway.

Note: See TracTickets for help on using tickets.
Back to Top