#16503: My first django app
----------------------------+-------------------------------
 Reporter:  pmiloszewicz@…  |          Owner:  nobody
     Type:  Uncategorized   |         Status:  new
Milestone:                  |      Component:  HTTP handling
  Version:  1.3             |       Severity:  Normal
 Keywords:                  |   Triage Stage:  Unreviewed
Has patch:  0               |  Easy pickings:  0
    UI/UX:  0               |
----------------------------+-------------------------------
 Hello,
 I've a little problem.
 I make my 1st app in django according to docs
 (https://docs.djangoproject.com/en/1.3/intro/tutorial02/).
 I already uncommented lines in urls.py, runned dev server. I go to
 localhost:8000 and see the error.
 This is my trackback.

 {{{
 Environment:


 Request Method: GET
 Request URL: http://localhost:8000/

 Django Version: 1.3
 Python Version: 2.6.0
 Installed Applications:
 ['django.contrib.auth',
  'django.contrib.contenttypes',
  'django.contrib.sessions',
  'django.contrib.sites',
  'django.contrib.messages',
  'django.contrib.staticfiles',
  'django.contrib.admin',
  'dj.polls']
 Installed Middleware:
 ('django.middleware.common.CommonMiddleware',
  'django.contrib.sessions.middleware.SessionMiddleware',
  'django.middleware.csrf.CsrfViewMiddleware',
  'django.contrib.auth.middleware.AuthenticationMiddleware',
  'django.contrib.messages.middleware.MessageMiddleware')


 Traceback:
 File "c:\Python26\lib\site-packages\django\core\handlers\base.py" in
 get_response
   101.                             request.path_info)
 File "c:\Python26\lib\site-packages\django\core\urlresolvers.py" in
 resolve
   250.             for pattern in self.url_patterns:
 File "c:\Python26\lib\site-packages\django\core\urlresolvers.py" in
 _get_url_patterns
   279.         patterns = getattr(self.urlconf_module, "urlpatterns",
 self.urlconf_module)
 File "c:\Python26\lib\site-packages\django\core\urlresolvers.py" in
 _get_urlconf_module
   274.             self._urlconf_module = import_module(self.urlconf_name)
 File "c:\Python26\lib\site-packages\django\utils\importlib.py" in
 import_module
   35.     __import__(name)

 Exception Type: IndentationError at /
 Exception Value: ('unexpected indent',
 ('c:\\xampp\\htdocs\\dj\\..\\dj\\urls.py', 4, 1, ' from django.contrib
 import admin\n'))

 }}}

 Sorry for my English. I hope you understand me.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16503>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to