Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Backend
Commits
99a925de
Commit
99a925de
authored
6 years ago
by
Erwan Rouchet
Browse files
Options
Downloads
Patches
Plain Diff
Unused imports
parent
dbc75ae3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!18
Transcription search
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/documents/api.py
+0
-2
0 additions, 2 deletions
src/documents/api.py
with
0 additions
and
2 deletions
src/documents/api.py
+
0
−
2
View file @
99a925de
from
rest_framework
import
status
from
rest_framework.response
import
Response
from
rest_framework.generics
import
ListAPIView
,
RetrieveAPIView
from
rest_framework.pagination
import
PageNumberPagination
from
documents.serializers
import
\
DocumentSerializer
,
PageLightSerializer
,
SearchResultSerializer
,
\
VolumeManifestSerializer
,
PageAnnotationListSerializer
from
documents.models
import
Document
,
DocumentType
,
Page
from
documents.search
import
search_transcriptions
from
functools
import
lru_cache
class
DocumentsList
(
ListAPIView
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment