This is an automated email from the ASF dual-hosted git repository. machristie pushed a commit to branch AIRAVATA-3698--Add-support-for-Python-3.11 in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
commit 28f1d838456ef0c3dfd227b350fc6a5b9c5a049d Author: Marcus Christie <[email protected]> AuthorDate: Tue May 30 14:34:41 2023 -0400 AIRAVATA-3698 Upgrade to Wagtail 3.0, WAGTAILADMIN_BASE_URL setting added --- django_airavata/settings.py | 1 + django_airavata/settings_local.py.sample | 1 + requirements.txt | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/django_airavata/settings.py b/django_airavata/settings.py index a2cf382a..3cb5c81e 100644 --- a/django_airavata/settings.py +++ b/django_airavata/settings.py @@ -238,6 +238,7 @@ EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' # Wagtail related stuff WAGTAIL_SITE_NAME = 'Django Airavata Portal' +WAGTAILADMIN_BASE_URL = 'http://localhost:8000' WAGTAILIMAGES_JPEG_QUALITY = 100 diff --git a/django_airavata/settings_local.py.sample b/django_airavata/settings_local.py.sample index c5e9cb80..3833f580 100644 --- a/django_airavata/settings_local.py.sample +++ b/django_airavata/settings_local.py.sample @@ -16,6 +16,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # DEBUG = False # STATIC_ROOT = "/var/www/path/to/sitename/static/" # ALLOWED_HOSTS = ['production.hostname'] +# WAGTAILADMIN_BASE_URL = 'https://production.hostname' # Django - database settings # MySQL - to use MySQL, uncomment and specify the settings diff --git a/requirements.txt b/requirements.txt index 2dfbf658..819a22d2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,7 +9,7 @@ django-webpack-loader==0.6.0 logging-formatter-anticrlf==1.2 zipstream-new==1.1.8 -wagtail==2.13.4 +wagtail>=3.0,<3.1 wagtailfontawesome==1.2.1 wagtail-draftail-anchors==0.2.0 wagtailcodeblock==1.17.1.0
