QS 0.9.1 PORD
This commit is contained in:
parent
39053adeff
commit
eb0f5fbe70
1
.cred
1
.cred
|
|
@ -1 +1,2 @@
|
|||
https://holger.trampe:Zerogoogle123_@git.vhevents.de/
|
||||
https://holger.trampe:Zerogoogle123_@git.vhevents.de/
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -169,11 +169,28 @@ LOGIN_REDIRECT_URL = 'users-dashboard'
|
|||
LOGIN_URL = 'login'
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
|
||||
|
||||
|
||||
'''
|
||||
SITE_ROOT = os.path.dirname(os.path.realpath(__file__)) + '/..'
|
||||
|
||||
STATICFILES_DIRS = (os.path.join(SITE_ROOT, 'users/static/'),)
|
||||
|
||||
STATIC_ROOT = (os.path.join(SITE_ROOT, 'collectedstatic'))
|
||||
#STATIC_ROOT = (os.path.join(SITE_ROOT, 'collectedstatic'))
|
||||
'''
|
||||
############################# FÜR COMMIT
|
||||
SITE_ROOT = os.path.dirname(os.path.realpath(__file__)) + '/..'
|
||||
STATIC_ROOT = (os.path.join(SITE_ROOT, 'users/static/'))
|
||||
|
||||
#STATICFILES_DIRS = (os.path.join(SITE_ROOT, 'users/static/'),)
|
||||
|
||||
# CRISPY
|
||||
CRISPY_TEMPLATE_PACK = 'bootstrap4'
|
||||
|
||||
# Bildspeicherpfad
|
||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
||||
MEDIA_URL = '/media/'
|
||||
|
||||
# CRISPY
|
||||
CRISPY_TEMPLATE_PACK = 'bootstrap4'
|
||||
|
|
|
|||
|
|
@ -35,8 +35,8 @@ urlpatterns = [
|
|||
path('chat/', include('chat.urls'), name='chat'),
|
||||
path('api-token-auth/', obtain_auth_token, name='api-token-auth'),
|
||||
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
||||
#if settings.DEBUG:
|
||||
# urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
if settings.DEBUG:
|
||||
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
|
||||
# ERROR HANDLERS
|
||||
handler404 = 'users.views.handler404'
|
||||
|
|
|
|||
Loading…
Reference in New Issue