Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Websites UFRPE
Wagtail Videos
Commits
46bb4e25
Commit
46bb4e25
authored
Jul 13, 2016
by
Liam Brenner
Browse files
Fixed deprecation warning for django 1.10
parent
ef3bd8d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
wagtailvideos/models.py
View file @
46bb4e25
...
...
@@ -104,9 +104,9 @@ class AbstractVideo(CollectionMember, TagSearchable):
def
usage_url
(
self
):
return
reverse
(
'wagtailvideos:video_usage'
,
args
=
(
self
.
id
,))
search_fields
=
TagSearchable
.
search_fields
+
CollectionMember
.
search_fields
+
(
search_fields
=
TagSearchable
.
search_fields
+
CollectionMember
.
search_fields
+
[
index
.
FilterField
(
'uploaded_by_user'
),
)
]
def
__str__
(
self
):
return
self
.
title
...
...
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