Commit 8a9f2a2
fix: Add WAGTAILADMIN_BASE_URL setting to resolve Wagtail warning
Add WAGTAILADMIN_BASE_URL setting to all Django settings files to fix
the wagtailadmin.W003 warning that appeared during system checks.
The project had a BASE_URL setting but Wagtail expects the setting to
be named WAGTAILADMIN_BASE_URL for admin URLs outside the admin interface.
Changes:
- base.py: Set WAGTAILADMIN_BASE_URL = BASE_URL (https://python.ie)
- tests.py: Override with http://testserver for test environment
- dev.py: Override with http://localhost:8000 for local development
This ensures admin URLs in notification emails and the user bar will
display correctly in all environments.
Fixes #175
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 25078af commit 8a9f2a2
3 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
0 commit comments