Opened 19 years ago
Closed 19 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
Note:
See TracTickets
for help on using tickets.
The
installperms
command may or may not be going away -- haven't decided yet.