On Fri, Jan 23, 2009 at 8:37 AM, joti chand <[email protected]> wrote:
>  File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py",
> line 205, in _get_url_patterns
>    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
>
>  File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py",
> line 200, in _get_urlconf_module
>    self._urlconf_module = __import__(self.urlconf_name, {}, {}, [''])
>
>  File "c:\projects\iFriends\..\iFriends\urls.py", line 17, in <module>
>    (r'^admin/', include('django.contribute.admin.urls')),
>
> TypeError: 'tuple' object is not callable

Although Malcolm is right about admin, this TypeError seems to me that
you forgot a comma before that line.

Something like:

urlpatterns = patterns('',
    (r'^someurl/', 'someview') <------ *here*
    (r'^admin/', include('django.contribute.admin.urls')),
)

M

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to