Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/tibonihoo/wateronmars
Browse files Browse the repository at this point in the history
  • Loading branch information
tibonihoo committed May 2, 2015
2 parents 7188e13 + 7b54be9 commit af9f9e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wom_user/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def user_river_source_item(request, owner_name, source_url):
return HttpResponseBadRequest(str(e))
feedForms = {}
for idx,feed in enumerate(WebFeed.objects.filter(source__url=source_url)):
currentPrefix = "feed{}".format(idx)
currentPrefix = "feed{0}".format(idx)
initial = {"follow": feed in owner_profile.web_feeds.all()}
followFieldName = currentPrefix+"-follow"
if form_data and followFieldName not in form_data[0]:
Expand Down

0 comments on commit af9f9e6

Please sign in to comment.