diff --git a/boards/views/__init__.py b/boards/views/__init__.py --- a/boards/views/__init__.py +++ b/boards/views/__init__.py @@ -174,6 +174,7 @@ def static_page(request, name): return render(request, 'boards/staticpages/' + name + '.html', context) +# TODO This has to be moved under the api module def api_get_post(request, post_id): """ Get the JSON of a post. This can be @@ -280,4 +281,4 @@ def _redirect_to_next(request): next_page = request.GET['next'] return HttpResponseRedirect(next_page) else: - return redirect('index') \ No newline at end of file + return redirect('index')