Replies: 2 comments
-
what are you looking for? i was able to register a model serializer and a couple readonly views without problems |
Beta Was this translation helpful? Give feedback.
0 replies
-
@papadi166 You would need to create a model serialiser from the Stripe models provided by """
Stripe Billing Objects Serializers module
"""
from rest_framework import serializers
from djstripe import models
from .base import SerializerBase
class SubscriptionSerializer(serializers.ModelSerializer):
"""A serializer used for the Subscription model."""
class Meta:
"""Model class options."""
model = models.Subscription
fields = .....
And then a corresponding |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'am struggling how to use dj-stripe in django REST API and use it in my Nuxt frontend. Maybe someone already used it this way. How the implementation looks? I'am stuck... now I cant find any tutorial which exlpains it.
Beta Was this translation helpful? Give feedback.
All reactions