Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
4 changes: 4 additions & 0 deletions pythonie/pythonie/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
# e.g. in notification emails. Don't include '/admin' or a trailing slash
BASE_URL = "https://python.ie"

# Wagtail admin base URL for admin URLs outside the admin interface
# (e.g. notification emails and the user bar)
WAGTAILADMIN_BASE_URL = BASE_URL

# Application definition

INSTALLED_APPS = (
Expand Down
3 changes: 3 additions & 0 deletions pythonie/pythonie/settings/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"

# Override Wagtail admin base URL for local development
WAGTAILADMIN_BASE_URL = "http://localhost:8000"

# SQLite (simplest install)
DATABASES = {
"default": {
Expand Down
3 changes: 3 additions & 0 deletions pythonie/pythonie/settings/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"

# Override Wagtail admin base URL for tests
WAGTAILADMIN_BASE_URL = "http://testserver"

# SQLite (simplest install)
DATABASES = {
"default": {
Expand Down