def formfield_for_dbfield(self, db_field, **kwargs): fields = [ 'date_start', 'date_end', 'in_timeunit', ] return formfield_for_dbfield_cached(self, db_field, fields, **kwargs)
def formfield_for_dbfield(self, db_field, **kwargs): fields = [ 'main_image', 'audio_set', 'location_type', ] return formfield_for_dbfield_cached(self, db_field, fields, **kwargs)
def formfield_for_dbfield(self, db_field, **kwargs): fields = [ 'date_start', 'date_end', 'in_timeunit', 'known_directly', 'known_indirectly', 'locations', 'plot_threads', # To allow for filtering in GameEventAdminForm 'picture_sets', 'audio', 'debates', ] return formfield_for_dbfield_cached(self, db_field, fields, **kwargs)
def formfield_for_dbfield(self, db_field, **kwargs): fields = [ 'main_audio', ] return formfield_for_dbfield_cached(self, db_field, fields, **kwargs)
def formfield_for_dbfield(self, db_field, **kwargs): fields = [ 'default_img', ] return formfield_for_dbfield_cached(self, db_field, fields, **kwargs)
def formfield_for_dbfield(self, db_field, **kwargs): fields = [ 'thread', 'author', ] return formfield_for_dbfield_cached(self, db_field, fields, **kwargs)
def formfield_for_dbfield(self, db_field, **kwargs): fields = [ 'topic', ] return formfield_for_dbfield_cached(self, db_field, fields, **kwargs)
def formfield_for_dbfield(self, db_field, **kwargs): fields = [ 'name_group', ] return formfield_for_dbfield_cached(self, db_field, fields, **kwargs)
def formfield_for_dbfield(self, db_field, **kwargs): fields = [ 'affix_group', 'auxiliary_group', ] return formfield_for_dbfield_cached(self, db_field, fields, **kwargs)
def formfield_for_dbfield(self, db_field, **kwargs): fields = [ 'first_name', 'family_name', ] return formfield_for_dbfield_cached(self, db_field, fields, **kwargs)
def formfield_for_dbfield(self, db_field, **kwargs): fields = [ 'location', ] return formfield_for_dbfield_cached(self, db_field, fields, **kwargs)
def formfield_for_dbfield(self, db_field, **kwargs): fields = [ 'audio', # Tested that here only audio optimizes queries ] return formfield_for_dbfield_cached(self, db_field, fields, **kwargs)
def formfield_for_dbfield(self, db_field, **kwargs): fields = [ 'allowed_profiles', 'pictures', ] return formfield_for_dbfield_cached(self, db_field, fields, **kwargs)