Commits

mtre...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed 18bf1b5

Fixed #7685 -- fixed a typo in French localflavor documentation.

  • Participants
  • Parent commits f580a3e

Comments (0)

Files changed (1)

File docs/localflavor.txt

 French telephone number::
 
     from django import newforms as 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
 ===================