Changeset 5276
- Timestamp:
- 05/17/07 11:06:01 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/boulder-oracle-sprint/docs/model-api.txt
r5259 r5276 457 457 string, not ``NULL``. 458 458 459 Due to database limitations when using the Oracle backend, the ``null=True`` 460 option will be coerced for string-based fields, and the value ``NULL`` will 461 be stored to denote the empty string. 462 459 463 ``blank`` 460 464 ~~~~~~~~~ … … 550 554 If ``True``, ``django-admin.py sqlindexes`` will output a ``CREATE INDEX`` 551 555 statement for this field. 556 557 ``db_tablespace`` 558 ~~~~~~~~~~~~~~~~~ 559 560 If this field is indexed, the name of the database tablespace to use for the 561 index. The default is the ``db_tablespace`` of the model, if any. If the 562 backend doesn't support tablespaces, this option is ignored. 552 563 553 564 ``default`` … … 744 755 the `Database API reference`_) that limit the 745 756 available admin choices for this object. Use this 746 with functions from the Python ``datetime`` module 757 with functions from the Python ``datetime`` module 747 758 to limit choices of objects by date. For example:: 748 759 … … 960 971 that aren't allowed in Python variable names -- notably, the hyphen -- 961 972 that's OK. Django quotes column and table names behind the scenes. 973 974 ``db_tablespace`` 975 ----------------- 976 977 The name of the database tablespace to use for the model. If the backend 978 doesn't support tablespaces, this option is ignored. 962 979 963 980 ``get_latest_by``
