Skip to content

Commit

Permalink
Fixes PostGIS model registration (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
sklarsa authored Feb 27, 2020
1 parent f410f56 commit cad6b5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model_bakery/generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def get_type_mapping():

mapping = default_mapping.copy()
mapping[ContentType] = random_gen.gen_content_type
default_mapping.update(default_gis_mapping)
mapping.update(default_gis_mapping)

return mapping.copy()

Expand Down

0 comments on commit cad6b5c

Please sign in to comment.