fix: compatibility for django>=1.6

bug: if on django 1.6, an exception will raised:
      ImportError: No module named defaults