title: How to match text in cmsplugin_text table to URL in Django CMS
body: <p>We have created a site for a client using Django CMS and are approaching the launch date. There are a number of links to files on their old site. Doing a search of the <code>cmsplugin_text</code> table, I find 12 entries that contain the URL. There is no simple mapping to the new file download URL from the old download URL, so I need to find the pages these 12 entries appear on and tell our client so they can edit the page.</p>
  
  <p>But the database is not easy to follow. So how do I go from the value of the <code>cmsplugin_ptr_id</code> column of the <code>cmsplugin_text</code> column to the URL of the page? I'm fairly sure that the <code>cmsplugin_ptr_id</code> is meant to line up with the <code>id</code> of the <code>cms_cmsplugin</code> table. That table also has <code>parent_id</code>, <code>tree_id</code> and <code>placeholder_id</code>, but I've kind of got lost at this point.</p>
  
  <p>I'm happy to use either the database commands directly, or to use <code>manage.py shell</code> to do this.</p>