Commits

Steve Losh committed 97c0323

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

Comments (0)

Files changed (1)

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