So, next stupid question :)

These fields all derive from forms, not models. How are we supposed to
use these as we did previously in the admin? Registering a model with
a field defined using USPhoneNumber, ZipCode, etc throws an error that
says 'X' field is missing in the form.

On Sep 4, 8:34 pm, Brandon Taylor <[EMAIL PROTECTED]> wrote:
> Thanks everyone. I guess I just overlooked the localflavor
> documentation.
>
> Kind regards,
> Brandon
>
> On Sep 4, 8:30 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
> wrote:
>
> > On Thu, 2008-09-04 at 18:23 -0700, Brandon Taylor wrote:
> > > Hello everyone,
>
> > > Is anyone else missing USStateField? None of my models that use this
> > > field are validating. I've tried trunk and the 1.0 official release I
> > > get the same error on both versions.
>
> > > If you look in django > db > models > fields > __init__.py
>
> > > You will not find USStateField, although it's still in the
> > > documentation.
>
> > It's in django.contrib.localflavor.us.models. The references I can find
> > to it in the documentation both say that. Are you sure you're looking at
> > the 1.0 documentation?
>
> > Regards,
> > Malcolm
--~--~---------~--~----~------------~-------~--~----~
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