Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as text by berat ( 17 years ago )
 
berat@debian:~/comp461/jango/mysite$ python manage.py runserver 8080
Validating models...
0 errors found

Django version 1.0.2 final, using settings 'mysite.settings'
Development server is running at http://127.0.0.1:8080/
Quit the server with CONTROL-C.
[25/Mar/2009 21:40:39] "GET / HTTP/1.1" 500 60431
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/django/core/servers/basehttp.py", line 278, in run
    self.result = application(self.environ, self.start_response)
  File "/var/lib/python-support/python2.5/django/core/servers/basehttp.py", line 635, in __call__
    return self.application(environ, start_response)
  File "/var/lib/python-support/python2.5/django/core/handlers/wsgi.py", line 239, in __call__
    response = self.get_response(request)
  File "/var/lib/python-support/python2.5/django/core/handlers/base.py", line 67, in get_response
    response = middleware_method(request)
  File "/var/lib/python-support/python2.5/django/middleware/common.py", line 56, in process_request
    if (not _is_valid_path(request.path_info) and
  File "/var/lib/python-support/python2.5/django/middleware/common.py", line 142, in _is_valid_path
    urlresolvers.resolve(path)
  File "/var/lib/python-support/python2.5/django/core/urlresolvers.py", line 246, in resolve
    return get_resolver(urlconf).resolve(path)
  File "/var/lib/python-support/python2.5/django/core/urlresolvers.py", line 179, in resolve
    for pattern in self.urlconf_module.urlpatterns:
  File "/var/lib/python-support/python2.5/django/core/urlresolvers.py", line 198, in _get_urlconf_module
    self._urlconf_module = __import__(self.urlconf_name, {}, {}, [''])
  File "/home/berat/comp461/jango/mysite/../mysite/urls.py", line 14, in <module>
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),
TypeError: 'str' object is not callable
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/django/core/servers/basehttp.py", line 278, in run
    self.result = application(self.environ, self.start_response)
  File "/var/lib/python-support/python2.5/django/core/servers/basehttp.py", line 635, in __call__
    return self.application(environ, start_response)
  File "/var/lib/python-support/python2.5/django/core/handlers/wsgi.py", line 239, in __call__
    response = self.get_response(request)
  File "/var/lib/python-support/python2.5/django/core/handlers/base.py", line 67, in get_response
    response = middleware_method(request)
  File "/var/lib/python-support/python2.5/django/middleware/common.py", line 56, in process_request
    if (not _is_valid_path(request.path_info) and
  File "/var/lib/python-support/python2.5/django/middleware/common.py", line 142, in _is_valid_path
    urlresolvers.resolve(path)
  File "/var/lib/python-support/python2.5/django/core/urlresolvers.py", line 246, in resolve
    return get_resolver(urlconf).resolve(path)
  File "/var/lib/python-support/python2.5/django/core/urlresolvers.py", line 179, in resolve
    for pattern in self.urlconf_module.urlpatterns:
  File "/var/lib/python-support/python2.5/django/core/urlresolvers.py", line 198, in _get_urlconf_module
    self._urlconf_module = __import__(self.urlconf_name, {}, {}, [''])
  File "/home/berat/comp461/jango/mysite/../mysite/urls.py", line 14, in <module>
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),
TypeError: 'str' object is not callable

 

Revise this Paste

Your Name: Code Language: