Opened 18 years ago

Closed 18 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: no UI/UX: no

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 by Adrian Holovaty, 18 years ago

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

comment:2 by Malcolm Tredinnick <malcolm@…>, 18 years ago

Resolution: fixed
Status: newclosed

Jacob fixed this in [2460].

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