Closed lekhakmukesh closed 2 years ago
`Environment:
Request Method: GET Request URL: http://127.0.0.1:8000/userDashboard
Django Version: 3.2 Python Version: 3.8.2 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'blogs', 'ckeditor', 'tawkto'] Installed Middleware: ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware']
Template error: In template /Users/technosanta/PycharmProjects/riverSweepWeb/templates/base_user_dashboard.html, error at line 77 Invalid block tag on line 77: 'tawkto_script'. Did you forget to register or load this tag? 67 : {#var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();#} 68 : {#(function(){#} 69 : {#var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];#} 70 : {#s1.async=true;#} 71 : {#s1.src='https://embed.tawk.to/60927d21185beb22b30a3a58/1f4u3hj35';#} 72 : {#s1.charset='UTF-8';#} 73 : {#s1.setAttribute('crossorigin','*');#} 74 : {#s0.parentNode.insertBefore(s1,s0);#} 75 : {#})();#} 76 : {##} 77 : {% tawkto_script %} 78 : 79 : 80 : {% include 'footer/footer.html' %} 81 : 82 :
83 : 84 : 85 :
Got this issue when adding {% tawkto_script %} on the body of the page
`Environment:
Request Method: GET Request URL: http://127.0.0.1:8000/userDashboard
Django Version: 3.2 Python Version: 3.8.2 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'blogs', 'ckeditor', 'tawkto'] Installed Middleware: ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware']
Template error: In template /Users/technosanta/PycharmProjects/riverSweepWeb/templates/base_user_dashboard.html, error at line 77 Invalid block tag on line 77: 'tawkto_script'. Did you forget to register or load this tag? 67 : {#var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();#} 68 : {#(function(){#} 69 : {#var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];#} 70 : {#s1.async=true;#} 71 : {#s1.src='https://embed.tawk.to/60927d21185beb22b30a3a58/1f4u3hj35';#} 72 : {#s1.charset='UTF-8';#} 73 : {#s1.setAttribute('crossorigin','*');#} 74 : {#s0.parentNode.insertBefore(s1,s0);#} 75 : {#})();#} 76 : {##} 77 : {% tawkto_script %} 78 : 79 : 80 : {% include 'footer/footer.html' %} 81 : 82 :