Skip to content

Commit

Permalink
mutiple content page error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Mudiwa Matanda authored and Mudiwa Matanda committed Sep 2, 2024
1 parent eda8608 commit 6ad6864
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions home/tests/import-export-data/test_orderedcontentset.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Name,Profile Fields,Page Slugs,Time,Unit,Before Or After,Contact Field
Test draft content set,"gender:Female, relationship:single",-,-,-,-,-
Stage-based messages Por,"gender:Female, relationship:single",-,-,-,-,-
sample,,home,,,,
Resilience Nurse Eng,gender:female,,"4, 3, 2, 1","months, months, months, months","before, before, before, before","edd, edd, edd, edd"
NEW_OrderContentSet,,-,-,-,-,-
MA_test,,nurse_menu,,,,
1 change: 0 additions & 1 deletion home/wagtail_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@ class AssessmentAdmin(SnippetViewSet):
modeladmin_register(ContentPageAdmin)
register_snippet(AssessmentAdmin)
register_snippet(OrderedContentSetViewSet)
modeladmin_register(ContentPageAdmin)
# Flag for turning on Standalone Whatsapp Templates, still in development
if settings.ENABLE_STANDALONE_WHATSAPP_TEMPLATES:
register_snippet(WhatsAppTemplateAdmin)

0 comments on commit 6ad6864

Please sign in to comment.