Django

Code

Changeset 5014

Show
Ignore:
Timestamp:
04/16/07 18:24:58 (2 years ago)
Author:
bouldersprinters
Message:

boulder-oracle-sprint: Merged to [5013]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/boulder-oracle-sprint/docs/django-admin.txt

    r4990 r5014  
    333333Prints the CREATE TABLE and initial-data SQL statements for the given appnames. 
    334334 
    335 Refer to the description of ``sqlinitialdata`` for an explanation of how to 
     335Refer to the description of ``sqlcustom`` for an explanation of how to 
    336336specify initial data. 
    337337 
  • django/branches/boulder-oracle-sprint/docs/install.txt

    r5003 r5014  
    5959   
    6060* If you're using MySQL, you'll need MySQLdb_, version 1.2.1p2 or higher. 
     61  You will also want to read the database-specific notes for the `MySQL backend`_. 
    6162 
    6263* If you're using SQLite, you'll need pysqlite_. Use version 2.0.3 or higher. 
     
    7071.. _SQLite: http://www.sqlite.org/ 
    7172.. _pysqlite: http://initd.org/tracker/pysqlite 
     73.. _MySQL backend: ../databases/ 
    7274 
    7375Remove any old versions of Django 
  • django/branches/boulder-oracle-sprint/docs/model-api.txt

    r4990 r5014  
    2222``tests/modeltests`` directory.) 
    2323 
    24 .. _Database API reference: http://www.djangoproject.com/documentation/db_api/ 
     24.. _Database API reference: ../db-api/ 
    2525.. _official repository of model examples: http://www.djangoproject.com/documentation/models/ 
    2626 
     
    5858      backend specified in your `settings file`_. 
    5959 
    60 .. _settings file: http://www.djangoproject.com/documentation/settings/ 
     60.. _settings file: ../settings/ 
    6161 
    6262Fields 
     
    502502`get_FOO_display`_ in the database API documentation. 
    503503 
    504 .. _get_FOO_display: ../db_api/#get-foo-display 
     504.. _get_FOO_display: ../db-api/#get-foo-display 
    505505 
    506506Finally, note that choices can be any iterable object -- not necessarily a 
     
    627627Django comes with quite a few validators. They're in ``django.core.validators``. 
    628628 
    629 .. _validator docs: http://www.djangoproject.com/documentation/forms/#validators 
     629.. _validator docs: ../forms/#validators 
    630630 
    631631Verbose field names 
     
    793793    =======================  ============================================================ 
    794794 
    795 .. _`Database API reference`: http://www.djangoproject.com/documentation/db_api/ 
    796 .. _related objects documentation: http://www.djangoproject.com/documentation/db_api/#related-objects 
     795.. _`Database API reference`: ../db-api/ 
     796.. _related objects documentation: ../db-api/#related-objects 
    797797 
    798798Many-to-many relationships 
     
    964964See the `docs for latest()`_ for more. 
    965965 
    966 .. _docs for latest(): http://www.djangoproject.com/documentation/db_api/#latest-field-name-none 
     966.. _docs for latest(): ../db-api/#latest-field-name-none 
    967967 
    968968``order_with_respect_to`` 
     
    13981398For more on ``select_related()``, see `the select_related() docs`_. 
    13991399 
    1400 .. _the select_related() docs: http://www.djangoproject.com/documentation/db_api/#select-related 
     1400.. _the select_related() docs: ../db-api/#select-related 
    14011401 
    14021402``ordering`` 
     
    15031503model options that customize ``Manager`` behavior. 
    15041504 
    1505 .. _Retrieving objects: http://www.djangoproject.com/documentation/db_api/#retrieving-objects 
     1505.. _Retrieving objects: ../db-api/#retrieving-objects 
    15061506 
    15071507Manager names 
     
    18261826 
    18271827.. _Python DB-API: http://www.python.org/peps/pep-0249.html 
    1828 .. _Other lookup options: http://www.djangoproject.com/documentation/db_api/#extra-params-select-where-tables 
     1828.. _Other lookup options: ../db-api/#extra-params-select-where-tables 
    18291829 
    18301830Overriding default model methods 
     
    18591859                super(Blog, self).save() # Call the "real" save() method. 
    18601860 
    1861 .. _database API docs: http://www.djangoproject.com/documentation/db_api/ 
     1861.. _database API docs: ../db-api/ 
    18621862 
    18631863Models across files 
     
    19161916statements have been executed. 
    19171917 
    1918 The SQL files are read by the ``sqlinitialdata``, ``sqlreset``, ``sqlall`` and 
     1918The SQL files are read by the ``sqlcustom``, ``sqlreset``, ``sqlall`` and 
    19191919``reset`` commands in ``manage.py``. Refer to the `manage.py documentation`_ 
    19201920for more information. 
     
    19251925have been created. 
    19261926 
    1927 .. _`manage.py documentation`: http://www.djangoproject.com/documentation/django_admin/#sqlinitialdata-appname-appname 
     1927.. _`manage.py documentation`: ../django_admin/#sqlcustom-appname-appname 
    19281928 
    19291929Database-backend-specific SQL data 
  • django/branches/boulder-oracle-sprint/docs/templates.txt

    r5003 r5014  
    12941294    * Markdown 
    12951295    * ReST (ReStructured Text) 
     1296 
     1297django.contrib.webdesign 
     1298------------------------ 
     1299 
     1300A collection of template tags that can be useful while designing a website, 
     1301such as a generator of Lorem Ipsum text. See the `webdesign documentation`_. 
     1302 
     1303.. _webdesign documentation: ../webdesign/ 
  • django/branches/boulder-oracle-sprint/docs/tutorial01.txt

    r4855 r5014  
    383383 
    384384    * ``python manage.py sqlall polls`` -- A combination of all the SQL from 
    385       the 'sql', 'sqlinitialdata', and 'sqlindexes' commands. 
     385      the 'sql', 'sqlcustom', and 'sqlindexes' commands. 
    386386 
    387387Looking at the output of those commands can help you understand what's actually