Fix: Resolve Django settings import error and fix quick login API endpoint
Settings Refactoring Fixes: - Add minimal LOGGING structure to base.py for multitenancy.py to extend - Restore LOGGING import in multitenancy.py - Add development LOGGING configuration to local.py - This allows multitenancy.py to extend LOGGING configuration properly Quick Login Fix: - Update frontend .env.development to use VITE_API_URL=http://localhost:8000 - Previous configuration tried to access api.lvh.me which failed due to django-tenants not recognizing that hostname - Using localhost:8000 directly bypasses subdomain routing and accesses the public schema where auth endpoints are available Both fixes restore full functionality: - Django now starts without import errors in local development - Quick login API calls now succeed and return authentication tokens - Frontend can authenticate users for development/testing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
VITE_DEV_MODE=true
|
||||
VITE_API_URL=http://lvh.me:8000
|
||||
VITE_API_URL=http://localhost:8000
|
||||
|
||||
Reference in New Issue
Block a user