Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for TypesenseSearchAdminMixin #78

Prev Previous commit
Next Next commit
Add admin model registration (#61)
KengoWada committed Feb 21, 2024
commit 6589cc7ffab45fb78eed2f03941610fcd9759e05
6 changes: 6 additions & 0 deletions tests/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.contrib import admin

from django_typesense.admin import TypesenseSearchAdminMixin
from tests.models import Song

admin.site.register(Song, TypesenseSearchAdminMixin)