Hi Derek,
When people log in, what do you want to happen? Do you want them to
reach the admin interface or some other page?
-- Casey
On 02/02/2011 09:35 AM, Derek wrote:
Tom
Restated thusly:
1. I want the "/" to display the login form (and not append 'admin/' to
the visible URL)
2. I want the login form (which I have coded) to work as normal
3. I want the rest of admin to work with the 'admin/' portion (prepended
as normal)
I am not sure how else to describe this... what is not clear?
On 2 February 2011 16:20, Tom Evans <tevans.uk
<http://tevans.uk>@googlemail.com <http://googlemail.com>> wrote:
On Wed, Feb 2, 2011 at 2:12 PM, Derek <gamesb...@gmail.com
<mailto:gamesb...@gmail.com>> wrote:
> Tracey
>
> Thanks - that is a neat idea... but I only need it for that one page.
> I want the rest of the (protected) admin pages to work as normal.
>
> Derek
>
You probably need to re-state your problem, as it is unclear what
result you want to happen. You want the admin at '/admin/', you don't
want to provide your own login view, but also don't want people to log
in at '/admin/' - what do you want?
Your initial workaround fails because it doesn't actually process the
page, it simply renders it, so submitting the form simply re-renders
the initial page.
Cheers
Tom
--
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
<mailto:django-users@googlegroups.com>.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com
<mailto:django-users%2bunsubscr...@googlegroups.com>.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.
--
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.
--
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.