Check if Django queryset is read or write -


i have route django queryset different db's. easy way know if query set read or write method?

i have found answer: queryset object has property-

queryset._for_write queryset._for_read 

Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -