DB authentication and user authentication are separate things. Users
authenticate against Django. Full stop. Django accesses the database using
login data you provide on settings.py.

If you're talking about permissions, Django ships with a permission module.
You can define custom permissions on your model's Meta attribute, and you
can check for them in your views, etc. If you want row level permissions,
add a created_by FK to User in your Model's and then check against that when
an object is present.


Cheers,
AT


On Wed, Aug 17, 2011 at 1:27 PM, michael kapelko <[email protected]> wrote:

> Still, how do i make all my models use the connection info logged in
> user provided?
>
> --
> 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.
>
>

-- 
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