Doing something the wrong way you're comfortable with instead of
making yourself better at your job is really, really. bad. Just FYI. I
definitely wouldn't hire someone who cares that little about not doing
a horrible job that someone else is going to have to deal with in the
future.
You could also handle your original request in middleware. Technically
you could do it in a template by using the template language to write
JavaScript that would redirect, but that's still bad. The easiest way
is probably in the login view itself -- check if the request.user
either is_authenticated or is_anonymous and redirect as appropriate.
Shawn
Glad I could help.
Shawn