Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Carlos Ribas
rnacentral-webcode
Commits
982b9630
Commit
982b9630
authored
May 26, 2021
by
carlosribas
Browse files
Use LargeTablePagination
parent
17aa3e52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
rnacentral/apiv1/views.py
rnacentral/apiv1/views.py
+3
-3
No files found.
rnacentral/apiv1/views.py
View file @
982b9630
...
...
@@ -43,7 +43,7 @@ from apiv1.renderers import RnaFastaRenderer
from
portal.models
import
Rna
,
RnaPrecomputed
,
Accession
,
Database
,
DatabaseStats
,
RfamHit
,
EnsemblAssembly
,
\
GoAnnotation
,
RelatedSequence
,
ProteinInfo
,
SequenceFeature
,
SequenceRegion
,
EnsemblCompara
from
portal.config.expert_databases
import
expert_dbs
from
rnacentral.utils.pagination
import
Pagination
from
rnacentral.utils.pagination
import
Pagination
,
LargeTablePagination
from
colorhash
import
ColorHash
...
...
@@ -170,11 +170,11 @@ class RnaSequences(RnaMixin, generics.ListAPIView):
"""
# the above docstring appears on the API website
permission_classes
=
(
AllowAny
,)
filter_class
=
RnaFilter
filter
set
_class
=
RnaFilter
renderer_classes
=
(
renderers
.
JSONRenderer
,
JSONPRenderer
,
renderers
.
BrowsableAPIRenderer
,
YAMLRenderer
,
RnaFastaRenderer
)
pagination_class
=
Pagination
pagination_class
=
LargeTable
Pagination
def
list
(
self
,
request
,
*
args
,
**
kwargs
):
"""
...
...
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