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
0d73a74b
Commit
0d73a74b
authored
Feb 05, 2020
by
Gladys Forte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
{dev bugfix} custom pagination set to 1000 max
parent
ec799e00
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/applicationlayer/utils.py
app/applicationlayer/utils.py
+1
-1
app/helper/decorators.py
app/helper/decorators.py
+1
-1
No files found.
app/applicationlayer/utils.py
View file @
0d73a74b
...
...
@@ -48,7 +48,7 @@ class DynamicSerializer(serializers.ModelSerializer):
class
CustomPagination
(
PageNumberPagination
):
page_size
=
10
max_page_size
=
5
0
max_page_size
=
100
0
page_query_param
=
'page'
page_size_query_param
=
'page_size'
...
...
app/helper/decorators.py
View file @
0d73a74b
...
...
@@ -354,7 +354,7 @@ def FormValidation(function):
@
wraps
(
function
)
def
wrapper
(
self
,
request
,
*
args
,
**
kwargs
):
form_header
=
request
.
data
required
=
{
'requested_to_template_name'
:
'CR Name'
,
'requested_to_target_date'
:
'Date Required'
,
'requested_to_company'
:
'Company'
,
...
...
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