Code

Ticket #19091: pastelog.txt

File pastelog.txt, 4.1 KB (added by alper, 21 months ago)
Line 
1Environment:
2
3
4Request Method: GET
5Request URL: http://127.0.0.1:8000/
6
7Django Version: 1.4
8Python Version: 2.7.1
9Installed Applications:
10('django.contrib.auth',
11 'django.contrib.contenttypes',
12 'django.contrib.sessions',
13 'django.contrib.sites',
14 'django.contrib.messages',
15 'django.contrib.staticfiles',
16 'south',
17 'boogie',
18 'django.contrib.admin')
19Installed Middleware:
20('django.middleware.common.CommonMiddleware',
21 'django.contrib.sessions.middleware.SessionMiddleware',
22 'django.middleware.csrf.CsrfViewMiddleware',
23 'django.contrib.auth.middleware.AuthenticationMiddleware',
24 'django.contrib.messages.middleware.MessageMiddleware')
25
26
27Template error:
28In template /Users/alper/Documents/projects/sake/victory/templates/boogie/index.html, error at line 8
29   Reverse for 'topic_detail' with arguments '(2, u'professor-wever')' and keyword arguments '{}' not found.
30   1 : {% extends "base.html" %}
31
32
33   2 : {% load url from future %}
34
35
36   3 :
37
38
39   4 : {% block content %}
40
41
42   5 :     <h1>Frontpage</h1>
43
44
45   6 :
46
47
48   7 :     {% for topic in topics %}
49
50
51   8 :         Onderwerp: <a href=" {% url 'topic_detail' topic.id topic.slug %} ">{{ topic.title }}</a><br>
52
53
54   9 :     {% endfor %}
55
56
57   10 :     
58
59
60   11 :     <h1>Bijdragen</h1>
61
62
63   12 :
64
65
66   13 :         {% for piece in pieces %}
67
68
69   14 :                 {{ piece.text }}<br>
70
71
72   15 :         {% endfor %}   
73
74
75   16 :     
76
77
78   17 : {% endblock %}
79
80Traceback:
81File "/Users/alper/Documents/projects/sake/victory/venv/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
82  111.                         response = callback(request, *callback_args, **callback_kwargs)
83File "/Users/alper/Documents/projects/sake/victory/boogie/views.py" in index
84  20.     return HttpResponse(t.render(c))
85File "/Users/alper/Documents/projects/sake/victory/venv/lib/python2.7/site-packages/django/template/base.py" in render
86  140.             return self._render(context)
87File "/Users/alper/Documents/projects/sake/victory/venv/lib/python2.7/site-packages/django/template/base.py" in _render
88  134.         return self.nodelist.render(context)
89File "/Users/alper/Documents/projects/sake/victory/venv/lib/python2.7/site-packages/django/template/base.py" in render
90  823.                 bit = self.render_node(node, context)
91File "/Users/alper/Documents/projects/sake/victory/venv/lib/python2.7/site-packages/django/template/debug.py" in render_node
92  74.             return node.render(context)
93File "/Users/alper/Documents/projects/sake/victory/venv/lib/python2.7/site-packages/django/template/loader_tags.py" in render
94  123.         return compiled_parent._render(context)
95File "/Users/alper/Documents/projects/sake/victory/venv/lib/python2.7/site-packages/django/template/base.py" in _render
96  134.         return self.nodelist.render(context)
97File "/Users/alper/Documents/projects/sake/victory/venv/lib/python2.7/site-packages/django/template/base.py" in render
98  823.                 bit = self.render_node(node, context)
99File "/Users/alper/Documents/projects/sake/victory/venv/lib/python2.7/site-packages/django/template/debug.py" in render_node
100  74.             return node.render(context)
101File "/Users/alper/Documents/projects/sake/victory/venv/lib/python2.7/site-packages/django/template/loader_tags.py" in render
102  62.             result = block.nodelist.render(context)
103File "/Users/alper/Documents/projects/sake/victory/venv/lib/python2.7/site-packages/django/template/base.py" in render
104  823.                 bit = self.render_node(node, context)
105File "/Users/alper/Documents/projects/sake/victory/venv/lib/python2.7/site-packages/django/template/debug.py" in render_node
106  74.             return node.render(context)
107File "/Users/alper/Documents/projects/sake/victory/venv/lib/python2.7/site-packages/django/template/defaulttags.py" in render
108  185.                         nodelist.append(node.render(context))
109File "/Users/alper/Documents/projects/sake/victory/venv/lib/python2.7/site-packages/django/template/defaulttags.py" in render
110  424.                         raise e
111
112Exception Type: NoReverseMatch at /
113Exception Value: Reverse for 'topic_detail' with arguments '(2, u'professor-wever')' and keyword arguments '{}' not found.