mirror of
https://github.com/fergalmoran/dss.api.git
synced 2025-12-27 11:48:06 +00:00
Python 3 upgrade
This commit is contained in:
@@ -25,6 +25,7 @@ from spa.models.activity import ActivityPlay
|
||||
from spa.models.mix import Mix
|
||||
from spa.models.comment import Comment
|
||||
from spa.models.notification import Notification
|
||||
from spa.models.show import Show
|
||||
from spa.models.userprofile import UserProfile
|
||||
|
||||
logger = logging.getLogger('spa')
|
||||
@@ -308,3 +309,7 @@ class MessageViewSet(viewsets.ModelViewSet):
|
||||
|
||||
def perform_update(self, serializer):
|
||||
self.__perform_write(serializer)
|
||||
|
||||
class ShowViewSet(viewsets.ModelViewSet):
|
||||
queryset = Show.objects.all()
|
||||
serializer_class = serializers.ShowSerializer
|
||||
|
||||
Reference in New Issue
Block a user