Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get the project working with Wagtail 4.1+ #489

Open
wants to merge 49 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
7e9c62d
Only python 38 + 39
nickmoreton Aug 27, 2024
4210a56
No python 3.7 support
nickmoreton Aug 27, 2024
6b293b2
Add support for Django 3.0
nickmoreton Aug 27, 2024
cb22d20
Use built-in StringIO instead of django.utils.six.StringIO
nickmoreton Aug 27, 2024
3dbf15d
Limit of python versions to 3.8 for Wagtail 2.11
nickmoreton Aug 27, 2024
ba401d9
Allow testing with Django 3.2
nickmoreton Aug 27, 2024
70e30a6
Test wagtail 2.14 and Django 3.2
nickmoreton Aug 27, 2024
58bcd4c
Add DEFAULT_AUTO_FIELD to test settings
nickmoreton Aug 27, 2024
672f1e9
Allow py310-dj32-wt215 and py310-dj32-wt216
nickmoreton Aug 27, 2024
950d417
Test django 4.0
nickmoreton Aug 27, 2024
ef92497
Actions for python 3.10
nickmoreton Aug 27, 2024
19f17a5
Update force_text to force_str
nickmoreton Aug 27, 2024
781bb21
This may just work if not stop here
nickmoreton Aug 27, 2024
a9fbcef
Change ugettext to gettext
nickmoreton Aug 27, 2024
c53f63a
Change the import of `url` from `django.conf.urls` to `django.urls` i…
nickmoreton Aug 27, 2024
b92611b
Allow wagtail 3.0 in testing
nickmoreton Aug 28, 2024
ad56496
Allow testing against Wagtail 4.0
nickmoreton Aug 28, 2024
86f344b
Allow testing with Django 4.1 and Wagtail 4.1
nickmoreton Aug 28, 2024
2146531
Allow testing django 41 with wagtail 40,41,42
nickmoreton Aug 28, 2024
c95d4fc
No longer test against Wagtail < 3.0, Django < 3.2, or Python < 3.8
nickmoreton Aug 28, 2024
36b6531
Update wagtail.core imports thats changed at Wagtail 3.0
nickmoreton Aug 28, 2024
d7b8e88
Add python version to matrix for complete testing coverage
nickmoreton Aug 28, 2024
94e9c54
Min pythonn version is now 3.8
nickmoreton Aug 28, 2024
b86ba45
Limit install to Django 3.2+ and Wagtail 3.0+
nickmoreton Aug 28, 2024
88348d3
Min python 3.9
nickmoreton Aug 29, 2024
ae4f3f4
Min python 3.9 and introduce Django 4.2 and Wagtail 5.0
nickmoreton Aug 29, 2024
bc838ab
Drop python 3.8
nickmoreton Aug 29, 2024
9a37707
wagtail.core is now wagtail
nickmoreton Aug 29, 2024
326bb15
Update contrib settings to use BaseSiteSetting
nickmoreton Aug 29, 2024
a31894a
Test up to wagtail 5.1
nickmoreton Aug 29, 2024
379ffc0
Test wagtail 5.2 compatibility
nickmoreton Aug 29, 2024
51fa2bd
Remove commented old versions no longer supported by the project.
nickmoreton Aug 29, 2024
9b81379
Update to use re_path instead of url
nickmoreton Aug 29, 2024
48453fe
Ignore my_project directory for testing longclaw start my_project
nickmoreton Aug 30, 2024
10fdac4
Add new migration for polymorphic_ctype field
nickmoreton Aug 30, 2024
c153787
ImageChooserPanel is no longer required.
nickmoreton Aug 30, 2024
26caafd
Update settings in project_template
nickmoreton Aug 30, 2024
07a44fa
Update urls import in project template
nickmoreton Aug 30, 2024
5d513a7
Add missing migrations in the project_template
nickmoreton Aug 30, 2024
983b712
Use template_name instead of template in wagtail_hooks
nickmoreton Aug 30, 2024
f79bfab
Remove conditional imports
nickmoreton Aug 30, 2024
b51892d
Documentation updates
nickmoreton Aug 30, 2024
04b1b99
Update CHANGELOG.rst
nickmoreton Aug 30, 2024
e8ea2cb
A temporary fix for a failing test, fix later
nickmoreton Aug 27, 2024
3ce1443
Fixes site summary and stats panel
nickmoreton Sep 1, 2024
c15b737
Update CHANGELOG.rst to reflect fixing the dashboard panels
nickmoreton Sep 1, 2024
44fae54
Lock node dependencies for now
nickmoreton Sep 3, 2024
f79d7a7
Fixes the api url to be at the root of the domain
nickmoreton Sep 3, 2024
118bce8
Add extra info to CHANGELOG
nickmoreton Sep 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update settings in project_template
nickmoreton committed Aug 30, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 26caafd8561f46953845aac00ac9194d097744ac
4 changes: 3 additions & 1 deletion longclaw/project_template/project_name/settings/base.py
Original file line number Diff line number Diff line change
@@ -141,7 +141,9 @@

# Base URL to use when referring to full URLs within the Wagtail admin backend -
# e.g. in notification emails. Don't include '/admin' or a trailing slash
BASE_URL = 'http://example.com'
WAGTAILADMIN_BASE_URL = 'http://example.com'

DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'

# Longclaw settings