On Sat, Feb 5, 2011 at 6:01 AM, Ken Chida <ken.ch...@gmail.com> wrote:
> Hey - Thanks for replying.  So I'm thinking that the method that I
> originally described would amount to only a few lines of code.  A decorator
> would look nicer, but i'd have to remember to add it for future views, which
> is kinda annoying.  Also, I wouldn't have a login URL because all pages will
> have it available.

The form has to POST to some URL. Preferably one that's, you know,
wired up to the login view in django.contrib.auth.

So you don't need to write code to handle logging someone in. You just
need to spit out some HTML. This is a templating issue, and the
template system gives you options to do it quite easily.


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to