Opened 19 years ago
Closed 19 years ago
#1471 closed defect (fixed)
[patch] manage.py installperms fails for apps without model classes
Reported by: | 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)
Change History (2)
by , 19 years ago
Attachment: | django_1471.diff added |
---|
comment:1 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch that fixes the problem