Browse Source

Smazány komentářové aplikace [DATA DROP!]

Nefungovalo to, a stejně už se nepoužívají. Data viz dumpy databáze…
export_seznamu_prednasek
Pavel "LEdoian" Turinsky 3 years ago
parent
commit
a015520e41
  1. 8
      mamweb/settings_common.py
  2. 3
      mamweb/templates/base.html
  3. 1
      mamweb/urls.py
  4. 3
      requirements.txt

8
mamweb/settings_common.py

@ -109,9 +109,7 @@ INSTALLED_APPS = (
'dal', 'dal',
'dal_select2', 'dal_select2',
'fluent_comments',
'crispy_forms', 'crispy_forms',
'threadedcomments',
'django_comments', 'django_comments',
'django.contrib.flatpages', 'django.contrib.flatpages',
@ -221,12 +219,6 @@ REST_FRAMEWORK = {
'PAGE_SIZE': 100 'PAGE_SIZE': 100
} }
# Comments
COMMENTS_APP = 'fluent_comments'
#COMMENTS_APP = 'threadedcomments'
FLUENT_COMMENTS_EXCLUDE_FIELDS = ('name', 'email', 'url', 'title')
# SECURITY WARNING: keep the secret key used in production secret! # SECURITY WARNING: keep the secret key used in production secret!
# Create file 'django.secret' in every install (it is not kept in git) # Create file 'django.secret' in every install (it is not kept in git)

3
mamweb/templates/base.html

@ -15,9 +15,6 @@
<script src="{% static 'js/jquery-1.11.1.js' %}"></script> <script src="{% static 'js/jquery-1.11.1.js' %}"></script>
<script src="{% static 'js/jquery-3.4.1.js' %}"></script> <script src="{% static 'js/jquery-3.4.1.js' %}"></script>
<link rel="stylesheet" type="text/css" href="{% static 'fluent_comments/css/ajaxcomments.css' %}" />
<script type="text/javascript" src="{% static 'fluent_comments/js/ajaxcomments.js' %}"></script>
{# nastavení MathJaxu, aby nahrazoval i matiku obalenou jednoduchými $ #} {# nastavení MathJaxu, aby nahrazoval i matiku obalenou jednoduchými $ #}
<script type="text/x-mathjax-config"> <script type="text/x-mathjax-config">
MathJax.Hub.Config({ MathJax.Hub.Config({

1
mamweb/urls.py

@ -47,7 +47,6 @@ urlpatterns = [
# Comments (interni i verejne) # Comments (interni i verejne)
path('comments_dj/', include('django_comments.urls')), path('comments_dj/', include('django_comments.urls')),
path('comments_fl/', include('fluent_comments.urls')),
# REST API # REST API
path('api/', include(router.urls)), path('api/', include(router.urls)),

3
requirements.txt

@ -34,9 +34,6 @@ django-webpack-loader
django-rest-polymorphic django-rest-polymorphic
# Comments # Comments
akismet==1.0.1
django-fluent-comments==2.1
django-threadedcomments==1.2
django-contrib-comments==1.9.0 django-contrib-comments==1.9.0
# debug tools/extensions # debug tools/extensions

Loading…
Cancel
Save