QS 0.9.1 PORD

This commit is contained in:
Holger Trampe 2020-06-01 12:18:34 +02:00
parent 97b9cc8e26
commit 6c0c0b2217
3 changed files with 4 additions and 4 deletions

View File

@ -173,7 +173,7 @@ SITE_ROOT = os.path.dirname(os.path.realpath(__file__)) + '/..'
STATICFILES_DIRS = (os.path.join(SITE_ROOT, 'users/static/'),) 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'))
# CRISPY # CRISPY
CRISPY_TEMPLATE_PACK = 'bootstrap4' CRISPY_TEMPLATE_PACK = 'bootstrap4'

View File

@ -35,8 +35,8 @@ urlpatterns = [
path('chat/', include('chat.urls'), name='chat'), path('chat/', include('chat.urls'), name='chat'),
path('api-token-auth/', obtain_auth_token, name='api-token-auth'), path('api-token-auth/', obtain_auth_token, name='api-token-auth'),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
if settings.DEBUG: #if settings.DEBUG:
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) # urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
# ERROR HANDLERS # ERROR HANDLERS
handler404 = 'users.views.handler404' handler404 = 'users.views.handler404'

View File

@ -1,4 +1,4 @@
listene{% load counter_tag %} {% load counter_tag %}
<table class="table table-striped table-sm table-bordered" id="timetable_team"> <table class="table table-striped table-sm table-bordered" id="timetable_team">
<tr> <tr>
<td id="9999999999_tableheadid"> <td id="9999999999_tableheadid">