View difference between Paste ID: Fe513Jwp and pTizeFqD
SHOW: | | - or go back to the newest paste.
1
Environment:
2
3
4
Request Method: GET
5-
Request URL: http://jotto.pythonanywhere.com/polls/
5+
Request URL: http://wypok_spoko.pythonanywhere.com/polls/
6
7
Django Version: 1.8.2
8
Python Version: 3.4.0
9
Installed Applications:
10
('django.contrib.admin',
11
 'django.contrib.auth',
12
 'django.contrib.contenttypes',
13
 'django.contrib.sessions',
14
 'django.contrib.messages',
15
 'django.contrib.staticfiles',
16
 'polls')
17
Installed Middleware:
18
('django.contrib.sessions.middleware.SessionMiddleware',
19
 'django.middleware.common.CommonMiddleware',
20
 'django.middleware.csrf.CsrfViewMiddleware',
21
 'django.contrib.auth.middleware.AuthenticationMiddleware',
22
 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
23
 'django.contrib.messages.middleware.MessageMiddleware',
24
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
25
 'django.middleware.security.SecurityMiddleware')
26
27
28
Template error:
29-
In template /home/jotto/ytdb/polls/templates/polls/index.html, error at line 13
29+
In template /home/wypok_spoko/ytdb/polls/templates/polls/index.html, error at line 13
30
   1044
31
32
   3 :     <table>
33
34
35
36
   4 :         <tr><td>
37
38
39
40
   5 :             Link: </td><td><input type="text" maxlength="255" name="link"/>
41
42
43
44
   6 :         </td></tr>
45
46
47
48
   7 :         <tr><td>
49
50
51
52
   8 :             Owner: </td><td><input type="text" maxlength="50" name="own"/>
53
54
55
56
   9 :         </td></tr>
57
58
59
60
   10 :     </table>
61
62
63
64
   11 : <input type="submit" value="Add link!" />
65
66
67
68
   12 : </form>
69
70
71
72
   13 :  {%  if latest_links_list %} 
73
74
75
76
   14 :     <table style="border: 2px solid black">
77
78
79
80
   15 :         {% for link in latest_links_list %}
81
82
83
84
   16 :             <tr>
85
86
87
88
   17 :                 <td><a href="{% url 'polls:detail' link.id %}">{{ link.link }}</a></td>
89
90
91
92
   18 :                 <td>{{ link.own }}</td>
93
94
95
96
   19 :                 <td>{{ link.date_pub.date }}</td>
97
98
99
100
   20 :             </tr>
101
102
103
104
   21 :         {%  endfor %}
105
106
107
108
   22 :     </table>
109
110
111
112
   23 : {%  else %}
113
114
115
Traceback:
116-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response
116+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response
117
  164.                 response = response.render()
118-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/template/response.py" in render
118+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/template/response.py" in render
119
  158.             self.content = self.rendered_content
120-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/template/response.py" in rendered_content
120+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/template/response.py" in rendered_content
121
  135.         content = template.render(context, self._request)
122-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/template/backends/django.py" in render
122+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/template/backends/django.py" in render
123
  74.         return self.template.render(context)
124-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/template/base.py" in render
124+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/template/base.py" in render
125
  209.                     return self._render(context)
126-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/template/base.py" in _render
126+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/template/base.py" in _render
127
  201.         return self.nodelist.render(context)
128-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/template/base.py" in render
128+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/template/base.py" in render
129
  903.                 bit = self.render_node(node, context)
130-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/template/debug.py" in render_node
130+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/template/debug.py" in render_node
131
  79.             return node.render(context)
132-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/template/defaulttags.py" in render
132+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/template/defaulttags.py" in render
133
  328.             if match:
134-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/models/query.py" in __bool__
134+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/models/query.py" in __bool__
135
  166.         self._fetch_all()
136-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/models/query.py" in _fetch_all
136+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/models/query.py" in _fetch_all
137
  965.             self._result_cache = list(self.iterator())
138-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/models/query.py" in iterator
138+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/models/query.py" in iterator
139
  238.         results = compiler.execute_sql()
140-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/models/sql/compiler.py" in execute_sql
140+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/models/sql/compiler.py" in execute_sql
141
  838.         cursor = self.connection.cursor()
142-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/backends/base/base.py" in cursor
142+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/backends/base/base.py" in cursor
143
  162.             cursor = self.make_debug_cursor(self._cursor())
144-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/backends/base/base.py" in _cursor
144+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/backends/base/base.py" in _cursor
145
  135.         self.ensure_connection()
146-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/backends/base/base.py" in ensure_connection
146+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/backends/base/base.py" in ensure_connection
147
  130.                 self.connect()
148-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/utils.py" in __exit__
148+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/utils.py" in __exit__
149
  97.                 six.reraise(dj_exc_type, dj_exc_value, traceback)
150-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/utils/six.py" in reraise
150+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/utils/six.py" in reraise
151
  658.             raise value.with_traceback(tb)
152-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/backends/base/base.py" in ensure_connection
152+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/backends/base/base.py" in ensure_connection
153
  130.                 self.connect()
154-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/backends/base/base.py" in connect
154+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/backends/base/base.py" in connect
155
  119.         self.connection = self.get_new_connection(conn_params)
156-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/backends/mysql/base.py" in get_new_connection
156+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/django/db/backends/mysql/base.py" in get_new_connection
157
  276.         conn = Database.connect(**conn_params)
158-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/MySQLdb/__init__.py" in Connect
158+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/MySQLdb/__init__.py" in Connect
159
  81.     return Connection(*args, **kwargs)
160-
File "/home/jotto/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/MySQLdb/connections.py" in __init__
160+
File "/home/wypok_spoko/.virtualenvs/myvirtualenv/lib/python3.4/site-packages/MySQLdb/connections.py" in __init__
161
  204.         super(Connection, self).__init__(*args, **kwargs2)
162
163
Exception Type: OperationalError at /polls/
164-
Exception Value: (1044, "Access denied for user 'jotto'@'%' to database 'youtubedb'")
164+
Exception Value: (1044, "Access denied for user 'wypok_spoko'@'%' to database 'youtubedb'")