summaryrefslogtreecommitdiffstats
path: root/api/views/base.py
blob: 33efc4762dd8dd2b243c5f98f7e82cbc41478731 (plain)
1
2
3
4
5
from ninja import NinjaAPI

from api.parser import FormOrJsonParser

api_router = NinjaAPI(parser=FormOrJsonParser())