Opened 4 years ago

Closed 4 years ago

#16503 closed Uncategorized (invalid)

My first django app

Reported by: pmiloszewicz@… Owned by: nobody
Component: HTTP handling Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I've a little problem.
I make my 1st app in django according to docs (
I already uncommented lines in, runned dev server. I go to localhost:8000 and see the error.
This is my trackback.


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

Django Version: 1.3
Python Version: 2.6.0
Installed Applications:
Installed Middleware:

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

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

Sorry for my English. I hope you understand me.

Change History (1)

comment:1 Changed 4 years ago by aaugustin

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

You're facing a problem in your Python code (namely, an indentation error, as indicated by the last line of the error message). This isn't a problem in Django.

This tracker is not a support forum. It's a database of known bugs in Django.

Please use one of the support channels described here: for such questions.


Note: See TracTickets for help on using tickets.
Back to Top