Opened 11 years ago

Closed 11 years ago

#1433 closed defect (fixed)

[magic-removal] manage.py installperms fails

Reported by: Antti Kaihola Owned by: Adrian Holovaty
Component: Core (Management commands) Version: magic-removal
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

management.py installperms tries to import Package from contenttypes:

$ ./manage.py installperms myapp
Traceback (most recent call last):
  File "manage.py", line 5, in ?
    management.execute_from_command_line()
  File "django/core/management.py", line 1236, in execute_from_command_line
    output = action_mapping[action](mod)
  File "django/core/management.py", line 582, in installperms
    from django.contrib.contenttypes.models import Package
ImportError: cannot import name Package

Change History (2)

comment:1 Changed 11 years ago by Adrian Holovaty

The installperms command may or may not be going away -- haven't decided yet.

comment:2 Changed 11 years ago by Malcolm Tredinnick <malcolm@…>

Resolution: fixed
Status: newclosed

Jacob fixed this in [2460].

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