Changes between Version 1 and Version 2 of Ticket #3011, comment 85


Ignore:
Timestamp:
04/26/11 07:51:54 (4 years ago)
Author:
rizumu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3011, comment 85

    v1 v2  
    11Kronuz: 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.
    22
    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.
     3Your 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{{{
     5getattr(auth_user_module, auth_user_module_parts[0])
     6}}}
    47
    58Importing the '.modules' resolved it:
Back to Top