On 9/10/07, MikeHowarth <[EMAIL PROTECTED]> wrote: > > Hi guys > > Was wondering if anyone knew of any bugs within the user > authentication system associated to setting the backend attribute?
Not that I'm aware of - and certainly not with the default authentication backend. > Basically looking at the traceback the user object expects a attribute > 'backend' to be set within however this doesn not seem to be set. My guess here would be to check that the user object that is produced in the clean method by the authentication is the same object that is used in the login method. The code you defines the user as a class attribute, not an instance attribute, but you are using it as an instance attribute in the login method. Depending on how you are instantiating and using this form, you may be getting some wierd behaviour. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---