Changes between Version 1 and Version 2 of Ticket #3011, comment 85
- Timestamp:
- Apr 26, 2011, 7:51:54 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3011, comment 85
v1 v2 1 1 Kronuz: I too ran into this. Kept hitting the error, cannot import name 'actions' in the admin whenever running createsuperuser, or custom mgmnt commands that relied on User. 2 2 3 Your patch resolved this issue for me, but I had to change one line. Specifically the getattr(auth_user_module, auth_user_module_parts[0]) was failing because the attribute couldn't be found. 3 Your patch resolved this issue for me, but I had to change one line. Specifically, this was failing because the attribute couldn't be found. 4 {{{ 5 getattr(auth_user_module, auth_user_module_parts[0]) 6 }}} 4 7 5 8 Importing the '.modules' resolved it: