Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • Is your app name is 'app'? Commented May 5, 2013 at 18:38
  • First of all, don't panic, we'll solve this. :) When do you see the error? Does the error go away if you disable admin? Have you tried debugging in step by step mode? Commented May 5, 2013 at 20:21
  • @Ivan Ok, that's great to hear :) The error occurs after entering the user credentials on the /admin and pressing "log on". I would expect the error to go away if I turn off admin, Do not have the chance to test right now, But pages not relating to admin works fine. Commented May 5, 2013 at 21:15
  • @Rohan No, I changed the code sligtly when posting for anonymity purposes, might be a bit paranoid, but anyway. Commented May 5, 2013 at 21:17
  • I think we can narrow the problem down to your MyUserAdmin form. When you've submitted the question, your AUTH_USER_MODEL was declared correctly. Have you tried this fix? Commented May 6, 2013 at 9:26