added compass direction finding

This commit is contained in:
Joren de Graaf
2026-10-01 16:38:13 +02:00
parent a5dbbf3aed
commit 884e2e8a11
80 changed files with 3369 additions and 64 deletions
+6
View File
@@ -32,6 +32,8 @@ ALLOWED_HOSTS = ["django.jorendegraaf.eu", "100.91.62.59"]
CSRF_TRUSTED_ORIGINS = ["https://django.jorendegraaf.eu"]
# Caddy supplies this header for proxied HTTPS requests.
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
LOGIN_URL = "/login/"
LOGIN_REDIRECT_URL = "/"
# Application definition
@@ -43,6 +45,7 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'vite_integration',
'hello',
'fireworks_detect',
'members'
@@ -124,6 +127,9 @@ USE_TZ = True
# https://docs.djangoproject.com/en/6.1/howto/static-files/
STATICFILES_DIRS = [BASE_DIR / 'project_admin' / 'static']
# H3 resolution for new coordinate-bearing fireworks records (0–15).
FIREWORKS_H3_RESOLUTION = 9
STATIC_URL = 'static/'
STATIC_ROOT = BASE_DIR / 'staticfiles'
MEDIA_URL = 'media/'