mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-15 02:33:22 +00:00
22 lines
516 B
Python
22 lines
516 B
Python
from club.models import Club
|
|
from club.schemas import ClubSchema
|
|
from core.views.widgets.select import AutoCompleteSelect, AutoCompleteSelectMultiple
|
|
|
|
_js = ["webpack/club/components/ajax-select-index.ts"]
|
|
|
|
|
|
class AutoCompleteSelectClub(AutoCompleteSelect):
|
|
component_name = "club-ajax-select"
|
|
model = Club
|
|
schema = ClubSchema
|
|
|
|
js = _js
|
|
|
|
|
|
class AutoCompleteSelectMultipleClub(AutoCompleteSelectMultiple):
|
|
component_name = "club-ajax-select"
|
|
model = Club
|
|
schema = ClubSchema
|
|
|
|
js = _js
|