If you are authenticating at the web server level (eg. HTTP Basic
Auth) then you can use the RemoteUserMiddleware and RemoteUserBackend.

http://docs.djangoproject.com/en/dev/howto/auth-remote-user/

If you aren't, you probably need to duplicate what they're doing
except authenticating against a remote database. I'd look at the code
for the remote user classes if that were the case.

-David

On Mar 9, 1:24 pm, Tim Arnold <[email protected]> wrote:
> Hi,
> I've read about the custom authentication you can do so you can use
> upstream validators for your views. And a snippet that helps do that
> is herehttp://www.djangosnippets.org/snippets/1723/
>
> But will that work for the admin panels? It doesn't look like it to
> me...I have a database of users behind a firewall so I can
> authenticate just fine, but I need nearly all of the users (1000's) to
> be able to add/edit/delete records.
>
> I'd rather not write forms specifically for them since the admin is
> exactly what I need to offer.
>
> Is there a way to authenticate and pass it on to the admin views?
> thanks,
> --Tim

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to