added compass direction finding
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -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/'
|
||||
|
||||
@@ -15,12 +15,16 @@ Including another URLconf
|
||||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
||||
"""
|
||||
from django.contrib import admin
|
||||
from django.contrib.auth import views as auth_views
|
||||
from django.conf import settings
|
||||
from django.urls import path, include, re_path
|
||||
from django.views.static import serve
|
||||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path('login/', auth_views.LoginView.as_view(template_name='members/login.html'), name='login'),
|
||||
path('classifications/', include('fireworks_detect.classification_urls')),
|
||||
path('settings/', include('members.settings_urls')),
|
||||
path('', include('hello.urls')),
|
||||
path('fireworks/', include('fireworks_detect.urls')),
|
||||
path('members/', include('members.urls'))
|
||||
|
||||
Reference in New Issue
Block a user