feat: add comprehensive GitHub workflow and development tools
This commit is contained in:
18
app/core/urls.py
Normal file
18
app/core/urls.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from django.contrib import admin
|
||||
from django.urls import path, include
|
||||
from django.conf import settings
|
||||
from django.conf.urls.static import static
|
||||
from django.contrib.auth import views as auth_views
|
||||
from stiftung.views import home
|
||||
|
||||
urlpatterns = [
|
||||
path('', include('stiftung.urls')),
|
||||
path('admin/', admin.site.urls),
|
||||
|
||||
# Authentication URLs
|
||||
path('login/', auth_views.LoginView.as_view(template_name='registration/login.html'), name='login'),
|
||||
path('logout/', auth_views.LogoutView.as_view(), name='logout'),
|
||||
]
|
||||
|
||||
if settings.DEBUG:
|
||||
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
Reference in New Issue
Block a user