Skip to content

Instantly share code, notes, and snippets.

@sbeidas
Created December 14, 2016 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sbeidas/f6765bfaf90c71cc1c79884d9995a7f6 to your computer and use it in GitHub Desktop.
Save sbeidas/f6765bfaf90c71cc1c79884d9995a7f6 to your computer and use it in GitHub Desktop.
# 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