Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
craigds opened this Issue · 2 comments

2 participants

Craig de Stigter Patrick Lauber
Craig de Stigter

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)

Craig de Stigter craigds referenced this issue from a commit in koordinates/django-cms
Craig de Stigter 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
Patrick Lauber
Collaborator

could you open a pull request?

Craig de Stigter craigds referenced this issue from a commit in koordinates/django-cms
Craig de Stigter 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
Benjamin Dauvergne bdauvergne referenced this issue from a commit in bdauvergne/django-cms
Benjamin Dauvergne 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
Craig de Stigter craigds referenced this issue from a commit in koordinates/django-cms
Craig de Stigter 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
Benjamin Dauvergne bdauvergne referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Benjamin Dauvergne bdauvergne referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Benjamin Dauvergne bdauvergne referenced this issue from a commit in bdauvergne/django-cms
Benjamin Dauvergne 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
Patrick Lauber
Collaborator

fixed in develop

Patrick Lauber digi604 closed this
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.