Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
final_quintupoltrobol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Matthew Karl David P. Arpas
final_quintupoltrobol
Commits
d7060978
Commit
d7060978
authored
Mar 04, 2023
by
Matthew Karl David P. Arpas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed target_datetime fieldtype to be CharField to more easily follow project specifications
parent
173e6f1e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
db.sqlite3
widget_quintupoltrobol/db.sqlite3
+0
-0
models.cpython-311.pyc
...trobol/widget_calendar/__pycache__/models.cpython-311.pyc
+0
-0
models.py
widget_quintupoltrobol/widget_calendar/models.py
+2
-2
No files found.
widget_quintupoltrobol/db.sqlite3
View file @
d7060978
No preview for this file type
widget_quintupoltrobol/widget_calendar/__pycache__/models.cpython-311.pyc
View file @
d7060978
No preview for this file type
widget_quintupoltrobol/widget_calendar/models.py
View file @
d7060978
...
...
@@ -14,10 +14,10 @@ class Location(models.Model):
venue
=
models
.
TextField
()
def
__str__
(
self
):
return
'{}
\n
{}'
.
format
(
self
.
venue
,
self
.
mod
e
)
return
'{}
, {}'
.
format
(
self
.
mode
,
self
.
venu
e
)
class
Event
(
models
.
Model
):
target_datetime
=
models
.
DateTimeField
(
)
target_datetime
=
models
.
CharField
(
max_length
=
50
)
activity
=
models
.
TextField
(
max_length
=
300
)
estimated_hours
=
models
.
FloatField
()
location
=
models
.
ForeignKey
(
Location
,
on_delete
=
models
.
CASCADE
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment