From 0147b8644e6fd54e7af0857cc2a5fc76c7f1b8b9 Mon Sep 17 00:00:00 2001 From: Keith Smith Date: Tue, 23 Dec 2025 06:08:39 -0700 Subject: [PATCH] Add tasks.firebugit.com to development server configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added tasks.firebugit.com to: - ALLOWED_HOSTS: Allow Django to serve requests from this domain - CSRF_TRUSTED_ORIGINS: Allow CSRF-protected requests from https://tasks.firebugit.com This enables testing the development server via the tasks.firebugit.com domain. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- config/settings/development.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/settings/development.py b/config/settings/development.py index 9997f35..4352aeb 100644 --- a/config/settings/development.py +++ b/config/settings/development.py @@ -19,11 +19,11 @@ if not SECRET_KEY: # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -# Development-only hosts - production domains should NOT be here -ALLOWED_HOSTS = ['localhost', '127.0.0.1', '[::1]', '10.0.2.2', '192.168.1.241'] +# Development-only hosts +ALLOWED_HOSTS = ['localhost', '127.0.0.1', '[::1]', '10.0.2.2', '192.168.1.241', 'tasks.firebugit.com'] # CSRF - for development testing only -CSRF_TRUSTED_ORIGINS = os.environ.get('CSRF_TRUSTED_ORIGINS', '').split(',') if os.environ.get('CSRF_TRUSTED_ORIGINS') else [] +CSRF_TRUSTED_ORIGINS = os.environ.get('CSRF_TRUSTED_ORIGINS', '').split(',') if os.environ.get('CSRF_TRUSTED_ORIGINS') else ['https://tasks.firebugit.com'] # Database - SQLite for development DATABASES = {