diff options
author | 2018-10-25 21:02:42 +0100 | |
---|---|---|
committer | 2018-10-25 21:02:42 +0100 | |
commit | aebf48cff6e41eb6d8dde695b10380da4e57d733 (patch) | |
tree | a58f23912a501a09ce890e9a5983bebd48b545e0 /api/viewsets.py | |
parent | Fixed linting (diff) |
code presentasion and help text on models
Diffstat (limited to 'api/viewsets.py')
-rw-r--r-- | api/viewsets.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/api/viewsets.py b/api/viewsets.py index 70fc96f8..08660810 100644 --- a/api/viewsets.py +++ b/api/viewsets.py @@ -20,7 +20,8 @@ from .serializers import ( DocumentationLinkSerializer, MemberSerializer, OffTopicChannelNameSerializer, SnakeFactSerializer, SnakeIdiomSerializer, - SnakeNameSerializer, SpecialSnakeSerializer, TagSerializer + SnakeNameSerializer, SpecialSnakeSerializer, + TagSerializer ) @@ -294,10 +295,10 @@ class SpecialSnakeViewSet(ListModelMixin, GenericViewSet): #### Response Format >>> [ ... { - ... 'name':'Snakky sneakatus', - ... 'info':'Scary snek', - ... 'image':'https://discordapp.com/assets/53ef346458017da2062aca5c7955946b.svg' - ... }, + ... 'name': 'Snakky sneakatus', + ... 'info': 'Scary snek', + ... 'image': 'https://discordapp.com/assets/53ef346458017da2062aca5c7955946b.svg' + ... } ... ] #### Status codes |