Trying to solve the problem I added following code to settings.py:

ALLOWED_INCLUDE_ROOTS = (
    '/var/www',
)

but it didnt help.

I skipped this error for a bit and continued with tutorial and heres
backtrace of what happened later and also my settings.py content.

******************************
*          backtrace:          *
******************************

TemplateDoesNotExist at /test/djtest/polls/
polls/index.html
Request Method:         GET
Request URL:    http://192.168.233.129:8080/test/djtest/polls/
Exception Type:         TemplateDoesNotExist
Exception Value:        polls/index.html
Exception Location:     /usr/lib/python2.5/site-packages/django/template/
loader.py in find_template_source, line 72
Python Executable:      /usr/bin/python
Python Version:         2.5.1
Python Path:    ['/var/www/test/djtest/mysite', '/usr/lib/python25.zip',
'/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/
python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/
python2.5/site-packages', '/usr/lib/python2.5/site-packages', '/usr/
lib/python2.5/site-packages/Numeric', '/var/lib/python-support/
python2.5']
Template-loader postmortem

Django tried loading these templates, in this order:

    * Using loader
django.template.loaders.filesystem.load_template_source:
    * Using loader
django.template.loaders.app_directories.load_template_source:
          o /usr/lib/python2.5/site-packages/django/contrib/admin/
templates/polls/index.html (File does not exist)

Traceback Switch to copy-and-paste view

    * /usr/lib/python2.5/site-packages/django/core/handlers/base.py in
get_response
        75. # Apply view middleware
        76. for middleware_method in self._view_middleware:
        77. response = middleware_method(request, callback,
callback_args, callback_kwargs)
        78. if response:
        79. return response
        80.
        81. try:
        82. response = callback(request, *callback_args,
**callback_kwargs) ...
        83. except Exception, e:
        84. # If the view raised an exception, run it through
exception
        85. # middleware, and if the exception middleware returns a
        86. # response, use that. Otherwise, reraise the exception.
        87. for middleware_method in self._exception_middleware:
        88. response = middleware_method(request, e)
      ▼ Local vars
      Variable  Value
      callback
      <function index at 0x86d8b1c>
      callback_args
      ()
      callback_kwargs
      {}
      debug
      <module 'django.views.debug' from '/usr/lib/python2.5/site-
packages/django/views/debug.pyc'>
      e
      TemplateDoesNotExist('polls/index.html',)
      exceptions
      <module 'django.core.exceptions' from '/usr/lib/python2.5/site-
packages/django/core/exceptions.pyc'>
      mail_admins
      <function mail_admins at 0x86cc95c>
      middleware_method
      <bound method XViewMiddleware.process_view of
<django.middleware.doc.XViewMiddleware object at 0x86d2bec>>
      request
      <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:
{'sessionid': '54170faf598f4c6a41c2be99843f5d7c'}, META:
{'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'text/plain',
'DJANGO_SETTINGS_MODULE': 'mysite.settings', 'GATEWAY_INTERFACE': 'CGI/
1.1', 'HISTCONTROL': 'ignoreboth', 'HOME': '/home/notroot',
'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-
us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION':
'keep-alive', 'HTTP_COOKIE':
'sessionid=54170faf598f4c6a41c2be99843f5d7c', 'HTTP_HOST':
'192.168.233.129:8080', 'HTTP_KEEP_ALIVE': '300', 'HTTP_USER_AGENT':
'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/
20071127 Firefox/2.0.0.11', 'HUSHLOGIN': 'FALSE', 'LANG':
'en_US.UTF-8', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LESSOPEN': '| /
usr/bin/lesspipe %s', 'LOGNAME': 'notroot', 'LS_COLORS':
'no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35:*.ogg=01;35:*.wav=01;35:',
'MAIL': '/var/mail/notroot', 'OLDPWD': '/var/www/test/djtest', 'PATH':
'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/
games', 'PATH_INFO': '/test/djtest/polls/', 'PWD': '/var/www/test/
djtest/mysite', 'QUERY_STRING': '', 'REMOTE_ADDR': '192.168.233.1',
'REMOTE_HOST': '', 'REQUEST_METHOD': 'GET', 'RUN_MAIN': 'true',
'SCRIPT_NAME': '', 'SERVER_NAME': 'ubuntu.localdomain', 'SERVER_PORT':
'8080', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/
0.1 Python/2.5.1', 'SHELL': '/bin/bash', 'SHLVL': '1', 'TERM':
'linux', 'TZ': 'Europe/Warsaw', 'USER': 'notroot', '_': '/usr/bin/
python', 'wsgi.errors': <open file '<stderr>', mode 'w' at
0xb7d4e0b0>, 'wsgi.file_wrapper': <class
'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input':
<socket._fileobject object at 0x8689e9c>, 'wsgi.multiprocess': False,
'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme':
'http', 'wsgi.version': (1, 0)}>
      resolver
      <RegexURLResolver mysite.urls ^/>
      response
      None
      self
      <django.core.handlers.wsgi.WSGIHandler object at 0x82fbf8c>
      settings
      <django.conf.LazySettings object at 0xb7c992ac>
      urlconf
      'mysite.urls'
      urlresolvers
      <module 'django.core.urlresolvers' from '/usr/lib/python2.5/site-
packages/django/core/urlresolvers.pyc'>
    * /var/www/test/djtest/mysite/../mysite/polls/views.py in index
         1. from django.template import Context, loader
         2. from mysite.polls.models import Poll
         3. from django.http import HttpResponse
         4.
         5. def index(request):
         6. latest_poll_list = Poll.objects.all().order_by('-pub_date')
[:5]
         7. t = loader.get_template('polls/index.html') ...
         8. c = Context({
         9. 'latest_poll_list': latest_poll_list,
        10. })
        11. return HttpResponse(t.render(c))
        12.
        13. def detail(request, poll_id):
      ▼ Local vars
      Variable  Value
      latest_poll_list
      [<Poll: What's up?>, <Poll: HA HA>]
      request
      <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:
{'sessionid': '54170faf598f4c6a41c2be99843f5d7c'}, META:
{'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'text/plain',
'DJANGO_SETTINGS_MODULE': 'mysite.settings', 'GATEWAY_INTERFACE': 'CGI/
1.1', 'HISTCONTROL': 'ignoreboth', 'HOME': '/home/notroot',
'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-
us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION':
'keep-alive', 'HTTP_COOKIE':
'sessionid=54170faf598f4c6a41c2be99843f5d7c', 'HTTP_HOST':
'192.168.233.129:8080', 'HTTP_KEEP_ALIVE': '300', 'HTTP_USER_AGENT':
'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/
20071127 Firefox/2.0.0.11', 'HUSHLOGIN': 'FALSE', 'LANG':
'en_US.UTF-8', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LESSOPEN': '| /
usr/bin/lesspipe %s', 'LOGNAME': 'notroot', 'LS_COLORS':
'no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35:*.ogg=01;35:*.wav=01;35:',
'MAIL': '/var/mail/notroot', 'OLDPWD': '/var/www/test/djtest', 'PATH':
'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/
games', 'PATH_INFO': '/test/djtest/polls/', 'PWD': '/var/www/test/
djtest/mysite', 'QUERY_STRING': '', 'REMOTE_ADDR': '192.168.233.1',
'REMOTE_HOST': '', 'REQUEST_METHOD': 'GET', 'RUN_MAIN': 'true',
'SCRIPT_NAME': '', 'SERVER_NAME': 'ubuntu.localdomain', 'SERVER_PORT':
'8080', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/
0.1 Python/2.5.1', 'SHELL': '/bin/bash', 'SHLVL': '1', 'TERM':
'linux', 'TZ': 'Europe/Warsaw', 'USER': 'notroot', '_': '/usr/bin/
python', 'wsgi.errors': <open file '<stderr>', mode 'w' at
0xb7d4e0b0>, 'wsgi.file_wrapper': <class
'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input':
<socket._fileobject object at 0x8689e9c>, 'wsgi.multiprocess': False,
'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme':
'http', 'wsgi.version': (1, 0)}>
    * /usr/lib/python2.5/site-packages/django/template/loader.py in
get_template
        72. raise TemplateDoesNotExist, name
        73.
        74. def get_template(template_name):
        75. """
        76. Returns a compiled Template object for the given template
name,
        77. handling template inheritance recursively.
        78. """
        79. source, origin = find_template_source(template_name) ...
        80. template = get_template_from_string(source, origin,
template_name)
        81. return template
        82.
        83. def get_template_from_string(source, origin=None,
name=None):
        84. """
        85. Returns a compiled Template object for the given template
code,
      ▼ Local vars
      Variable  Value
      template_name
      'polls/index.html'
    * /usr/lib/python2.5/site-packages/django/template/loader.py in
find_template_source
        65. template_source_loaders.append(func)
        66. for loader in template_source_loaders:
        67. try:
        68. source, display_name = loader(name, dirs)
        69. return (source, make_origin(display_name, loader, name,
dirs))
        70. except TemplateDoesNotExist:
        71. pass
        72. raise TemplateDoesNotExist, name ...
        73.
        74. def get_template(template_name):
        75. """
        76. Returns a compiled Template object for the given template
name,
        77. handling template inheritance recursively.
        78. """
      ▼ Local vars
      Variable  Value
      dirs
      None
      loader
      <function load_template_source at 0x8764a04>
      name
      'polls/index.html'

Environment: Request Method: GET Request URL: 
http://192.168.233.129:8080/test/djtest/polls/
Django Version: 0.97-pre-SVN-unknown Python Version: 2.5.1 Installed
Applications: ['django.contrib.auth', 'django.contrib.contenttypes',
'django.contrib.sessions', 'django.contrib.sites',
'django.contrib.admin', 'mysite.polls'] Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware') Template Loader Error: Django
tried loading these templates, in this order: Using loader
django.template.loaders.filesystem.load_template_source: Using loader
django.template.loaders.app_directories.load_template_source: /usr/lib/
python2.5/site-packages/django/contrib/admin/templates/polls/
index.html (File does not exist) Traceback: File "/usr/lib/python2.5/
site-packages/django/core/handlers/base.py" in get_response 82.
response = callback(request, *callback_args, **callback_kwargs) File "/
var/www/test/djtest/mysite/../mysite/polls/views.py" in index 7. t =
loader.get_template('polls/index.html') File "/usr/lib/python2.5/site-
packages/django/template/loader.py" in get_template 79. source, origin
= find_template_source(template_name) File "/usr/lib/python2.5/site-
packages/django/template/loader.py" in find_template_source 72. raise
TemplateDoesNotExist, name Exception Type: TemplateDoesNotExist at /
test/djtest/polls/ Exception Value: polls/index.html

Request information
GET

No GET data
POST

No POST data
COOKIES
Variable        Value
sessionid
'54170faf598f4c6a41c2be99843f5d7c'
META
Variable        Value
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
DJANGO_SETTINGS_MODULE
'mysite.settings'
GATEWAY_INTERFACE
'CGI/1.1'
HISTCONTROL
'ignoreboth'
HOME
'/home/notroot'
HTTP_ACCEPT
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/
plain;q=0.8,image/png,*/*;q=0.5'
HTTP_ACCEPT_CHARSET
'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_ACCEPT_LANGUAGE
'en-us,en;q=0.5'
HTTP_CACHE_CONTROL
'max-age=0'
HTTP_CONNECTION
'keep-alive'
HTTP_COOKIE
'sessionid=54170faf598f4c6a41c2be99843f5d7c'
HTTP_HOST
'192.168.233.129:8080'
HTTP_KEEP_ALIVE
'300'
HTTP_USER_AGENT
'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/
20071127 Firefox/2.0.0.11'
HUSHLOGIN
'FALSE'
LANG
'en_US.UTF-8'
LESSCLOSE
'/usr/bin/lesspipe %s %s'
LESSOPEN
'| /usr/bin/lesspipe %s'
LOGNAME
'notroot'
LS_COLORS
'no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35:*.ogg=01;35:*.wav=01;35:'
MAIL
'/var/mail/notroot'
OLDPWD
'/var/www/test/djtest'
PATH
'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/
games'
PATH_INFO
'/test/djtest/polls/'
PWD
'/var/www/test/djtest/mysite'
QUERY_STRING
''
REMOTE_ADDR
'192.168.233.1'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RUN_MAIN
'true'
SCRIPT_NAME
''
SERVER_NAME
'ubuntu.localdomain'
SERVER_PORT
'8080'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.1 Python/2.5.1'
SHELL
'/bin/bash'
SHLVL
'1'
TERM
'linux'
TZ
'Europe/Warsaw'
USER
'notroot'
_
'/usr/bin/python'
wsgi.errors
<open file '<stderr>', mode 'w' at 0xb7d4e0b0>
wsgi.file_wrapper
<class 'django.core.servers.basehttp.FileWrapper'>
wsgi.input
<socket._fileobject object at 0x8689e9c>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
Settings
Using settings module mysite.settings
Setting         Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
()
ADMIN_FOR
()
ADMIN_MEDIA_PREFIX
'/test/djtest/pub/media/'
ALLOWED_INCLUDE_ROOTS
'/var/www'
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
('django.contrib.auth.backends.ModelBackend',)
BANNED_IPS
()
CACHE_BACKEND
'locmem://'
CACHE_MIDDLEWARE_KEY_PREFIX
''
CACHE_MIDDLEWARE_SECONDS
600
COMMENTS_ALLOW_PROFANITIES
False
COMMENTS_BANNED_USERS_GROUP
None
COMMENTS_FIRST_FEW
0
COMMENTS_MODERATORS_GROUP
None
COMMENTS_SKETCHY_USERS_GROUP
None
DATABASE_ENGINE
'mysql'
DATABASE_HOST
''
DATABASE_NAME
'django'
DATABASE_OPTIONS
{}
DATABASE_PASSWORD
'********************'
DATABASE_PORT
''
DATABASE_USER
'django_user'
DATETIME_FORMAT
'N j, Y, P'
DATE_FORMAT
'N j, Y'
DEBUG
True
DEFAULT_CHARSET
'utf-8'
DEFAULT_CONTENT_TYPE
'text/html'
DEFAULT_FROM_EMAIL
'[EMAIL PROTECTED]'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
()
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_USE_TLS
False
FILE_CHARSET
'utf-8'
FIXTURE_DIRS
()
IGNORABLE_404_ENDS
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico',
'.php')
IGNORABLE_404_STARTS
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
INSTALLED_APPS
['django.contrib.auth', 'django.contrib.contenttypes',
'django.contrib.sessions', 'django.contrib.sites',
'django.contrib.admin', 'mysite.polls']
INTERNAL_IPS
()
JING_PATH
'/usr/bin/jing'
LANGUAGES
(('ar', 'Arabic'), ('bn', 'Bengali'), ('bg', 'Bulgarian'), ('ca',
'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de',
'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'),
('es_AR', 'Argentinean Spanish'), ('fa', 'Persian'), ('fi',
'Finnish'), ('fr', 'French'), ('ga', 'Gaeilge'), ('gl', 'Galician'),
('hu', 'Hungarian'), ('he', 'Hebrew'), ('hr', 'Croatian'), ('is',
'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ko', 'Korean'),
('km', 'Khmer'), ('kn', 'Kannada'), ('lv', 'Latvian'), ('mk',
'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('pl', 'Polish'),
('pt', 'Portugese'), ('pt-br', 'Brazilian'), ('ro', 'Romanian'),
('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sr',
'Serbian'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'),
('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified
Chinese'), ('zh-tw', 'Traditional Chinese'))
LANGUAGES_BIDI
('he', 'ar', 'fa')
LANGUAGE_CODE
'en-us'
LOCALE_PATHS
()
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/accounts/login/'
LOGOUT_URL
'/accounts/logout/'
MANAGERS
()
MEDIA_ROOT
''
MEDIA_URL
''
MIDDLEWARE_CLASSES
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware')
MONTH_DAY_FORMAT
'F j'
PREPEND_WWW
False
PROFANITIES_LIST
'********************'
ROOT_URLCONF
'mysite.urls'
SECRET_KEY
'********************'
SEND_BROKEN_LINK_EMAILS
False
SERVER_EMAIL
'[EMAIL PROTECTED]'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
'/tmp/'
SESSION_SAVE_EVERY_REQUEST
False
SETTINGS_MODULE
'mysite.settings'
SITE_ID
1
TEMPLATE_CONTEXT_PROCESSORS
('django.core.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'django.core.context_processors.media')
TEMPLATE_DEBUG
True
TEMPLATE_DIRS
()
TEMPLATE_LOADERS
('django.template.loaders.filesystem.load_template_source',
'django.template.loaders.app_directories.load_template_source')
TEMPLATE_STRING_IF_INVALID
''
TEST_DATABASE_CHARSET
None
TEST_DATABASE_COLLATION
None
TEST_DATABASE_NAME
None
TEST_RUNNER
'django.test.simple.run_tests'
TIME_FORMAT
'P'
TIME_ZONE
'Europe/Warsaw'
TRANSACTIONS_MANAGED
False
URL_VALIDATOR_USER_AGENT
u'Django/0.97-pre-SVN-unknown (http://www.djangoproject.com)'
USE_ETAGS
False
USE_I18N
True
YEAR_MONTH_FORMAT
'F Y'

You're seeing this error because you have DEBUG = True in your Django
settings file. Change that to False, and Django will display a
standard 500 page.


******************************
*         settings.py:         *
******************************


# Django settings for mysite project.

DEBUG = True
TEMPLATE_DEBUG = DEBUG

ADMINS = (
    # ('Your Name', '[EMAIL PROTECTED]'),
)

MANAGERS = ADMINS

DATABASE_ENGINE = 'mysql'           # 'postgresql_psycopg2',
'postgresql', 'mysql', 'sqlite3' or 'oracle'.
DATABASE_NAME = '*******'             # Or path to database file if
using sqlite3.
DATABASE_USER = '*******'             # Not used with sqlite3.
DATABASE_PASSWORD = '********'         # Not used with sqlite3.
DATABASE_HOST = ''             # Set to empty string for localhost.
Not used with sqlite3.
DATABASE_PORT = ''             # Set to empty string for default. Not
used with sqlite3.

# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be avilable on all operating systems.
# If running in a Windows environment this must be set to the same as
your
# system time zone.
TIME_ZONE = 'Europe/Warsaw'

# Language code for this installation. All choices can be found here:
# http://www.i18nguy.com/unicode/language-identifiers.html
LANGUAGE_CODE = 'en-us'

SITE_ID = 1

# If you set this to False, Django will make some optimizations so as
not
# to load the internationalization machinery.
USE_I18N = True

# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
MEDIA_ROOT = ''

# URL that handles the media served from MEDIA_ROOT. Make sure to use
a
# trailing slash if there is a path component (optional in other
cases).
# Examples: "http://media.lawrence.com";, "http://example.com/media/";
MEDIA_URL = ''

# URL prefix for admin media -- CSS, JavaScript and images. Make sure
to use a
# trailing slash.
# Examples: "http://foo.com/media/";, "/media/".
ADMIN_MEDIA_PREFIX = '/test/djtest/pub/media/'

# Make this unique, and don't share it with anybody.
SECRET_KEY = '*******************'

# List of callables that know how to import templates from various
sources.
TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.load_template_source',
    'django.template.loaders.app_directories.load_template_source',
#     'django.template.loaders.eggs.load_template_source',
)

MIDDLEWARE_CLASSES = (
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.middleware.doc.XViewMiddleware',
)

ROOT_URLCONF = 'mysite.urls'

ALLOWED_INCLUDE_ROOTS = (
    '/var/www',
)

TEMPLATE_DIRS = (
    # Put strings here, like "/home/html/django_templates" or "C:/www/
django/templates".
    # Always use forward slashes, even on Windows.
    # Don't forget to use absolute paths, not relative paths.
    '/var/www/test/djtest/tpl',
    #"/home/html/djtest/tpl",
)

INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.admin',
    'mysite.polls',
)



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

Reply via email to