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
ef388d82
Commit
ef388d82
authored
Jan 22, 2020
by
Gladys Forte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
filter files for all dependent of branches endpoint
parent
162f34f6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
3 deletions
+5
-3
app/applicationlayer/master/branch/serializer.py
app/applicationlayer/master/branch/serializer.py
+1
-0
app/applicationlayer/master/branch/views.py
app/applicationlayer/master/branch/views.py
+0
-1
app/applicationlayer/master/urls.py
app/applicationlayer/master/urls.py
+1
-1
app/entities/migrations/0006_branch.py
app/entities/migrations/0006_branch.py
+1
-0
app/entities/models.py
app/entities/models.py
+2
-1
No files found.
app/applicationlayer/master/branch/serializer.py
View file @
ef388d82
...
@@ -6,3 +6,4 @@ class BranchSerializer(serializers.ModelSerializer):
...
@@ -6,3 +6,4 @@ class BranchSerializer(serializers.ModelSerializer):
class
Meta
:
class
Meta
:
model
=
Branch
model
=
Branch
fields
=
'__all__'
fields
=
'__all__'
app/applicationlayer/master/branch/views.py
View file @
ef388d82
...
@@ -12,7 +12,6 @@ class BranchViewSet(viewsets.ModelViewSet):
...
@@ -12,7 +12,6 @@ class BranchViewSet(viewsets.ModelViewSet):
serializer_class
=
BranchSerializer
serializer_class
=
BranchSerializer
pagination_class
=
CustomPagination
pagination_class
=
CustomPagination
lookup_field
=
'id'
lookup_field
=
'id'
# http_method_names = ['get']
def
list
(
self
,
request
,
*
args
,
**
kwargs
):
def
list
(
self
,
request
,
*
args
,
**
kwargs
):
...
...
app/applicationlayer/master/urls.py
View file @
ef388d82
...
@@ -20,4 +20,4 @@ urlpatterns = [
...
@@ -20,4 +20,4 @@ urlpatterns = [
path
(
''
,
include
(
router
.
urls
)),
path
(
''
,
include
(
router
.
urls
)),
url
(
r'^user-types/$'
,
UserTypeViewSet
.
as_view
(),
name
=
"user-types"
),
url
(
r'^user-types/$'
,
UserTypeViewSet
.
as_view
(),
name
=
"user-types"
),
url
(
r'^dashboard/$'
,
RMSDashBoardViewSet
.
as_view
(),
name
=
"dashboard"
),
url
(
r'^dashboard/$'
,
RMSDashBoardViewSet
.
as_view
(),
name
=
"dashboard"
),
]
]
\ No newline at end of file
app/entities/migrations/0006_branch.py
View file @
ef388d82
...
@@ -25,3 +25,4 @@ class Migration(migrations.Migration):
...
@@ -25,3 +25,4 @@ class Migration(migrations.Migration):
},
},
),
),
]
]
app/entities/models.py
View file @
ef388d82
...
@@ -1276,6 +1276,7 @@ class ChangeRequestSettings(models.Model):
...
@@ -1276,6 +1276,7 @@ class ChangeRequestSettings(models.Model):
# branches info
# branches info
class
Branch
(
models
.
Model
):
class
Branch
(
models
.
Model
):
enviroment
=
models
.
CharField
(
enviroment
=
models
.
CharField
(
max_length
=
255
)
max_length
=
255
)
...
@@ -1291,6 +1292,6 @@ class Branch(models.Model):
...
@@ -1291,6 +1292,6 @@ class Branch(models.Model):
class
Meta
:
class
Meta
:
db_table
=
'branches'
db_table
=
'branches'
def
__str__
(
self
):
def
__str__
(
self
):
return
f
'{self.branch_name}'
return
f
'{self.branch_name}'
\ No newline at end of file
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