2
0

index.txt 1.2 KB

12345678910111213141516171819202122232425262728
  1. ``django.contrib.postgres``
  2. ===========================
  3. PostgreSQL has a number of features which are not shared by the other databases
  4. Django supports. This optional module contains model fields and form fields for
  5. a number of PostgreSQL specific data types.
  6. .. note::
  7. Django is, and will continue to be, a database-agnostic web framework. We
  8. would encourage those writing reusable applications for the Django
  9. community to write database-agnostic code where practical. However, we
  10. recognise that real world projects written using Django need not be
  11. database-agnostic. In fact, once a project reaches a given size changing
  12. the underlying data store is already a significant challenge and is likely
  13. to require changing the code base in some ways to handle differences
  14. between the data stores.
  15. Django provides support for a number of data types which will
  16. only work with PostgreSQL. There is no fundamental reason why (for example)
  17. a ``contrib.mysql`` module does not exist, except that PostgreSQL has the
  18. richest feature set of the supported databases so its users have the most
  19. to gain.
  20. .. toctree::
  21. :maxdepth: 2
  22. fields
  23. forms