Take this example of a view that returns two querysets each nested into its own object
# schemas.py
class CardModelOut(ModelSchema):
class Meta:
model = Card
fields = [
"id",
Take this example of a view that returns two querysets each nested into its own object
# schemas.py
class CardModelOut(ModelSchema):
class Meta:
model = Card
fields = [
"id",
| from django.conf import settings | |
| from django.http import HttpRequest | |
| import requests | |
| from joserfc.jwk import KeySet | |
| from joserfc import jwt | |
| from joserfc.jwt import Token | |
| from requests import Response | |
| from project.types import EmailOrNot, OptionalEmail, OptionalToken |