What steps will reproduce the problem?
1. Adding page
2.
3.
What is the expected output? What do you see instead?
Traceback (most recent call last):
File
"/usr/local/lib/python2.5/site-packages/django/core/handlers/base.py", line
92, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File
"/usr/local/lib/python2.5/site-packages/django/contrib/admin/options.py",
line 226, in wrapper
return self.admin_site.admin_view(view)(*args, **kwargs)
File
"/usr/local/lib/python2.5/site-packages/django/views/decorators/cache.py",
line 44, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File
"/usr/local/lib/python2.5/site-packages/django/contrib/admin/sites.py",
line 186, in inner
return view(request, *args, **kwargs)
File "/usr/local/project/pages/admin/__init__.py", line 232, in change_view
obj = self.model.objects.get(pk=object_id)
File "/usr/local/lib/python2.5/site-packages/django/db/models/manager.py",
line 120, in get
return self.get_query_set().get(*args, **kwargs)
File "/usr/local/lib/python2.5/site-packages/django/db/models/query.py",
line 299, in get
clone = self.filter(*args, **kwargs)
File "/usr/local/lib/python2.5/site-packages/django/db/models/query.py",
line 498, in filter
return self._filter_or_exclude(False, *args, **kwargs)
File "/usr/local/lib/python2.5/site-packages/django/db/models/query.py",
line 516, in _filter_or_exclude
clone.query.add_q(Q(*args, **kwargs))
File
"/usr/local/lib/python2.5/site-packages/django/db/models/sql/query.py",
line 1675, in add_q
can_reuse=used_aliases)
File
"/usr/local/lib/python2.5/site-packages/django/db/models/sql/query.py",
line 1614, in add_filter
connector)
File
"/usr/local/lib/python2.5/site-packages/django/db/models/sql/where.py",
line 56, in add
obj, params = obj.process(lookup_type, value)
File
"/usr/local/lib/python2.5/site-packages/django/db/models/sql/where.py",
line 269, in process
params = self.field.get_db_prep_lookup(lookup_type, value)
File
"/usr/local/lib/python2.5/site-packages/django/db/models/fields/__init__.py",
line 210, in get_db_prep_lookup
return [self.get_db_prep_value(value)]
File
"/usr/local/lib/python2.5/site-packages/django/db/models/fields/__init__.py",
line 361, in get_db_prep_value
return int(value)
ValueError: invalid literal for int() with base 10:
'add/change-status-published'
Are you using the trunk version or a released version of this CMS?
r787
If you can write a test that reproduce the problem, there is better chance
it will be resolved quickly.
Original issue reported on code.google.com by pakhomov...@yandex.ru on 27 Jan 2010 at 9:33
Original issue reported on code.google.com by
pakhomov...@yandex.ru
on 27 Jan 2010 at 9:33