MCPcopy
hub / github.com/django/django / get_deferred_fields

Method get_deferred_fields

django/db/models/base.py:717–725  ·  view source on GitHub ↗

Return a set containing names of deferred fields for this instance.

(self)

Source from the content-addressed store, hash-verified

715 )
716
717 def get_deferred_fields(self):
718 """
719 Return a set containing names of deferred fields for this instance.
720 """
721 return {
722 f.attname
723 for f in self._meta.concrete_fields
724 if f.attname not in self.__dict__
725 }
726
727 def refresh_from_db(self, using=None, fields=None, from_queryset=None):
728 """

Callers 6

refresh_from_dbMethod · 0.95
get_objectMethod · 0.80
assert_delayedMethod · 0.80
refresh_from_dbMethod · 0.80

Calls

no outgoing calls