title: Django dynamic urls / Sitemap builder
body: <p>I am trying to create a site map builder in django.
  This would consist of a model that looks something like this:</p>
  
  <pre><code>class SiteMap(models.Model):
      title = models.CharField(max_length=256) # The title of the page
      url = models.CharField(max_length=256) # url fragement, .../url/...
      page_type = models.CharField(max_length=256) # Like forum, livechat, etc...
      under_page = models.ForeignKey(SiteMap, blank=True) # page this exists under
  </code></pre>
  
  <p>All of the views would be preexisting so my question is how do I direct the url created from the models into the views.</p>
  
  <p>If this method is completely wrong don't be afraid to suggest a completely new way of doing this.</p>