mirror of
https://github.com/lemeow125/Borrowing-TrackerBackend.git
synced 2024-11-17 06:19:26 +08:00
hotfix to null course and section
This commit is contained in:
parent
4a9c81fd34
commit
e8a30537c8
1 changed files with 0 additions and 2 deletions
|
@ -10,8 +10,6 @@ from django.core.cache import cache
|
||||||
|
|
||||||
class CustomUserSerializer(serializers.ModelSerializer):
|
class CustomUserSerializer(serializers.ModelSerializer):
|
||||||
name = serializers.CharField(source='__str__')
|
name = serializers.CharField(source='__str__')
|
||||||
course = serializers.CharField()
|
|
||||||
section = serializers.CharField()
|
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = CustomUser
|
model = CustomUser
|
||||||
|
|
Loading…
Reference in a new issue