1. Steve Losh
  2. django-goodfields


Steve Losh  committed 97c0323

Switch the name of the validation config var to something better.

  • Participants
  • Parent commits 6f1c21d
  • Branches default

Comments (0)

Files changed (1)

File goodfields/templatetags/goodfields.py

View file
  • Ignore whitespace
 from django.conf import settings
 from django.template.loader import render_to_string
-validate = (hasattr(settings, 'GOODFIELD_VALIDATION') and settings.GOODFIELD_VALIDATION)
+validate = (hasattr(settings, 'GOODFIELDS_VALIDATE') and settings.GOODFIELDS_VALIDATE)
 register = template.Library()
 class GoodfieldNode(template.Node):