##// END OF EJS Templates
Added a todo to the post api method
neko259 -
r546:c72e67b3 1.7-dev
parent child Browse files
Show More
@@ -174,6 +174,7 b' def static_page(request, name):'
174 return render(request, 'boards/staticpages/' + name + '.html', context)
174 return render(request, 'boards/staticpages/' + name + '.html', context)
175
175
176
176
177 # TODO This has to be moved under the api module
177 def api_get_post(request, post_id):
178 def api_get_post(request, post_id):
178 """
179 """
179 Get the JSON of a post. This can be
180 Get the JSON of a post. This can be
@@ -280,4 +281,4 b' def _redirect_to_next(request):'
280 next_page = request.GET['next']
281 next_page = request.GET['next']
281 return HttpResponseRedirect(next_page)
282 return HttpResponseRedirect(next_page)
282 else:
283 else:
283 return redirect('index') No newline at end of file
284 return redirect('index')
General Comments 0
You need to be logged in to leave comments. Login now