diff --git a/README.md b/README.md index 1c6b2da2..d3795dda 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This content repository allows easy content management via a headless CMS, using ## Features -- **Multi-channel support:** Currently supports Web, WhatsApp, Messenger, and Viber. +- **Multi-channel support:** Currently supports Web, WhatsApp,Messenger,Viber, SMS and USSD. - **Ordered content sets:** You can take individual pieces of content and group them in a set, in a specific order. They can also be restricted to users with specific profile field values. - **Stage based messaging:** Ordered content sets can be expanded to include a relative time (eg. 23 days before x), to create a timing-based push-message journey. - **Import and export:** Content and ordered content sets can be exported and imported in CSV and Excel formats diff --git a/home/migrations/0042_alter_contentpage_sms_title_alter_pageview_platform.py b/home/migrations/0042_alter_contentpage_sms_title_alter_pageview_platform.py deleted file mode 100644 index 570aeed9..00000000 --- a/home/migrations/0042_alter_contentpage_sms_title_alter_pageview_platform.py +++ /dev/null @@ -1,35 +0,0 @@ -# Generated by Django 4.1.11 on 2024-01-16 09:25 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - dependencies = [ - ("home", "0041_contentpage_enable_sms_contentpage_sms_body_and_more"), - ] - - operations = [ - migrations.AlterField( - model_name="contentpage", - name="sms_title", - field=models.CharField(blank=True, default="", max_length=200), - preserve_default=False, - ), - migrations.AlterField( - model_name="pageview", - name="platform", - field=models.CharField( - blank=True, - choices=[ - ("WHATSAPP", "whatsapp"), - ("SMS", "sms"), - ("VIBER", "viber"), - ("MESSENGER", "messenger"), - ("WEB", "web"), - ], - default="web", - max_length=20, - null=True, - ), - ), - ] diff --git a/home/migrations/0042_merge_20240122_0910.py b/home/migrations/0042_merge_20240122_0910.py new file mode 100644 index 00000000..d30c113e --- /dev/null +++ b/home/migrations/0042_merge_20240122_0910.py @@ -0,0 +1,12 @@ +# Generated by Django 4.1.11 on 2024-01-22 09:10 + +from django.db import migrations + + +class Migration(migrations.Migration): + dependencies = [ + ("home", "0041_contentpage_enable_sms_contentpage_sms_body_and_more"), + ("home", "0041_contentpage_whatsapp_template_lower_case_name"), + ] + + operations = [] diff --git a/home/migrations/0043_contentpage_enable_ussd_contentpage_ussd_body_and_more.py b/home/migrations/0043_contentpage_enable_ussd_contentpage_ussd_body_and_more.py index 85d88a19..8df20db9 100644 --- a/home/migrations/0043_contentpage_enable_ussd_contentpage_ussd_body_and_more.py +++ b/home/migrations/0043_contentpage_enable_ussd_contentpage_ussd_body_and_more.py @@ -1,4 +1,4 @@ -# Generated by Django 4.1.11 on 2024-01-16 18:14 +# Generated by Django 4.1.11 on 2024-01-22 09:12 import django.core.validators import wagtail.blocks @@ -8,7 +8,7 @@ class Migration(migrations.Migration): dependencies = [ - ("home", "0042_alter_contentpage_sms_title_alter_pageview_platform"), + ("home", "0042_merge_20240122_0910"), ] operations = [ @@ -63,6 +63,12 @@ class Migration(migrations.Migration): help_text="When enabled, the API will include the SMS content", ), ), + migrations.AlterField( + model_name="contentpage", + name="sms_title", + field=models.CharField(blank=True, default="", max_length=200), + preserve_default=False, + ), migrations.AlterField( model_name="pageview", name="platform",