Opened 19 years ago

Closed 19 years ago

#1471 closed defect (fixed)

[patch] manage.py 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

Description

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@…> 19 years ago.
Patch that fixes the problem

Download all attachments as: .zip

Change History (2)

by Christopher Lenz <cmlenz@…>, 19 years ago

Attachment: django_1471.diff added

Patch that fixes the problem

comment:1 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: newclosed

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

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