File: test_urls.py

package info (click to toggle)
django-filter 0.5.3-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 240 kB
  • sloc: python: 1,073; makefile: 3
file content (7 lines) | stat: -rw-r--r-- 190 bytes parent folder | download
1
2
3
4
5
6
7
from django.conf.urls.defaults import *

from django_filters.tests.models import Book

urlpatterns = patterns('',
    (r'^books/$', 'django_filters.views.object_filter', {'model': Book}),
)