1
0
mirror of https://github.com/django/django.git synced 2024-12-23 17:46:27 +00:00
Go to file
Anssi Kääriäinen 6af05e7a0f Fixed model.__eq__ and __hash__ for no pk value cases
The __eq__ method now considers two instances without primary key value
equal only when they have same id(). The __hash__ method raises
TypeError for no primary key case.

Fixed #18864, fixed #18250

Thanks to Tim Graham for docs review.
2013-08-22 17:24:07 +03:00
.tx
django Fixed model.__eq__ and __hash__ for no pk value cases 2013-08-22 17:24:07 +03:00
docs Fixed model.__eq__ and __hash__ for no pk value cases 2013-08-22 17:24:07 +03:00
extras
scripts Added check when fetching and updating translations from Transifex 2013-07-03 16:09:20 +02:00
tests Fixed model.__eq__ and __hash__ for no pk value cases 2013-08-22 17:24:07 +03:00
.gitattributes
.gitignore Revert ".DS_Store can be ignored." 2013-07-08 18:56:11 +10:00
.hgignore
AUTHORS Added myself to the committers list. 2013-08-21 16:10:51 +02:00
CONTRIBUTING.rst
INSTALL Bumped minimum Python version requirement to 2.7 in Django 1.7. 2013-07-01 12:01:59 +02:00
LICENSE
MANIFEST.in
README.rst
setup.cfg Removed comment from setup.cfg which broke newer wheel versions. 2013-06-29 16:28:05 +02:00
setup.py Bumped minimum Python version requirement to 2.7 in Django 1.7. 2013-07-01 12:01:59 +02: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
http://docs.djangoproject.com/en/dev/. 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:

http://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
  http://groups.google.com/group/django-users.

To contribute to Django:

* Check out http://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