Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-CloudComputing-E
/
E_Team_KhuBox
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
김대연
2020-06-08 17:02:51 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
서승완
2020-06-10 03:27:05 +0900
Commit
9e8c8b8f4b01c8f4249ee82d58389128d90e4a3b
9e8c8b8f
1 parent
a5e31da0
Remove photo field
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
khubox-api/user/models.py
khubox-api/user/models.py
View file @
9e8c8b8
...
...
@@ -48,8 +48,7 @@ class User(AbstractBaseUser):
name
=
models
.
CharField
(
max_length
=
100
)
date_of_birth
=
models
.
DateField
(
default
=
datetime
.
date
.
today
)
storage_usage
=
models
.
FloatField
(
default
=
0
)
profile
=
models
.
ImageField
(
upload_to
=
None
,
height_field
=
None
,
width_field
=
None
,
max_length
=
None
)
is_admin
=
models
.
BooleanField
(
default
=
False
)
USERNAME_FIELD
=
'email'
...
...
Please
register
or
login
to post a comment