X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/d07cf3cca65ebf77b544c698ceb579fd33cb19d0..9bbfcaec3e58c99635b5abe7484e44b41e60d5fc:/apps/explorer/views.py 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'):