title: URLs stored in database for Django site
body: <p>I've produced a few Django sites but up until now I have been mapping individual views and URLs in urls.py.</p>
  
  <p>Now I've tried to create a small custom CMS but I'm having trouble with the URLs. I have a database table (SQLite3) which contains code for the pages like a column for header, one for right menu, one for content.... so on, so on. I also have a column for the URL. How do I get Django to call the information in the database table from the URL stored in the column rather than having to code a view and the URL for every page (which obviously defeats the purpose of a CMS)?</p>
  
  <p>If someone can just point me at the right part of the docs or a site which explains this it would help a lot.</p>
  
  <p>Thanks all.</p>