Hi all,

           i have been using modelform in my site,Now i want to do filter 
the 
objects(only today generated) in the particular model(TAG) ,for that 
constraint 
TAGS has to be generated today only, because while retrieving all objects in 
a 
particular many_to_many(TAG) field it is quite slow to process

            As well as in my application flow i need a request object to do 
this, 
from that request i have to filter the site(HTTP_HOST),(ofcourse using two 
sites) 
then for that site only the particular tags has be loaded 

              Here my doubt is 

                     I need to pass the 'request' object to my form(model 
form) 
Is it possible? because, the 'request' object is passing to view from the 
form  
by 
template CORRECT?

             or Is it possibe to pass a object from 'view' to 'form' 
reversely??

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to