Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
R
red-ci-cd
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
red-group-test
red-ci-cd
Commits
2f9f7780
Commit
2f9f7780
authored
Sep 13, 2019
by
Gladys Forte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update model
parent
f05bb387
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
app/applicationlayer/cms/urls_cms.py
app/applicationlayer/cms/urls_cms.py
+0
-0
app/entities/models.py
app/entities/models.py
+9
-5
config/urls.py
config/urls.py
+1
-1
No files found.
app/applicationlayer/urls_cms.py
→
app/applicationlayer/
cms/
urls_cms.py
View file @
2f9f7780
File moved
app/entities/models.py
View file @
2f9f7780
...
...
@@ -360,10 +360,6 @@ class BaseHeader(models.Model):
blank
=
True
,
null
=
True
)
requested_to_target_date
=
models
.
DateTimeField
(
blank
=
True
,
null
=
True
)
requested_to_priority
=
models
.
CharField
(
max_length
=
255
)
description
=
models
.
CharField
(
...
...
@@ -486,6 +482,10 @@ class ChangeRequestTemplateHeader(BaseHeader):
on_delete
=
models
.
DO_NOTHING
,
to_field
=
'code'
,
related_name
=
'created_by_department'
)
requested_to_target_date
=
models
.
CharField
(
blank
=
True
,
null
=
True
)
archived_at
=
models
.
DateTimeField
(
blank
=
True
,
...
...
@@ -587,7 +587,7 @@ class ChangeRequestTemplateAttachments(BaseAttachment):
archived_at
=
models
.
DateTimeField
(
blank
=
True
,
null
=
True
)
class
Meta
:
db_table
=
'change_request_template_attachments'
...
...
@@ -688,6 +688,10 @@ class ChangeRequestFormHeader(BaseHeader):
requested_to_template_id
=
models
.
CharField
(
max_length
=
255
)
requested_to_target_date
=
models
.
DateTimeField
(
blank
=
True
,
null
=
True
)
class
Meta
:
db_table
=
'change_request_form_headers'
...
...
config/urls.py
View file @
2f9f7780
...
...
@@ -24,7 +24,7 @@ urlpatterns = [
path
(
'api-auth/'
,
include
(
'rest_framework.urls'
)),
path
(
'api/v1/auth/'
,
include
(
'app.accesslayer.urls'
)),
path
(
'api/v1/management/'
,
include
(
'app.applicationlayer.urls'
)),
path
(
'api/v1/change-request/'
,
include
(
'app.applicationlayer.urls_cms'
)),
path
(
'api/v1/change-request/'
,
include
(
'app.applicationlayer.
cms.
urls_cms'
)),
path
(
'api/v1/master/'
,
include
(
'app.applicationlayer.master.urls'
)),
url
(
r'^chat/$'
,
notifview
.
index
,
name
=
'index'
),
url
(
r'^chat/(?P<room_name>[^/]+)/$'
,
notifview
.
room
,
name
=
'room'
),
...
...
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