projects
/
mediagoblin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't pass request into run_process_media
[mediagoblin.git]
/
mediagoblin
/
plugins
/
api
/
views.py
diff --git
a/mediagoblin/plugins/api/views.py
b/mediagoblin/plugins/api/views.py
index 7383e20d039de9138737907ded5fd4a0251326c3..2055a663a18e574c19bb9768a9af492e0f902586 100644
(file)
--- a/
mediagoblin/plugins/api/views.py
+++ b/
mediagoblin/plugins/api/views.py
@@
-86,7
+86,10
@@
def post_entry(request):
#
# (... don't change entry after this point to avoid race
# conditions with changes to the document via processing code)
#
# (... don't change entry after this point to avoid race
# conditions with changes to the document via processing code)
- run_process_media(entry, request)
+ feed_url = request.urlgen(
+ 'mediagoblin.user_pages.atom_feed',
+ qualified=True, user=request.user.username)
+ run_process_media(entry, feed_url)
return json_response(get_entry_serializable(entry, request.urlgen))
return json_response(get_entry_serializable(entry, request.urlgen))