Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GeoInt_SIDT
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
Mario Chirinos Colunga
GeoInt_SIDT
Commits
72301add
Commit
72301add
authored
May 15, 2019
by
Ulises Morales Ramírez
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
1c9124eb
1c4bde6d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
admin.py
catalog/admin.py
+1
-1
models.py
catalog/models.py
+3
-0
No files found.
catalog/admin.py
View file @
72301add
...
...
@@ -13,7 +13,7 @@ from catalog.models import Platform
#admin.site.register(Publisher)
class
ProcessAdmin
(
admin
.
ModelAdmin
):
list_display
=
(
'name'
,
'platform'
,
'productLevel'
)
list_display
=
(
'name'
,
'platform'
,
'productLevel'
,
'description'
,
'command'
)
admin
.
site
.
register
(
Process
,
ProcessAdmin
)
...
...
catalog/models.py
View file @
72301add
...
...
@@ -55,6 +55,9 @@ class Process(models.Model):
platform
=
models
.
ForeignKey
(
Platform
,
on_delete
=
models
.
CASCADE
,
default
=
''
)
productLevel
=
models
.
CharField
(
max_length
=
8
,
default
=
''
)
status
=
models
.
BooleanField
(
default
=
True
)
description
=
models
.
TextField
(
default
=
""
)
command
=
models
.
CharField
(
max_length
=
100
,
default
=
''
)
parameters
=
models
.
TextField
(
default
=
""
)
class
Search
(
models
.
Model
):
...
...
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