0
0
mirror of https://github.com/django/django.git synced 2024-12-01 07:31:48 +01:00
The Web framework for perfectionists with deadlines. https://www.djangoproject.com/
Go to file
Marc Tamlyn 39d95fb6ad Fixed #24092 -- Widened base field support for ArrayField.
Several issues resolved here, following from a report that a base_field
of GenericIpAddressField was failing.

We were using get_prep_value instead of get_db_prep_value in ArrayField
which was bypassing any extra modifications to the value being made in
the base field's get_db_prep_value. Changing this broke datetime
support, so the postgres backend has gained the relevant operation
methods to send dates/times/datetimes directly to the db backend instead
of casting them to strings. Similarly, a new database feature has been
added allowing the uuid to be passed directly to the backend, as we do
with timedeltas.

On the other side, psycopg2 expects an Inet() instance for IP address
fields, so we add a value_to_db_ipaddress method to wrap the strings on
postgres. We also have to manually add a database adapter to psycopg2,
as we do not wish to use the built in adapter which would turn
everything into Inet() instances.

Thanks to smclenithan for the report.
2015-01-16 16:15:16 -05:00
.tx Fixed #23677 -- Removed contrib.formtools 2014-11-26 09:56:33 -05:00
django Fixed #24092 -- Widened base field support for ArrayField. 2015-01-16 16:15:16 -05:00
docs Fixed the length of a headline in the 1.8 release notes. 2015-01-16 21:29:28 +01:00
extras Removed extras/csrf_migration_helper.py 2014-06-09 11:53:09 -04:00
scripts Converted Django scripts to argparse 2014-06-09 10:13:37 +02:00
tests Fixed #24092 -- Widened base field support for ArrayField. 2015-01-16 16:15:16 -05:00
.gitattributes
.gitignore
.hgignore Sycned .hginore with .gitignore. 2014-04-26 15:39:55 +02:00
AUTHORS Fixed #24031 -- Added CASE expressions to the ORM. 2015-01-12 18:15:34 -05:00
CONTRIBUTING.rst
INSTALL
LICENSE
MANIFEST.in Removed formtools entries from MANIFEST.in. 2015-01-03 08:27:48 -05:00
README.rst Converted links to HTTPS and linked to stable docs. 2013-12-29 22:35:37 +01:00
setup.cfg Added some directories on Jenkins to flake8 exclude. 2014-11-20 11:58:24 -05:00
setup.py Include an 'extra_requires' for bcrypt 2014-04-17 11:28:09 -07:00

Django is a high-level Python Web framework that encourages rapid development
and clean, pragmatic design. Thanks for checking it out.

All documentation is in the "docs" directory and online at
https://docs.djangoproject.com/en/stable/. If you're just getting started,
here's how we recommend you read the docs:

* First, read docs/intro/install.txt for instructions on installing Django.

* Next, work through the tutorials in order (docs/intro/tutorial01.txt,
  docs/intro/tutorial02.txt, etc.).

* If you want to set up an actual deployment server, read
  docs/howto/deployment/index.txt for instructions.

* You'll probably want to read through the topical guides (in docs/topics)
  next; from there you can jump to the HOWTOs (in docs/howto) for specific
  problems, and check out the reference (docs/ref) for gory details.

* See docs/README for instructions on building an HTML version of the docs.

Docs are updated rigorously. If you find any problems in the docs, or think
they should be clarified in any way, please take 30 seconds to fill out a
ticket here: https://code.djangoproject.com/newticket

To get more help:

* Join the #django channel on irc.freenode.net. Lots of helpful people hang out
  there. Read the archives at http://django-irc-logs.com/.

* Join the django-users mailing list, or read the archives, at
  https://groups.google.com/group/django-users.

To contribute to Django:

* Check out https://www.djangoproject.com/community/ for information about
  getting involved.

To run Django's test suite:

* Follow the instructions in the "Unit tests" section of
  docs/internals/contributing/writing-code/unit-tests.txt, published online at
  https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/#running-the-unit-tests