django 1.5: 500 error resolving url for admin:cms_page_edit_plugin #1519

Closed
craigds opened this Issue Nov 17, 2012 · 2 comments

2 participants

@craigds

After adding a new plugin to a page in the admin interface, I get this:

Traceback:
File "/home/cdestigter/checkout/django/django/core/handlers/base.py" in get_response
  116.                         response = callback(request, *callback_args, **callback_kwargs)
File "/home/cdestigter/checkout/django/django/utils/decorators.py" in _wrapped_view
  91.                     response = view_func(request, *args, **kwargs)
File "/home/cdestigter/checkout/django/django/views/decorators/cache.py" in _wrapped_view_func
  89.         response = view_func(request, *args, **kwargs)
File "/home/cdestigter/checkout/django/django/contrib/admin/sites.py" in inner
  202.             return view(request, *args, **kwargs)
File "/home/cdestigter/checkout/django-cms/cms/admin/pageadmin.py" in edit_plugin
  1296.             response = plugin_admin.add_view(request)
File "/home/cdestigter/checkout/django/django/utils/decorators.py" in _wrapper
  25.             return bound_func(*args, **kwargs)
File "/home/cdestigter/checkout/django/django/utils/decorators.py" in _wrapped_view
  91.                     response = view_func(request, *args, **kwargs)
File "/home/cdestigter/checkout/django/django/utils/decorators.py" in bound_func
  21.                 return func(self, *args2, **kwargs2)
File "/home/cdestigter/checkout/django/django/db/transaction.py" in inner
  208.                 return func(*args, **kwargs)
File "/home/cdestigter/checkout/django/django/contrib/admin/options.py" in add_view
  1021.                 return self.response_add(request, new_object)
File "/home/cdestigter/checkout/django-cms/cms/plugin_base.py" in response_add
  178.         return super(CMSPluginBase, self).response_add(request, obj)
File "/home/cdestigter/checkout/django/django/contrib/admin/options.py" in response_add
  807.                           current_app=site_name)
File "/home/cdestigter/checkout/django/django/core/urlresolvers.py" in reverse
  494.     return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))
File "/home/cdestigter/checkout/django/django/core/urlresolvers.py" in _reverse_with_prefix
  414.                 "arguments '%s' not found." % (lookup_view_s, args, kwargs))

Exception Type: NoReverseMatch at /admin/cms/page/6/edit-plugin/10/
Exception Value: Reverse for 'text_text_change' with arguments '(10,)' and keyword arguments '{}' not found.

cms 2.3.4, django 1.5.0 (latest master)

@craigds craigds added a commit to koordinates/django-cms that referenced this issue Nov 17, 2012
@craigds craigds fix plugin content not getting saved under django 1.5 (500 error calc…
…ulating reverse url for admin:cms_page_edit_plugin view) refs divio/django-cms#1519
1e4bba9
@digi604
Divio AG member

could you open a pull request?

@craigds craigds added a commit to koordinates/django-cms that referenced this issue Nov 27, 2012
@craigds craigds fix plugin content not getting saved under django 1.5 (500 error calc…
…ulating reverse url for admin:cms_page_edit_plugin view) refs divio/django-cms#1519
2f6de7a
@bdauvergne bdauvergne added a commit to bdauvergne/django-cms that referenced this issue Mar 14, 2013
@bdauvergne bdauvergne fix plugin content not getting saved under django 1.5 (500 error calc…
…ulating reverse url for admin:cms_page_edit_plugin view) refs divio/django-cms#1519
e10d81f
@craigds craigds added a commit to koordinates/django-cms that referenced this issue Mar 20, 2013
@craigds craigds use @bdauvergne's fix for divio/django-cms#1519 instead of our previo…
…us one, seems django 1.5 final removed 'continue_editing_url' kwarg
bb2603a
@bdauvergne bdauvergne added a commit to bdauvergne/django-cms that referenced this issue May 21, 2013
@bdauvergne bdauvergne fix plugin content not getting saved under django 1.5 (500 error calc…
…ulating reverse url for admin:cms_page_edit_plugin view) refs divio/django-cms#1519
1e8d9a3
@digi604
Divio AG member

fixed in develop

@digi604 digi604 closed this Jul 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment