Skip to content

Commit

Permalink
Update to package
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel2392 committed Feb 21, 2024
1 parent 5bcd41e commit 1c14e89
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = wagtail_word
version = 1.0.9
version = 1.1.0
description = Easily upload your word documents to Wagtail as pages
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down
2 changes: 1 addition & 1 deletion wagtail_word.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: wagtail_word
Version: 1.0.8
Version: 1.0.9
Summary: Easily upload your word documents to Wagtail as pages
Home-page: https://github.com/Nigel2392/wagtail_word
Author: Nigel
Expand Down
2 changes: 1 addition & 1 deletion wagtail_word/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def create_default_collection(sender, **kwargs):
if not root:
root = Collection.add_root(name="Root")

c1, _ = Collection.objects.get_or_create(name=COLLECTION_NAME)
c1, _ = Collection.objects.get_or_create(name=COLLECTION_NAME, depth=1)

if not root.get_children().filter(name=COLLECTION_NAME).exists():
root.add_child(instance=c1)
Expand Down

0 comments on commit 1c14e89

Please sign in to comment.