1. Maciej Wiśniowski
  2. djbanner

Commits

Maciej Wiśniowski  committed d7e0d8b

structure

  • Participants
  • Parent commits fd07827
  • Branches default

Comments (0)

Files changed (2)

File dj_banner/templatetags/djbanner_tags.py

View file
 
 register = template.Library()
 
-@register.inclusion_tag('banner_tag.html')
+@register.inclusion_tag('dj_banner/banner_tag.html')
 def banner_slot(slug, width, height, cycle_time=0):
     try:
         bset = BannerSet.objects.get(slug=slug)

File dj_banner/views.py

View file
     params['next_url'] = next_url
     ctx = RequestContext(request, params)
     ban.record_view()
-    return render_to_response('banner.html', context_instance=ctx)
+    return render_to_response('dj_banner/banner.html', context_instance=ctx)
 
 
 def redirect(request, banner_id):