Skip to content

Instantly share code, notes, and snippets.

@pior
Created March 18, 2016 14:07
Show Gist options
  • Select an option

  • Save pior/f900dbb2b7b85c5fbe44 to your computer and use it in GitHub Desktop.

Select an option

Save pior/f900dbb2b7b85c5fbe44 to your computer and use it in GitHub Desktop.
(short_link) pior@misaki:~/dev/py/tests/short_link (master)$ webserver/manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
March 18, 2016 - 14:04:22
Django version 1.9.4, using settings 'webserver.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
Not Found: /
[18/Mar/2016 14:04:29] "GET / HTTP/1.1" 404 2044
Internal Server Error: /link
Traceback (most recent call last):
File "/home/pior/.virtualenvs/short_link/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 149, in get_response
response = self.process_exception_by_middleware(e, request)
File "/home/pior/.virtualenvs/short_link/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 147, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/pior/.virtualenvs/short_link/local/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "/home/pior/.virtualenvs/short_link/local/lib/python2.7/site-packages/django/views/generic/base.py", line 88, in dispatch
return handler(request, *args, **kwargs)
TypeError: get() takes exactly 3 arguments (2 given)
[18/Mar/2016 14:05:30] "GET /link HTTP/1.1" 500 75374
[18/Mar/2016 14:05:46] "GET /link/ HTTP/1.1" 200 43
Not Found: /favicon.ico
[18/Mar/2016 14:05:46] "GET /favicon.ico HTTP/1.1" 404 2077
[18/Mar/2016 14:06:02] "GET /link/ HTTP/1.1" 200 43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment