Compare commits

..

2 Commits

Author SHA1 Message Date
d1c75f7033 clean: remove bozo commnet 2023-12-06 15:33:18 +01:00
3833c647aa ignore avatars 2023-12-06 15:33:04 +01:00
2 changed files with 3 additions and 2 deletions

4
.gitignore vendored
View File

@ -1,4 +1,6 @@
.env
*.pyc
db.sqlite3
**/migrations/**
**/migrations/**
/profiles/static/avatars/*
!/profiles/static/avatars/default

View File

@ -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: