From b02d2aba1cefc144a28e8c1c3e50de00d33d00f6 Mon Sep 17 00:00:00 2001 From: James Bennett Date: Sat, 30 Aug 2008 05:39:34 +0000 Subject: [PATCH] Fixed #8700: Corrected example in localflavor docs git-svn-id: http://code.djangoproject.com/svn/django/trunk@8738 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/contrib/localflavor.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ref/contrib/localflavor.txt b/docs/ref/contrib/localflavor.txt index 3405bdda17..5a3fed34c6 100644 --- a/docs/ref/contrib/localflavor.txt +++ b/docs/ref/contrib/localflavor.txt @@ -28,10 +28,10 @@ For example, here's how you can create a form with a field representing a 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 ===================