Browse files

Link jquery lib in report template

  • Loading branch information...
1 parent 336a67c commit 609b55bb9cc3373aa5c1697e10f7aa7839e45eb1 @claudep committed Jan 12, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 linkcheck/
@@ -13,6 +13,8 @@
from django.http import HttpResponse
from django.shortcuts import render_to_response
from django.template import RequestContext
+from django import forms
+from django.conf import settings
from linkcheck.linkcheck_settings import RESULTS_PER_PAGE
from linkcheck.models import Link
@@ -121,6 +123,7 @@ def report(request):
{'content_types_list': content_types_list,
'pages': links,
'filter': link_filter,
+ 'media': forms.Media(js=['%s%s' % (settings.ADMIN_MEDIA_PREFIX, 'js/jquery.min.js')]),
'qry_data': rqst.urlencode(),
'report_type': report_type,
'ignored_count': Link.objects.filter(ignore=True).count(),

0 comments on commit 609b55b

Please sign in to comment.