Re: AttributeError When Overwritting AUTH_USER_MODEL in Test Cases

2017-10-19 Thread sarfaraz ahmed
I am getting similar issue. No reply on your question. Please share the solution if you found On Monday, 8 February 2016 19:50:07 UTC+5:30, Aubrey Stark-Toller wrote: > > Hello, > > When I override the AUTH_USER_MODEL setting to "auth.User", when > AUTH_USER_MODEL in settings is not set to "a

AttributeError When Overwritting AUTH_USER_MODEL in Test Cases

2016-02-08 Thread Aubrey Stark-Toller
Hello, When I override the AUTH_USER_MODEL setting to "auth.User", when AUTH_USER_MODEL in settings is not set to "auth.User", in either a TestCase or individual test, and then try to access the objects attribute on the user model, I get an AttributeError. The exact error I get is: AttributeEr