Opened 10 years ago

Closed 8 years ago

#1151 closed defect (invalid)

django-admin.py install projectname fails in some queries

Reported by: hipertracker@… Owned by: adrian
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: UI/UX:

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 Changed 8 years ago by Simon G. <dev@…>

  • Resolution set to invalid
  • Status changed from new to closed

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