1. volpino
  2. django-timedelta-field

Commits

Matthew Schinckel  committed 3ef0df9

Moved nice_repr

  • Participants
  • Parent commits 9c44505
  • Branches default

Comments (0)

Files changed (1)

File timedelta/templatetags/timedelta.py

View file
 register = template.Library()
 
 # Don't really like using relative imports, but no choice here!
-from ..models import nice_repr
+from ..helpers import nice_repr
 
 @register.filter(name='timedelta')
 def timedelta(value, display="long"):