Skip to content

Instantly share code, notes, and snippets.

@sbeidas

sbeidas/versioning.py Secret

Created Dec 14, 2016
Embed
What would you like to do?
# View from the version
from api.versions.v20140211.views import AccountList as BaseAccountList
# New serializer to be applied
from api.versions.v20161025.serializers import AccountSerializer
class AccountList(BaseAccountList):
serializer_class = AccountSerializer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.