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


Ignore:
Timestamp:
Apr 26, 2011, 7:51:54 AM (14 years ago)
Author:
Thomas Schreiber

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