Hi Guys, I was doing to the tutorials from the book: Teach yourself django in 24 hours and Part1 hour 3 ...to view the admin site it is giving the following error. Any help: Traceback (most recent call last):
File "C:\Python25\lib\site-packages\django\core\servers\basehttp.py", line 278, in run self.result = application(self.environ, self.start_response) File "C:\Python25\lib\site-packages\django\core\servers\basehttp.py", line 635, in __call__ return self.application(environ, start_response) File "C:\Python25\lib\site-packages\django\core\handlers\wsgi.py", line 239, in __call__ response = self.get_response(request) File "C:\Python25\lib\site-packages\django\core\handlers\base.py", line 67, in get_response response = middleware_method(request) File "C:\Python25\Lib\site-packages\django\middleware\common.py", line 56, in process_request if (not _is_valid_path(request.path_info) and File "C:\Python25\Lib\site-packages\django\middleware\common.py", line 142, in _is_valid_path urlresolvers.resolve(path) File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py", line 254, in resolve return get_resolver(urlconf).resolve(path) File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py", line 181, in resolve for pattern in self.url_patterns: 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---