Browse Source

Added note to tutorial part #2 about possible mismatch with the Django version being used regarding changes in location of django.conf.urls[.defaults] symbols. Thansk Carl for the suggestion.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Ramiro Morales 13 years ago
parent
commit
639400d52f
1 changed files with 13 additions and 0 deletions
  1. 13 0
      docs/intro/tutorial02.txt

+ 13 - 0
docs/intro/tutorial02.txt

@@ -77,6 +77,19 @@ http://127.0.0.1:8000/admin/. You should see the admin's login screen:
 .. image:: _images/admin01.png
    :alt: Django admin login screen
 
+.. admonition:: Doesn't match what you see?
+
+    If at this point, instead of the above login page, you get an error
+    page reporting something like::
+
+        ImportError at /admin/
+        cannot import name patterns
+        ...
+
+    then you're probably using a version of Django that doesn't match this
+    tutorial version. You'll want to either switch to the older tutorial or the
+    newer Django version.
+
 Enter the admin site
 ====================