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
Merge requests
!2517
Explicit fields in Corpus admin
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Explicit fields in Corpus admin
corpus-admin-fields
into
release-1.7.3
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Valentin Rigal
requested to merge
corpus-admin-fields
into
release-1.7.3
2 months ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
Ref.
https://gitlab.teklia.com/arkindex/enterprise/-/issues/43#note_272548
0
0
Merge request reports
Compare
release-1.7.3
version 1
c2492ee2
2 months ago
release-1.7.3 (base)
and
latest version
latest version
89dd3a13
2 commits,
2 months ago
version 1
c2492ee2
1 commit,
2 months ago
1 file
+
2
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
arkindex/documents/admin.py
+
2
−
0
Options
@@ -31,6 +31,8 @@ class ElementTypeInline(admin.TabularInline):
class
CorpusAdmin
(
admin
.
ModelAdmin
):
fields
=
(
"
id
"
,
"
name
"
,
"
description
"
,
"
top_level_type
"
,
"
public
"
,
"
indexable
"
,
"
maximum_task_ttl
"
,
"
created
"
)
readonly_fields
=
(
"
id
"
,
"
created
"
)
list_display
=
(
"
id
"
,
"
name
"
,
"
public
"
,
"
top_level_type
"
,
"
created
"
)
search_fields
=
(
"
name
"
,
)
inlines
=
(
ElementTypeInline
,
)
Loading