Compare commits
2 Commits
32a8cbfda6
...
d1c75f7033
Author | SHA1 | Date | |
---|---|---|---|
d1c75f7033 | |||
3833c647aa |
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,3 +2,5 @@
|
||||
*.pyc
|
||||
db.sqlite3
|
||||
**/migrations/**
|
||||
/profiles/static/avatars/*
|
||||
!/profiles/static/avatars/default
|
||||
|
@ -4,7 +4,6 @@ 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