Django

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Django

Artush Ghazaryan

NameError at /8/poqrik-ishxan/

name 'render_to_response' is not defined
Request Method:GET
Request URL:http://127.0.0.1:8000/8/poqrik-ishxan/
Django Version:2.0
Exception Type:NameError
Exception Value:
name 'render_to_response' is not defined
Exception Location:E:\Django-Shop\myshop\shop\views.py in ProductDetail, line 25
Python Executable:C:\Python36\python.exe
Python Version:3.6.3
Python Path:
['E:\\Django-Shop\\myshop',
 'C:\\Python36\\python36.zip',
 'C:\\Python36\\DLLs',
 'C:\\Python36\\lib',
 'C:\\Python36',
 'C:\\Python36\\lib\\site-packages',
 'C:\\Python36\\lib\\site-packages\\pytz-2017.3-py3.6.egg']
Server time:Сб, 13 Янв 2018 02:34:41 +0400

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/dc829dd9-236e-4b9e-8954-9bf376146678%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

=?UTF-8?B?0KHQvdC40LzQvtC6INGN0LrRgNCw0L3QsCAoNDIpLnBuZw==?= (115K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Django

Dylan Reinhold
Use render.

Dylan

On Fri, Jan 12, 2018 at 2:48 PM, Artush Ghazaryan <[hidden email]> wrote:

NameError at /8/poqrik-ishxan/

name 'render_to_response' is not defined
Request Method:GET
Request URL:http://127.0.0.1:8000/8/poqrik-ishxan/
Django Version:2.0
Exception Type:NameError
Exception Value:
name 'render_to_response' is not defined
Exception Location:E:\Django-Shop\myshop\shop\views.py in ProductDetail, line 25
Python Executable:C:\Python36\python.exe
Python Version:3.6.3
Python Path:
['E:\\Django-Shop\\myshop',
 'C:\\Python36\\python36.zip',
 'C:\\Python36\\DLLs',
 'C:\\Python36\\lib',
 'C:\\Python36',
 'C:\\Python36\\lib\\site-packages',
 'C:\\Python36\\lib\\site-packages\\pytz-2017.3-py3.6.egg']
Server time:Сб, 13 Янв 2018 02:34:41 +0400

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/dc829dd9-236e-4b9e-8954-9bf376146678%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHtg44AKMcuOkxYQxx_6aKV7i%2BJXSX6PoYJq5boqKjnvxUQqng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.