Created
December 1, 2014 10:27
-
-
Save tomchristie/7b552eace0ba5129999c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
currency_serializer = CurrencySerializer(Currency.objects.all(), many=True) | |
service_serializer = ServiceModuleMinSerializer(ServiceModule.objects.all(), many=True) | |
return Response({ | |
'currencies': currency_serializer.data, | |
'services': service_serializer.data | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment