Skip to content
Snippets Groups Projects
Commit 8376f31c authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Explicit field names are better than implicit ones.

parent 2d1decb1
No related branches found
No related tags found
No related merge requests found
......@@ -25,4 +25,12 @@ from rest_framework import serializers
class ProfileSerializer(serializers.ModelSerializer):
class Meta:
model = Profile
fields = "__all__"
fields = (
"user",
"cba_username",
"cba_user_token",
"created_at",
"created_by",
"updated_at",
"updated_by",
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment