Hello..

Each model of my app, has a field named  user... so, I need to filter any
query on that model user=current_user...

I already do that, but manually for each model, on a view.. and I like to
do that directly on some where when I try to use a query, any record will
be filtered.....


Can I do that? where is the best place to do that?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAF1jwZFc_dSyWQSDXJ-qaRgCvzoPYwK%2BRowd91aGCj8rnEnu1w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to