summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/localflavor.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/localflavor.txt b/docs/localflavor.txt
index 5a2e5b8fda..b4bccfb138 100644
--- a/docs/localflavor.txt
+++ b/docs/localflavor.txt
@@ -20,10 +20,10 @@ For example, here's how you can create a form with a field representing a
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
===================