for i in grocery:
if i.store_type=="Alcohol" or "Both":(1)
if i.store_type=="Alcohol" or i.store_type=="Both":(2)

can anyone tell me the diffrence between two statements,I am getting two 
diffrent results

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3d26d63e-e725-4074-bbd1-db05e87e402an%40googlegroups.com.

Reply via email to