diff options
| author | Gabriel Hurley <gabehr@gmail.com> | 2010-10-19 00:10:22 +0000 |
|---|---|---|
| committer | Gabriel Hurley <gabehr@gmail.com> | 2010-10-19 00:10:22 +0000 |
| commit | 7baee5b95384f19b2f579046a344d294eb5f67c6 (patch) | |
| tree | 8fbd01eafa5bc01ad307c2fc5e44911903630328 /docs/ref | |
| parent | 2790cf482d5e5e428759c5e8e6e63db3c740f389 (diff) | |
Fixed #14426 -- Removed "mysite" import statements from examples that might teach people "bad habits" in regards to creating reusable apps.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14270 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/formtools/form-wizard.txt | 2 | ||||
| -rw-r--r-- | docs/ref/contrib/sitemaps.txt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/contrib/formtools/form-wizard.txt b/docs/ref/contrib/formtools/form-wizard.txt index 1bc4fa894c..370fbdc4bf 100644 --- a/docs/ref/contrib/formtools/form-wizard.txt +++ b/docs/ref/contrib/formtools/form-wizard.txt @@ -193,7 +193,7 @@ wizard takes a list of your :class:`~django.forms.Form` objects as arguments when you instantiate the Wizard:: from django.conf.urls.defaults import * - from mysite.testapp.forms import ContactForm1, ContactForm2, ContactWizard + from testapp.forms import ContactForm1, ContactForm2, ContactWizard urlpatterns = patterns('', (r'^contact/$', ContactWizard([ContactForm1, ContactForm2])), diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt index e8bfcbc60b..db80b0c908 100644 --- a/docs/ref/contrib/sitemaps.txt +++ b/docs/ref/contrib/sitemaps.txt @@ -95,7 +95,7 @@ sitemap to include all the links to your individual blog entries. Here's how your sitemap class might look:: from django.contrib.sitemaps import Sitemap - from mysite.blog.models import Entry + from blog.models import Entry class BlogSitemap(Sitemap): changefreq = "never" @@ -242,7 +242,7 @@ Here's an example of a :doc:`URLconf </topics/http/urls>` using both:: from django.conf.urls.defaults import * from django.contrib.sitemaps import FlatPageSitemap, GenericSitemap - from mysite.blog.models import Entry + from blog.models import Entry info_dict = { 'queryset': Entry.objects.all(), |
