You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hi,
I made an URL link in an email, if I have logged into the web site, then I can click the link, it would bring to a valid web page. But if I haven't logged log in, to click the link would result an error "page not found". How can I fix it to check if a user has not logged in, it opens a log page to ask the user to log in rather than an error page, after the user loges in, it would redirect to the link URL page?
Thank you.
Kind regards.
Timothy W. Cook
unread,
Nov 24, 2013, 5:16:11 AM11/24/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Check in the docs for the instructions on decorating your views to
restrict to authenticated users. This also talks about redirecting to
a page instructing them to login. Sorry, I don't have the link
available right now.