Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CS699-Project
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Meet Narendra
CS699-Project
Commits
5adda3ff
Commit
5adda3ff
authored
Nov 21, 2022
by
Meet Narendra
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified project table
parent
abeec8c7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
sitcomm/home/migrations/0002_projects_confluence_id_projects_git_id_and_more.py
...s/0002_projects_confluence_id_projects_git_id_and_more.py
+28
-0
sitcomm/home/models.py
sitcomm/home/models.py
+4
-0
No files found.
sitcomm/home/migrations/0002_projects_confluence_id_projects_git_id_and_more.py
0 → 100644
View file @
5adda3ff
# Generated by Django 4.1.1 on 2022-11-21 10:39
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
"home"
,
"0001_initial"
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
"projects"
,
name
=
"confluence_id"
,
field
=
models
.
CharField
(
default
=
""
,
max_length
=
50
),
),
migrations
.
AddField
(
model_name
=
"projects"
,
name
=
"git_id"
,
field
=
models
.
CharField
(
default
=
""
,
max_length
=
50
),
),
migrations
.
AddField
(
model_name
=
"projects"
,
name
=
"jira_id"
,
field
=
models
.
CharField
(
default
=
""
,
max_length
=
50
),
),
]
sitcomm/home/models.py
View file @
5adda3ff
...
...
@@ -22,6 +22,10 @@ class Projects(models.Model):
pname
=
models
.
CharField
(
max_length
=
50
)
created_date
=
models
.
DateTimeField
(
auto_now_add
=
True
,
blank
=
True
)
powner
=
models
.
CharField
(
max_length
=
50
)
git_id
=
models
.
CharField
(
max_length
=
50
,
default
=
''
)
jira_id
=
models
.
CharField
(
max_length
=
50
,
default
=
''
)
confluence_id
=
models
.
CharField
(
max_length
=
50
,
default
=
''
)
def
__str__
(
self
):
return
f
'{self.pid=},{self.pname=},{self.created_date=},{self.powner=}'
...
...
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