Opened 9 years ago

Closed 9 years ago

#1433 closed defect (fixed)

[magic-removal] manage.py installperms fails

Reported by: akaihola Owned by: adrian
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 9 years ago by adrian

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

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

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

Jacob fixed this in [2460].

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