diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2011-11-21 21:40:48 +0100 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2011-11-22 22:29:37 +0100 |
commit | 30188321531e1b0d3c78166498702bbd8c7dc2bc (patch) | |
tree | 2aaabcf0f3157a032e316066101f2db819ab09c8 /mediagoblin/listings | |
parent | 4d4e5b435b54fcf0920786a40e190c1748cc2ed1 (diff) | |
download | mediagoblin-30188321531e1b0d3c78166498702bbd8c7dc2bc.tar.lz mediagoblin-30188321531e1b0d3c78166498702bbd8c7dc2bc.tar.xz mediagoblin-30188321531e1b0d3c78166498702bbd8c7dc2bc.zip |
Rename MediaEntry.uploader() to .get_uploader()
The .uploader() method conflicts with the uploader database
field. As we're moving to .FIELD for db field access, this
is a relevant conflict.
So renaming .uploader() to .get_uploader()
Diffstat (limited to 'mediagoblin/listings')
-rw-r--r-- | mediagoblin/listings/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/listings/views.py b/mediagoblin/listings/views.py index 12e539e7..5a09de43 100644 --- a/mediagoblin/listings/views.py +++ b/mediagoblin/listings/views.py @@ -86,7 +86,7 @@ def tag_atom_feed(request): feed.add(entry.get('title'), entry.get('description_html'), content_type='html', - author=entry.uploader()['username'], + author=entry.get_uploader()['username'], updated=entry.get('created'), url=entry.url_for_self(request.urlgen)) |