Skip to content

Loading…

ValueError when clicking on "recover deleted pages" #249

Closed
rfugger opened this Issue · 7 comments

2 participants

@rfugger

ValueError at /admin/cms/page/recover/

invalid literal for int() with base 10: 'recover'

URLs not configured to handle "recover"?

@digi604
Divio AG member

how are the admin urls configured in your main urls.py?

@rfugger

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
(r'^admin/', include(admin.site.urls)),
(r'^', include('cms.urls')),
)

@digi604
Divio AG member

what is your django-reversion version?

@rfugger

No django-reversion. The installation docs indicate it is optional.

@digi604
Divio AG member

so you see the "recover deleted pages" button but you don't have django-reversion installed?

@rfugger

That's correct.

@digi604
Divio AG member

closed by 1ac277f recover pages button not displayed anymore if reversion is not installed

@christianbertschy christianbertschy pushed a commit to christianbertschy/django-cms-2.0 that referenced this issue
@digi604 digi604 fixes #249 recover pages button not displayed anymore if reversion is…
… not installed
1ac277f
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.