title: django cms - resolving pages url by slug
body: <p>Is it possible to resolve a page url by its slug?
  Something like:</p>
  
  <pre><code>from django.core.urlresolvers import reverse
  reverse('pages-details-by-slug',{slug:'my-page-slug'})
  </code></pre>
  
  <p>But I got: </p>
  
  <pre><code>NameError: name 'slug' is not defined
  </code></pre>
  
  <p>Any help on this? </p>