Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-CloudComputing
/
A_Team_Khuloud
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Flare-k
2020-05-28 17:27:39 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bee427201b8a4ce964377a72b2df3ade083fc5cb
bee42720
1 parent
9e1dc4c5
Model 수정
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
A_Team_Khuloud/khuloud/cloud/models.py
A_Team_Khuloud/khuloud/cloud/models.py
View file @
bee4272
...
...
@@ -5,11 +5,10 @@ from django.utils import timezone
class
File
(
models
.
Model
):
file
=
models
.
FileField
(
upload_to
=
None
,
max_length
=
100
,
)
# file = models.FileField(upload_to=None, max_length=100) #일단 보류
name
=
models
.
CharField
(
max_length
=
50
)
isFolder
=
models
.
BooleanField
(
default
=
False
)
path
=
models
.
FilePathField
(
path
=
None
,
match
=
None
,
recursive
=
False
,
max_length
=
100
)
path
=
models
.
TextField
()
owner
=
models
.
CharField
(
max_length
=
30
)
fileSize
=
models
.
IntegerField
()
createdDate
=
models
.
DateTimeField
(
auto_now_add
=
True
)
...
...
Please
register
or
login
to post a comment