Source

django-poll-system / poll / templatetags / polls_tags.py

Diff from to

poll/templatetags/polls_tags.py

 from django import template
 from poll.models import Poll, Item, Queue
-from settings import STATIC_URL
+from django.conf import settings
 from django.utils.safestring import SafeUnicode
 from django.utils.datetime_safe import datetime
 from poll.ajax import authpass
             'user': context['user'],
             'can_vote': can_vote,
             'request': context['request'],
-            'STATIC_URL': STATIC_URL}
+            'STATIC_URL': settings.STATIC_URL}
 
 
 @register.inclusion_tag('polls.html', takes_context=True)