I am struggling with the builtin authentication interface. I have
initialized the tables and entered some data in the authentication
tables. I have a couple of questions though,

(A) I want to use django.views.auth.login.login. I have entered this in
the url patterns. The implementation of this searches for the template
registration/login. I can create this template in the location in which
it is found by django - but how do I make this template different for
each app?

(B) There is a comment in the AuthenticationForm class:

"Base class for authenticating users. Extend this to get a form that
accepts username/password logins."

I want to list all the users - I want to use slightly different fields
here. How am I to extend this? I mean where do I have to put this
class? I mean I would like to use django.views.auth.login.login - with
my own manipulator (derived from AuthenticationForm) - I guess there is
no other way besides defining my own view? But then, it would be very
much the same as django.views.auth.login.login - except
AuthenticationForm becomes MyAuthenticationForm...

TIA,
jbar

Reply via email to