Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
7ce436ee
Commit
7ce436ee
authored
Nov 03, 2014
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FEATURE] FORM removing language from form (automatic) + [BUGFIX] Donut chart in view.
parent
c471c09e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
views.py
gargantext_web/views.py
+1
-1
admin.py
node/admin.py
+2
-2
No files found.
gargantext_web/views.py
View file @
7ce436ee
...
...
@@ -236,7 +236,7 @@ def corpus(request, project_id, corpus_id):
sources_donut
.
append
(
source_count
)
except
:
pass
sources_donut
=
[]
try
:
first
=
documents
.
first
()
.
date
...
...
node/admin.py
View file @
7ce436ee
...
...
@@ -83,7 +83,7 @@ class ProjectForm(ModelForm):
class
ResourceForm
(
ModelForm
):
class
Meta
:
model
=
Resource
exclude
=
[
'user'
,
'guid'
]
exclude
=
[
'user'
,
'guid'
,
'digest'
]
class
CorpusForm
(
ModelForm
):
#parent = ModelChoiceField(EmptyQuerySet)
...
...
@@ -103,7 +103,7 @@ class CorpusForm(ModelForm):
class
Meta
:
model
=
Corpus
exclude
=
[
'parent'
,
'user'
,
'type'
,
'ngrams'
,
'metadata'
,
'date'
]
exclude
=
[
'parent'
,
'user'
,
'
language'
,
'
type'
,
'ngrams'
,
'metadata'
,
'date'
]
class
CorpusAdmin
(
NodeAdmin
):
_parent_nodetype_name
=
'Project'
...
...
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