Hi!

I want to use localflavor field validation in admin. Is it possible?
I'm thinking in something like this (that of course is not working):

----------
from django.db import models
from django.contrib.localflavor.us import forms as us_forms

class MyModel(models.Model):
        zip_code = us_forms.USZipCodeField()

----------

Thanks!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to