Skip to content

Commit

Permalink
added final fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PirosB3 committed Jul 2, 2014
1 parent 27ceb3f commit 1c3fbce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/db/models/options.py
Expand Up @@ -548,7 +548,7 @@ def get_all_field_names(self):
debugging output (a list of choices), so any internal-only field names
are not included.
"""
return [val for val in self._get_field_map().keys() if not val.endswith('+')]
return [val for val in self.field_map.keys() if not val.endswith('+')]

#fields = filter(lambda val: not val.endswith('+'), get_fields(m2m=RECURSIVE))
#try:
Expand Down

0 comments on commit 1c3fbce

Please sign in to comment.