On 12/13/06, Sandro Dentella <[EMAIL PROTECTED]> wrote:
>
>
> I'm developing an application in which different users should see different
> data, I'd like to enforce this in the db rather that in the application. How
> can I bypass the username/pass in settings.py with username/pass provided by
> the user? Is that any possible?

I don't see any way Django does (or could) support this, but you could
hack yours.  :-/

http://code.djangoproject.com/browser/django/trunk/django/db/__init__.py#L30

> Are there functions to connect as a different user?

No, sorry.

--~--~---------~--~----~------------~-------~--~----~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to