Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
a55189c9
Commit
a55189c9
authored
Jan 09, 2019
by
Luko van der Maas
Committed by
Luko van der Maas
Jan 09, 2019
Browse files
remove comments
parent
8f5b3b5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/pizzas/admin.py
View file @
a55189c9
...
...
@@ -17,7 +17,6 @@ class ProductAdmin(admin.ModelAdmin):
@
admin
.
register
(
PizzaEvent
)
class
PizzaEventAdmin
(
admin
.
ModelAdmin
):
list_display
=
(
'title'
,
'orders'
)
# readonly_fields = ('task_id',)
def
orders
(
self
,
obj
):
return
format_html
(
_
(
'<strong><a href="{link}">Orders</a></strong>'
),
...
...
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