takahe/api/views/base.py
2022-12-12 11:56:49 -07:00

5 lines
118 B
Python

from ninja import NinjaAPI
from api.parser import FormOrJsonParser
api_router = NinjaAPI(parser=FormOrJsonParser())