Do you put your model views in the call of patterns?
Like this in urls.py:
patterns('namemodel.views',
url(r'^routename/$', 'name_def_view', name='name_def_view_call'),
)
Sorry for my english!!!!
On Fri, Jun 8, 2012 at 12:11 PM, Lucas Aride Moulin
<[email protected]>wrote:
> Post the content of your URLs.py so we can see if there is any errors
> On Jun 8, 2012 2:17 AM, "Satvir Toor" <[email protected]> wrote:
>
>> here is my problem
>> As i request for a url specified in urlpatterns variable in urls.py
>> file of the djangoproject It gives
>> TypeError
>> Exception Value: 'str' object is not callable
>> suggest me
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.