Environment Request Method GET Request URL http serge matveenko ru adm

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Environment:
Request Method: GET
Request URL: http://serge.matveenko.ru/admin/blog/post/3/
Django Version: 1.0.1 final
Python Version: 2.5.2
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'django.contrib.sitemaps',
'django.contrib.flatpages',
'django.contrib.markup',
'lib',
'pytils',
'accounts',
'blog',
'discussion',
'tagging',
'typogrify',
'render',
'postimage',
'openidconsumer',
'openidserver',
'pingback',
'watchlist',
'blogroll',
'robots',
'livejournal']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'middleware.dynamicsite.DynamicSiteMiddleware',
'middleware.feedburner.FeedburnerMiddleware',
'lib.threadlocals.ThreadLocalsMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'middleware.url.UrlMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'maintenancemode.middleware.MaintenanceModeMiddleware',
'middleware.redirect.RedirectMiddleware',
'openidconsumer.middleware.OpenIDMiddleware',
'django.middleware.doc.XViewMiddleware',
'middleware.ajax_errors.AjaxMiddleware',
'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
'pingback.middleware.PingbackMiddleware',
'middleware.profile.ProfilerMiddleware')
Traceback:
File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py" in get_response
86. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.5/site-packages/django/contrib/admin/sites.py" in root
157. return self.model_page(request, *url.split('/', 2))
File "/usr/lib/python2.5/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
44. response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/django/contrib/admin/sites.py" in model_page
176. return admin_obj(request, rest_of_url)
File "/usr/lib/python2.5/site-packages/django/contrib/admin/options.py" in __call__
197. return self.change_view(request, unquote(url))
File "/usr/lib/python2.5/site-packages/django/db/transaction.py" in _commit_on_success
238. res = func(*args, **kw)
File "/usr/lib/python2.5/site-packages/django/contrib/admin/options.py" in change_view
592. formset = FormSet(instance=obj)
File "/usr/lib/python2.5/site-packages/django/forms/models.py" in __init__
468. queryset=qs)
File "/usr/lib/python2.5/site-packages/django/forms/models.py" in __init__
352. super(BaseModelFormSet, self).__init__(**defaults)
File "/usr/lib/python2.5/site-packages/django/forms/formsets.py" in __init__
67. self._construct_forms()
File "/usr/lib/python2.5/site-packages/django/forms/models.py" in _construct_forms
474. super(BaseInlineFormSet, self)._construct_forms()
File "/usr/lib/python2.5/site-packages/django/forms/formsets.py" in _construct_forms
76. self.forms.append(self._construct_form(i))
File "/usr/lib/python2.5/site-packages/django/forms/models.py" in _construct_form
477. form = super(BaseInlineFormSet, self)._construct_form(i, **kwargs)
File "/usr/lib/python2.5/site-packages/django/forms/models.py" in _construct_form
357. return super(BaseModelFormSet, self)._construct_form(i, **kwargs)
File "/usr/lib/python2.5/site-packages/django/forms/formsets.py" in _construct_form
96. self.add_fields(form, i)
File "/usr/lib/python2.5/site-packages/django/forms/models.py" in add_fields
494. form.fields[self.fk.name] = InlineForeignKeyField(self.instance, label=form.fields[self.fk.name].label)
Exception Type: KeyError at /admin/blog/post/3/
Exception Value: 'post'