Compare commits
No commits in common. "d1c75f7033342b10b47998411ce950e54d111995" and "32a8cbfda6f4e8325b757c463da9e924bb30b773" have entirely different histories.
d1c75f7033
...
32a8cbfda6
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,6 +1,4 @@
|
||||
.env
|
||||
*.pyc
|
||||
db.sqlite3
|
||||
**/migrations/**
|
||||
/profiles/static/avatars/*
|
||||
!/profiles/static/avatars/default
|
||||
**/migrations/**
|
@ -4,6 +4,7 @@ from .models import ProfileModel
|
||||
class ProfileSerializer(serializers.ModelSerializer):
|
||||
|
||||
username = serializers.ReadOnlyField(source='user.username')
|
||||
#creator_id = serializers.ReadOnlyField(source='user.pk')
|
||||
avatar_url = serializers.ImageField(required=False)
|
||||
|
||||
class Meta:
|
||||
|
Loading…
Reference in New Issue
Block a user