Opened 13 years ago

Closed 13 years ago

#1471 closed defect (fixed)

[patch] installperms fails for apps without model classes

Reported by: Christopher Lenz <cmlenz@…> Owned by: Adrian Holovaty
Component: Core (Other) Version: magic-removal
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Due to accessing app_models[0] without checking whether the sequence is empty.

Also, a missing linebreak after the error message messes up the display a bit.

Attachments (1)

django_1471.diff (1.6 KB) - added by Christopher Lenz <cmlenz@…> 13 years ago.
Patch that fixes the problem

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by Christopher Lenz <cmlenz@…>

Attachment: django_1471.diff added

Patch that fixes the problem

comment:1 Changed 13 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [2514]) magic-removal: Fixed #1471 -- Changed installperms to work with apps without model classes. Thanks, Christopher Lenz

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