takahe/api/views/base.py

6 lines
118 B
Python
Raw Normal View History

2022-12-10 20:03:14 -08:00
from ninja import NinjaAPI
from api.parser import FormOrJsonParser
2022-12-11 10:22:06 -08:00
api_router = NinjaAPI(parser=FormOrJsonParser())