File: index.txt

package info (click to toggle)
python-django 3%3A5.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 61,236 kB
  • sloc: python: 361,585; javascript: 19,250; xml: 211; makefile: 182; sh: 28
file content (41 lines) | stat: -rw-r--r-- 1,441 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
===========================
``django.contrib.postgres``
===========================

.. module:: django.contrib.postgres
    :synopsis: PostgreSQL-specific fields and features

PostgreSQL has a number of features which are not shared by the other databases
Django supports. This optional module contains model fields and form fields for
a number of PostgreSQL specific data types.

.. note::
    Django is, and will continue to be, a database-agnostic web framework. We
    would encourage those writing reusable applications for the Django
    community to write database-agnostic code where practical. However, we
    recognize that real world projects written using Django need not be
    database-agnostic. In fact, once a project reaches a given size changing
    the underlying data store is already a significant challenge and is likely
    to require changing the code base in some ways to handle differences
    between the data stores.

    Django provides support for a number of data types which will
    only work with PostgreSQL. There is no fundamental reason why (for example)
    a ``contrib.mysql`` module does not exist, except that PostgreSQL has the
    richest feature set of the supported databases so its users have the most
    to gain.

.. toctree::
    :maxdepth: 2

    aggregates
    constraints
    expressions
    fields
    forms
    functions
    indexes
    lookups
    operations
    search
    validators