Commits

Rafael A committed c47f7cd

fix: path to settings

  • Participants
  • Parent commits 7e3a9a1

Comments (0)

Files changed (1)

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)