Opened 9 years ago

Closed 9 years ago

#1471 closed defect (fixed)

[patch] manage.py installperms fails for apps without model classes

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

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

Download all attachments as: .zip

Change History (2)

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

Patch that fixes the problem

comment:1 Changed 9 years ago by adrian

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

(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