Matt Westcott
676f211c0c
Fix explanation of .env and local.py
...
As of d7a607a26e
both local.py and .env are initially empty, as the bakerydemo.settings.dev module is directly usable as DJANGO_SETTINGS_MODULE. Update the explanation in readme.md to reflect this.
2024-06-13 12:05:20 +02:00
Matt Westcott
2ba19b0203
Comment out django_debug_toolbar settings from dev settings
...
The current version (4.4.2) of django-debug-toolbar aborts when running ./manage.py test with the toolbar enabled. While bakerydemo doesn't have any tests, .github/workflows/docker.yml runs this anyway, presumably as a sort of sanity check, and thus we need to properly disable django-debug-toolbar rather than just leaving it inactive via INTERNAL_IPS.
(The `__debug__` route is still defined in bakerydemo.urls, but this seems to be harmless.)
2024-06-12 14:01:03 +02:00
Thibaud Colas
cd572f58a8
Reformat bakerydemo/base/models.py
2024-05-30 12:08:06 +01:00
Thibaud Colas
7cbb0ec053
Add code comment
2024-05-17 13:18:27 +01:00
Sage Abdullah
f7ab88b40f
Fix verbose name of user-facing models
2024-05-17 13:18:27 +01:00
Sage Abdullah
febc32b7d6
Add UserApprovalTask
...
Based on https://docs.wagtail.org/en/stable/extending/custom_tasks.html
2024-05-17 13:18:27 +01:00
Sage Abdullah
5d00e7111a
Enable inspect view for CountryModelViewSet
2024-05-17 13:18:27 +01:00
Sage Abdullah
7368667f96
Register Country model with a ModelViewSet
...
This serves as an example of how ModelViewSet can be mixed with snippets
in a SnippetViewSetGroup
2024-05-17 13:18:27 +01:00
Sage Abdullah
8295c442a5
Add more filters to snippet viewsets
2024-05-17 13:18:27 +01:00
Sage Abdullah
dbdb9b4abf
Add German and Arabic locale fixtures
2024-05-17 13:18:27 +01:00
Storm B. Heg
afc8cf42a2
Bump to Wagtail 6.1
2024-05-02 06:42:33 +10:00
Timothy Elems
dc5639c663
Use bash highlighting for code blocks and add note about 'cp' command ( #482 )
...
Fixes #390
2024-04-29 15:39:30 +01:00
Rohit Sharma
baff48b7d9
Add icons to registered settings ( #484 )
...
* Add icons to registered settings
2024-04-14 18:20:51 +10:00
Matt Westcott
1d9247f0f5
Downgrade to Django 4.2 - django-basic-auth-ip-whitelist isn't compatible with 5.0 yet
2024-02-09 11:36:00 +00:00
Matt Westcott
53f6593adf
Upgrade to Wagtail 6.0, Django 5.0
2024-02-09 10:55:49 +00:00
Sage Abdullah
549400c645
Add GenericRelation to revisions and workflow states
2024-02-06 19:48:27 +00:00
Rachel Smith
edd2410b42
Replace image tags with picture tags
...
- Uses Wagtail 5.2 picture tags https://docs.wagtail.org/en/latest/releases/5.2.html#responsive-multi-format-images-with-the-picture-tag
- Each image now has three renditions for avif, webp and jpeg formats
- Some images now have two sizes on top of this (6 renditions in total) for different screen sizes
2024-02-01 08:01:53 +10:00
Rachel Smith
e56d12f8b2
Remove /templates/base/include/header.html as it's unused
2024-02-01 08:01:53 +10:00
Andrei Satsevich
a171a4baa2
Fix abbreviations on weekday names
...
Fixes #298
2024-02-01 08:00:08 +10:00
Meagen Voss
6f41aef056
Merging pull request #476 from thibaudcolas/accessibility-landmarks-fixes
...
Adding these fixes to clear the errors being flagged by the accessibility checker.
2024-01-31 16:37:17 -05:00
Thibaud Colas
303fdff02b
Move messages within the main landmark
2024-01-31 15:14:26 +00:00
Thibaud Colas
018248bcd8
Use a header element for header template
2024-01-31 15:14:19 +00:00
Thibaud Colas
3163c11f5d
Add list_export for Snippets
2024-01-26 11:35:38 +00:00
AlMo
d88b0b5276
Update Dockerfile ( #351 ). Fix #360
2023-12-16 01:31:44 +00:00
TopDevPros
31eb9d610d
Add support for external links in search promotions. ( #449 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-12-16 01:27:46 +00:00
John-Scott Atlakson
5f3585d5f9
Fixed stylelint pre-commit config
2023-12-16 00:18:52 +00:00
John-Scott Atlakson
7ae19364e8
Removed flake8/isort config
2023-12-16 00:18:52 +00:00
John-Scott Atlakson
3fbd1980a9
Added Wagtail's `ruff.toml`
...
Ignore F405 in settings
2023-12-16 00:18:52 +00:00
John-Scott Atlakson
00a56197db
Updated Makefile
2023-12-16 00:18:52 +00:00
John-Scott Atlakson
88ca447f76
Updated project requirements
...
Some of these were necessary for proper Django 4.2 support
Replaced linters with `ruff` and updated the pre-commit configuration to match upstream Wagtail for consistency
2023-12-16 00:18:50 +00:00
LB (Ben Johnston)
726584090c
Upgrade to Node 20 & Upgrade npm packages ( #463 ) Fix #462
2023-12-16 00:09:16 +00:00
Asher Mathews
73265babfa
Updated the readme file to include the information about the automatic conversion of line endings in windows machines ( #387 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-12-16 00:04:48 +00:00
Sage Abdullah
cd09104203
List available tags in the README
2023-11-10 14:11:09 +11:00
Katarina Liu
a91324ba88
Replace search models and remove fields for wagtail 6 ( #459 )
...
* Replace search models and remove permission_type and submitted_for_moderation fields.
2023-11-03 11:38:16 +00:00
Matt Westcott
f6b71c6298
Version bump to Wagtail 5.2
2023-11-01 13:05:03 +00:00
herr_pilgrim
0dd43bfa7a
Remove unnecessary variables from base.html ( #454 )
2023-10-10 07:30:56 +01:00
Thibaud Colas
e47bc8b597
Consistently override all page data in base template across all non-page views
2023-10-03 15:18:48 +01:00
Thibaud Colas
0e9ef17a2d
Fix breadcrumbs missing on blog tag index
2023-10-03 15:18:48 +01:00
Thibaud Colas
dae19fec55
Remove template output that does nothing
2023-10-03 15:18:48 +01:00
Thibaud Colas
f524870d60
Remove unused templates
2023-10-03 15:18:48 +01:00
Storm Heg
2edb874589
Revision and workflow demo data ( #438 )
2023-09-02 00:09:01 +01:00
Storm B. Heg
c0fed93033
Add recipe documents. Fix #440
2023-09-01 17:34:28 +01:00
Storm B. Heg
137e8e6f08
Use MultipleChooserPanel instead of InlinePanel in BlogPage and RecipePage
...
It allows selecting multiple authors at once and functions as a great
demo of this panel.
2023-08-25 16:25:35 +01:00
Storm B. Heg
296446fe7b
Move bread models' SnippetViewSets to breads app's wagtail_hooks
2023-08-25 16:11:14 +01:00
Storm B. Heg
89ebeb1af4
Replace remaining ModelAdmin usage with SnippetViewSet and SnippetViewSetGroup
2023-08-25 16:09:36 +01:00
Scott Cranfill
1319913b2e
Upgrade to Wagtail 5.1 ( #439 )
2023-08-15 17:06:43 +01:00
Thibaud Colas
ce1d757841
Switch to a Markdown table to document available user accounts
2023-08-11 13:30:55 +01:00
Thibaud Colas
7418abc18f
Add missing moderator user profile
2023-08-11 13:30:55 +01:00
Thibaud Colas
faef911ecf
Add more realistic-looking usernames for new accounts
2023-08-11 13:30:55 +01:00
Storm B. Heg
926cff355a
Document new users in readme
2023-08-11 13:30:55 +01:00