How is `exact` lookup different from `equal` lookup in Django -


how exact lookup diffferent equal lookup in django

i have 2 queries

blog.objects.get(title=title)  blog.objects.get(title__exact=title) 

what difference between these two?

there no difference, first 1 same second one.

look @ documentation:

blog.objects.get(id__exact=14)  # explicit form blog.objects.get(id=14)         # __exact implied 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -