Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Alain Shakour
clowdflows
Commits
5ff2645b
Commit
5ff2645b
authored
Sep 28, 2012
by
matjaz
Browse files
Correction (no ; at the end of a line in Python).
parent
a8df36fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
workflows/admin.py
View file @
5ff2645b
...
...
@@ -5,8 +5,8 @@ from django.db import models
from
orderable_inlines
import
OrderableTabularInline
admin
.
ModelAdmin
.
save_as
=
True
;
#adds "Save as new" button to all admin interfaces
admin
.
ModelAdmin
.
save_on_top
=
True
;
#adds admin buttons also on the top of the page
admin
.
ModelAdmin
.
save_as
=
True
#adds "Save as new" button to all admin interfaces
admin
.
ModelAdmin
.
save_on_top
=
True
#adds admin buttons also on the top of the page
admin
.
ModelAdmin
.
search_fields
=
[
'name'
]
#adds search button on top of admin lists (allways searches by name)
class
OrderableTabularInlineStyled
(
OrderableTabularInline
):
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment