Commits

Steve Losh committed 97c0323

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

  • Participants
  • Parent commits 6f1c21d

Comments (0)

Files changed (1)

File goodfields/templatetags/goodfields.py

 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):