mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-12-18 23:05:07 +01:00
Restructure settings (#882)
* Refactor settings into importable base. User deployment should use 'from allianceauth.settings.base import *' in their project settings. * Restructure tests folder. Remove DOMAIN setting. Use localhost for services revoked emails. * Add missing python3.4 typing requirement typing is included python3.5+ * Remove legacy setup comments Remove legacy update script
This commit is contained in:
@@ -3,7 +3,7 @@ import os
|
||||
import sys
|
||||
|
||||
if __name__ == "__main__":
|
||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'test_allianceauth.settings'
|
||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'
|
||||
|
||||
try:
|
||||
from django.core.management import execute_from_command_line
|
||||
|
||||
Reference in New Issue
Block a user