~ubuntu-branches/ubuntu/quantal/python-django/quantal

« back to all changes in this revision

Viewing changes to docs/ref/settings.txt

  • Committer: Bazaar Package Importer
  • Author(s): Chris Lamb
  • Date: 2009-07-29 11:26:28 UTC
  • mfrom: (1.1.8 upstream) (4.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20090729112628-pg09ino8sz0sj21t
Tags: 1.1-1
* New upstream release.
* Merge from experimental:
  - Ship FastCGI initscript and /etc/default file in python-django's examples
    directory (Closes: #538863)
  - Drop "05_10539-sphinx06-compatibility.diff"; it has been applied
    upstream.
  - Bump Standards-Version to 3.8.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
195
195
Default: ``''`` (Empty string)
196
196
 
197
197
The name of the database to use. For SQLite, it's the full path to the database
198
 
file. When specifying the path, always use forward slashes, even on Windows  
 
198
file. When specifying the path, always use forward slashes, even on Windows
199
199
(e.g. ``C:/homes/user/mysite/sqlite3.db``).
200
200
 
201
201
.. setting:: DATABASE_OPTIONS
228
228
default port. Not used with SQLite.
229
229
 
230
230
.. setting:: DATABASE_USER
231
 
   
 
231
 
232
232
DATABASE_USER
233
233
-------------
234
234
 
251
251
and ``MONTH_DAY_FORMAT``.
252
252
 
253
253
.. setting:: DATETIME_FORMAT
254
 
   
 
254
 
255
255
DATETIME_FORMAT
256
256
---------------
257
257
 
330
330
DEFAULT_FILE_STORAGE
331
331
--------------------
332
332
 
333
 
Default: ``django.core.files.storage.FileSystemStorage``
 
333
Default: ``'django.core.files.storage.FileSystemStorage'``
334
334
 
335
335
Default file storage class to be used for any file-related operations that don't
336
336
specify a particular storage system. See :ref:`topics-files`.
519
519
.. warning::
520
520
 
521
521
    **Always prefix the mode with a 0.**
522
 
    
 
522
 
523
523
    If you're not familiar with file modes, please note that the leading
524
524
    ``0`` is very important: it indicates an octal number, which is the
525
525
    way that modes must be specified. If you try to use ``644``, you'll
526
526
    get totally incorrect behavior.
527
 
    
528
 
 
529
 
.. _documentation for os.chmod: http://docs.python.org/lib/os-file-dir.html 
 
527
 
 
528
 
 
529
.. _documentation for os.chmod: http://docs.python.org/lib/os-file-dir.html
530
530
 
531
531
.. setting:: FIXTURE_DIRS
532
532
 
594
594
    * Receive X headers if the ``XViewMiddleware`` is installed (see
595
595
      :ref:`topics-http-middleware`)
596
596
 
597
 
.. setting:: JING_PATH
598
 
 
599
 
JING_PATH
600
 
---------
601
 
 
602
 
Default: ``'/usr/bin/jing'``
603
 
 
604
 
Path to the "Jing" executable. Jing is a RELAX NG validator, and Django uses it
605
 
to validate each ``XMLField`` in your models.
606
 
See http://www.thaiopensource.com/relaxng/jing.html .
607
 
 
608
597
.. setting:: LANGUAGE_CODE
609
598
 
610
599
LANGUAGE_CODE
760
749
 
761
750
Default::
762
751
 
763
 
    ("django.contrib.sessions.middleware.SessionMiddleware",
764
 
     "django.contrib.auth.middleware.AuthenticationMiddleware",
765
 
     "django.middleware.common.CommonMiddleware",
766
 
     "django.middleware.doc.XViewMiddleware")
 
752
    ('django.middleware.common.CommonMiddleware',
 
753
     'django.contrib.sessions.middleware.SessionMiddleware',
 
754
     'django.contrib.auth.middleware.AuthenticationMiddleware',)
767
755
 
768
756
A tuple of middleware classes to use. See :ref:`topics-http-middleware`.
769
757
 
1165
1153
    Django cannot reliably use alternate time zones in a Windows environment.
1166
1154
    If you're running Django on Windows, this variable must be set to match the
1167
1155
    system timezone.
1168
 
    
 
1156
 
1169
1157
.. _See available choices: http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
1170
1158
 
1171
1159
.. setting:: URL_VALIDATOR_USER_AGENT