Issue #1 new

UnboundLocalError, utils.py, determine_period

Alexander Nordlund
created an issue

If site = Site.objects.get_current() fails, then the try/except will generate misleading errors.

Exception Value: local variable 'site' referenced before assignment Exception Location: /home/django/django/lib/python2.6/site-packages/pendulum/utils.py in determine_period, line 19

Comments (1)

  1. Log in to comment