Permalink
Browse files

Fixed 'IntegrityError' on running 'synchronize_geoobjects_...' tasks.

  • Loading branch information...
1 parent 844df7a commit c40edeff595fff8e81de84d81c8b8a0f843aba09 Alexandr Seleznev committed May 25, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 CHANGES.rst
  2. +1 −1 lizard_area/sync_areas.py
View
@@ -5,7 +5,7 @@ bin/buildoutChangelog of lizard-area
0.6 (unreleased)
----------------
-- Nothing changed yet.
+- Fixed 'IntegrityError' on running 'synchronize_geoobjects_...' tasks
0.5 (2012-05-25)
@@ -91,7 +91,7 @@ def geo_object_group(self, username):
group_name = 'LAYERS'
group_slug = slugify(group_name)
geo_object_group, created = GeoObjectGroup.objects.get_or_create(
- name=group_name, slug=group_slug, created_by=user_obj)
+ name=group_name, slug=group_slug)
if created:
geo_object_group.source_log = 'LAYERS'
geo_object_group.save()

0 comments on commit c40edef

Please sign in to comment.