X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/d07cf3cca65ebf77b544c698ceb579fd33cb19d0..e7821612b90b7ce9bd39c5c3d404ce9814e33b3c:/apps/explorer/views.py?ds=inline diff --git a/apps/explorer/views.py b/apps/explorer/views.py index 90115aaa..ac83c4ef 100644 --- a/apps/explorer/views.py +++ b/apps/explorer/views.py @@ -1,5 +1,6 @@ from librarian import html -import hg, urllib2, json +import hg, urllib2 +from django.utils import simplejson as json from django.views.generic.simple import direct_to_template from django.conf import settings @@ -48,8 +49,9 @@ def folder_images(request, folder): }) def _add_references(message, issues): - # TODO - pass + for issue in issues: + message += " refs #%d " % issue.id + return message def _get_issues_for_file(path): if not path.endswith('.xml'):