Re: django add catalog category typeerror

2013-12-05 Thread Lasha Gogua
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()}),

Re: django add catalog category typeerror

2013-12-05 Thread Lasha Gogua
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

Re: django add catalog category typeerror

2013-12-05 Thread Sergiy Khohlov
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

django add catalog category typeerror

2013-12-05 Thread Lasha Gogua
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