File: other_lookups.py

package info (click to toggle)
django-ajax-selects 1.7.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 356 kB
  • sloc: python: 924; javascript: 191; makefile: 4
file content (9 lines) | stat: -rw-r--r-- 205 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
"""Testing if lookups that are not in a file named lookups.py can be loaded correctly."""

import ajax_select
from tests.models import Book


class BookLookup(ajax_select.LookupChannel):

    model = Book