Skip to content

Commit

Permalink
Fixed code example in docs/howto/custom-lookups.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
vytisb authored and timgraham committed May 6, 2016
1 parent 3b38308 commit b3acf35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/howto/custom-lookups.txt
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ would override ``get_lookup`` with something like::
dimension = int(lookup_name[1:])
except ValueError:
pass
finally:
else:
return get_coordinate_lookup(dimension)
return super(CoordinatesField, self).get_lookup(lookup_name)

Expand Down

0 comments on commit b3acf35

Please sign in to comment.