urls.py
from django.conf.urls import patterns, include, url
from django.views.generic import ListView, DetailView
from myshop.models import *
urlpatterns = patterns('django.views.generic.list_detail',
url(r'^product/$', 'object_list', {'queryset':Product.objects.all()}),
i use django 1.2 e-commerce and don't description views.py (((
On Thursday, December 5, 2013 4:50:57 PM UTC+4, Sergiy Khohlov wrote:
>
> Send a view.py and urls.py
>
> Many thanks,
>
> Serge
>
>
> +380 636150445
> skype: skhohlov
>
>
> On Thu, Dec 5, 2013 at 8:21 AM, Lasha Gogua
Send a view.py and urls.py
Many thanks,
Serge
+380 636150445
skype: skhohlov
On Thu, Dec 5, 2013 at 8:21 AM, Lasha Gogua wrote:
> help me please...
>
> TypeError at /admin/myshop/catalogcategory/add/
>
> 'NoneType' object has no attribute '__getitem__'
>
> Request
help me please...
TypeError at /admin/myshop/catalogcategory/add/
'NoneType' object has no attribute '__getitem__'
Request Method:POSTRequest URL:
http://127.0.0.1:8000/admin/myshop/catalogcategory/add/?_popup=1Django
Version:1.5Exception Type:TypeErrorException Value:
'NoneType' object has
4 matches
Mail list logo