Is your hosting support python
On Mon, Dec 28, 2020, 12:49 PM tech george <techgeorge4@gmail.com> wrote:
Hello,--I am getting the error as shown below when uploading my django project to share hosting. How can I resolve it?Please advise.DoesNotExist at /
Currency matching query does not exist.
Request Method: GET Request URL: http://fullcart.co.ke/ Django Version: 3.0.7 Exception Type: DoesNotExist Exception Value: Currency matching query does not exist.Exception Location: /home2/fullcart/virtualenv/fullcart/3.7/lib/python3.7/site-packages/django/db/models/query.py in get, line 417 Python Executable: /home2/fullcart/virtualenv/fullcart/3.7/bin/python3.7 Python Version: 3.7.8 Python Path: ['', '/opt/alt/python37/bin', '/home2/fullcart/fullcart', '/home2/fullcart/virtualenv/fullcart/3.7/lib64/python37.zip', '/home2/fullcart/virtualenv/fullcart/3.7/lib64/python3.7', '/home2/fullcart/virtualenv/fullcart/3.7/lib64/python3.7/lib-dynload', '/opt/alt/python37/lib64/python3.7', '/opt/alt/python37/lib/python3.7', '/home2/fullcart/virtualenv/fullcart/3.7/lib/python3.7/site-packages']Server time: Mon, 28 Dec 2020 07:00:13 +0000 Error during template rendering
In template
/home2/fullcart/fullcart/home/templates/slider.html
, error at line 18Currency matching query does not exist.
8 <div class="home-wrap"> 9 <!-- home slick --> 10 <div id="home-slick"> 11 12 {% for rs in products_slider %} 13 <!-- banner --> 14 <div class="banner banner-1"> 15 <img src="{{ rs.image.url }}" alt="" style="width:1200; height:560px"> 16 <div class="banner-caption text-center"> 17 <h1>{{ rs.title }} </h1> 18 <h3 class="white-color font-weak"> {{ rs.price|currency:request.session.currency }} {{ request.session.currency }} </h3> 19 <a href="{% url 'product_detail' rs.id rs.slug %}" class="primary-btn">Shop Now</a> 20 21 </div> 22 </div> 23 <!-- /banner --> 24 {% endfor %}
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CADYG20Hfxc4xK0tDs-%2B326_dS%2BobsNAzaYKOBSYnpg9b8ykprg%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CADydCv-oUMh-jkoSLMb_JhEG3sJdA13dvd%2Bo_rFraMaoELGV8g%40mail.gmail.com.
No comments:
Post a Comment