When deleting an entire site, pages get deleted but plugins don't #1578

kux opened this Issue Jan 10, 2013 · 1 comment


None yet
2 participants

kux commented Jan 10, 2013

Reproduced in django-cms 2.3.3

Steps to reproduce:

  1. create a site
  2. create a page in the new site
  3. create a plugin in the new page
  4. delete the site

both page and plugin get deleted

page gets deleted, plugin doesn't

This seems to happen due to the fact that pagemodel.Page.delete doesn't get called when performing site deletions, probably due to the pages being bulk deleted (see https://docs.djangoproject.com/en/dev/topics/db/queries/#deleting-objects)


digi604 commented Jul 11, 2013

we would probably need a signal listener there... or something.

@digi604 digi604 added this to the 3.0 milestone Feb 10, 2014

digi604 added a commit to digi604/django-cms that referenced this issue Feb 19, 2014

@digi604 digi604 closed this in #2672 Feb 19, 2014

digi604 added a commit that referenced this issue Feb 19, 2014

yakky added a commit to yakky/django-cms that referenced this issue Nov 8, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment