title: Django admin search/filter functionality as a page table
body: <p>I was wondering if there is a way to use the power of Django Admin's filtering/ordering/paginating/search capabilities in a regular view. </p>
  
  <p>What I mean is that I have a model, some fields on it. I'd like to have a "search" form, where fields would be defined much like using admin.ModelAdmin. User would be able to search (using provided fields), filter by values, paginate through pages of result table etc. All that without minimal amount of work on my part, eg. just configuration which fields should be used in the form. Something like this:</p>
  
  <pre><code>class SchoolAdmin(ModelAdmin):
      list_display = ('id', 'name', )
      list_display_links = ('name', )
      search_fields = ('name', )
      list_filter = ('type', )
  </code></pre>
  
  <p>Is there something like this available? Or do I have to code it myself?</p>
  
  <p>Edit: </p>
  
  <p>Features I require from such a plugin/application are:</p>
  
  <ol>
  <li>Display data as a table</li>
  <li>Sorting by columns</li>
  <li>Filtering (eg. "show only rows that has X = Y")</li>
  <li>Searching by columns</li>
  <li>Optionally configuration similar to ModelAdmin style</li>
  </ol>
  
  <p>Alasdair's <a href="https://github.com/bradleyayers/django-tables2" title="django-tables2">django-tables2</a>  only matches 1st and 2nd conditions.</p>