Skip to content

Instantly share code, notes, and snippets.

@PirosB3
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PirosB3/9686560 to your computer and use it in GitHub Desktop.
Save PirosB3/9686560 to your computer and use it in GitHub Desktop.
def many_to_many(self):
def get_m2m_with_model(self):
def get_field(self, name, many_to_many=True):
def get_field_by_name(self, name):
def get_all_field_names(self):
def get_all_related_objects(self, local_only=False, include_hidden=False,
def get_all_related_objects_with_model(self, local_only=False, ..)
def get_all_related_many_to_many_objects(self, local_only=False):
def get_all_related_m2m_objects_with_model(self):
def concrete_fields(self):
def local_concrete_fields(self):
def get_fields_with_model(self):
def get_concrete_fields_with_model(self):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment