Author: ubernostrum
Date: 2008-08-30 00:39:34 -0500 (Sat, 30 Aug 2008)
New Revision: 8738
Modified:
django/trunk/docs/ref/contrib/localflavor.txt
Log:
Fixed #8700: Corrected example in localflavor docs
Modified: django/trunk/docs/ref/contrib/localflavor.txt
===================================================================
--- django/trunk/docs/ref/contrib/localflavor.txt 2008-08-30 05:38:07 UTC
(rev 8737)
+++ django/trunk/docs/ref/contrib/localflavor.txt 2008-08-30 05:39:34 UTC
(rev 8738)
@@ -28,10 +28,10 @@
French telephone number::
from django import forms
- from django.contrib.localflavor import fr
+ from django.contrib.localflavor.fr.forms import FRPhoneNumberField
class MyForm(forms.Form):
- my_french_phone_no = fr.forms.FRPhoneNumberField()
+ my_french_phone_no = FRPhoneNumberField()
Supported countries
===================
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---