Skip to content

Commit

Permalink
Removed globally unique constraint for Apphook configs
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Jul 5, 2016
1 parent 6aee5b5 commit 5ae5a1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Expand Up @@ -36,6 +36,7 @@
block.
* Fixed an issue when plugin that is aliased on the same page couldn't be
operated upon in the structure mode.
* Removed globally unique constraint for Apphook configs.


=== 3.3.0 (2016-05-26) ===
Expand Down
1 change: 1 addition & 0 deletions cms/admin/forms.py
Expand Up @@ -295,6 +295,7 @@ def get_navigation_extenders(self):
def _check_unique_namespace_instance(self, namespace):
return Page.objects.filter(
publisher_is_draft=True,
site_id=self.instance.site_id,
application_namespace=namespace
).exclude(pk=self.instance.pk).exists()

Expand Down

0 comments on commit 5ae5a1a

Please sign in to comment.