Searched refs:db_field (Results 1 – 1 of 1) sorted by relevance
15 def formfield_for_dbfield(self, db_field, **kwargs): argument16 field = super(SiteAdmin, self).formfield_for_dbfield(db_field, **kwargs)17 if (db_field.rel and18 issubclass(db_field.rel.to, model_logic.ModelWithInvalid)):19 model = db_field.rel.to