title: How to get all pages details by filtering by cms page type?
body: <p>I am new to django and I want to get all page details filtering by page type in django-cms. </p>
  
  <p>I used below def to display it in a template.</p>
  
  <pre class="lang-py prettyprint-override"><code>
      def cms_detailed_view(request):
        all_pages = Title.objects.public().values()
        context= {'pages': all_pages}
        return render(request, 'node-detailed.html', context)
  
  </code></pre>
  
  <p>It gives all pages. But I wants to filter it by page type. I don't know how to use filter method to filter by page type like </p>
  
  <pre class="lang-py prettyprint-override"><code>
      all_pages = Title.objects.filter(type="pagetype")
  
  </code></pre>