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
e0ecfb86
Commit
e0ecfb86
authored
Jan 22, 2020
by
Gladys Forte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev debug=True
parent
6b645403
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/applicationlayer/master/branch/views.py
app/applicationlayer/master/branch/views.py
+1
-1
config/settings/dev.py
config/settings/dev.py
+1
-1
No files found.
app/applicationlayer/master/branch/views.py
View file @
e0ecfb86
...
@@ -14,7 +14,7 @@ class BranchViewSet(viewsets.ModelViewSet):
...
@@ -14,7 +14,7 @@ class BranchViewSet(viewsets.ModelViewSet):
lookup_field
=
'id'
lookup_field
=
'id'
# pagination.PageNumberPagination.page_size = 100
# pagination.PageNumberPagination.page_size = 100
pagination_class
.
page_size
=
100
pagination_class
.
page_size
=
100
def
list
(
self
,
request
,
*
args
,
**
kwargs
):
def
list
(
self
,
request
,
*
args
,
**
kwargs
):
queryset
=
self
.
filter_queryset
(
self
.
get_queryset
())
queryset
=
self
.
filter_queryset
(
self
.
get_queryset
())
...
...
config/settings/dev.py
View file @
e0ecfb86
from
.base
import
*
from
.base
import
*
import
configparser
import
configparser
DEBUG
=
Fals
e
DEBUG
=
Tru
e
ALLOWED_HOSTS
=
[
'*'
]
ALLOWED_HOSTS
=
[
'*'
]
# CORS_ORIGIN_ALLOW_ALL = True
# CORS_ORIGIN_ALLOW_ALL = True
...
...
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