Skip to content

Commit

Permalink
Merge pull request #5510 from yakky/feature/apphook_config_multisite_32
Browse files Browse the repository at this point in the history
Removed globally unique constraint for Apphook configs
  • Loading branch information
yakky committed Jul 6, 2016
2 parents 78a08f2 + 692e783 commit 7326645
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Deprecates the old-style wizard-related settings
- CMS handles uninstalled apphooks better
- Fix toolbar placement when foundation is installed
- Removed globally unique constraint for Apphook configs.

=== 3.2.5 (2016-04-27) ===

Expand Down
1 change: 1 addition & 0 deletions cms/admin/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ def __init__(self, *args, **kwargs):
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 7326645

Please sign in to comment.