takahe/api/views/base.py

6 lines
118 B
Python

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