[patch] authentication framework should work with new style classes as backend.
|Reported by:||Owned by:||Adrian Holovaty|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The new Authentication Framework uses str() on the class to get the path of the module:
user.backend = str(backend.__class__)
First, this does absolutely not work with new style classes as backend, since there str() is different. Second, it's hackish anyway.
I set severity to major since new style classes are pretty normal, the error messages are misleading and pretty hard to debug--took me one full work day.
Change History (4)
comment:1 Changed 11 years ago by
|Summary:||authentication framework should work with new style classes as backend. → [patch] authentication framework should work with new style classes as backend.|