Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Oct. 31, 2005 17:49:38

Grigory F.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Auth questions of newbie


Hello, django-users!

I have some general questions about auth of django. Sorry if my
questions would seeming stupid.

I'd like to do site authentication w/ sessions for users, some page of
site (like add some objects, etc.) must be accessible _only_ for
register users.

If it possible, can somebody explain what way to do this I must choose
w/ examples?

1. How to commit sessions across all pages, and if need return user_id
for fields like this "author = meta.ForeignKey(auth.User)"?

2. How to integrate users table w/ another programs (phpbb) that use db
backend for authentication?

Thanks a lot for helping!

--
Всего наилучшего!
greg anastasia ru Григорий.

Offline

#2 Nov. 2, 2005 14:34:47

Grigory F.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Auth questions of newbie


Hello Grigory Fateyev!
On Mon, 31 Oct 2005 20:49:57 +0300 you wrote:

>
> Hello, django-users!
>
> I have some general questions about auth of django. Sorry if my
> questions would seeming stupid.
>
> I'd like to do site authentication w/ sessions for users, some page of
> site (like add some objects, etc.) must be accessible _only_ for
> register users.
>
> If it possible, can somebody explain what way to do this I must choose
> w/ examples?
>
> 1. How to commit sessions across all pages, and if need return user_id
> for fields like this "author = meta.ForeignKey(auth.User)"?
>
> 2. How to integrate users table w/ another programs (phpbb) that use
> db backend for authentication?
>
> Thanks a lot for helping!
>
Please, give me an example of authantication?

--

Offline

Board footer

Moderator control

Enjoy the 18th of November
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support