1
0
mirror of https://github.com/django/django.git synced 2024-11-18 07:26:04 +00:00
Go to file
Andrew Gorcester 956bd64424 Fixed #22397 -- Issues removing M2M field with explicit through model
Changed the migration autodetector to remove models last so that FK
and M2M fields will not be left as dangling references. Added a check
in the migration state renderer to error out in the presence of
dangling references instead of leaving them as strings. Fixed a bug
in the sqlite backend to handle the deletion of M2M fields with
"through" models properly (i.e., do nothing successfully).

Thanks to melinath for report, loic for tests and andrewgodwin and
charettes for assistance with architecture.
2014-04-18 16:44:47 -04:00
.tx
django Fixed #22397 -- Issues removing M2M field with explicit through model 2014-04-18 16:44:47 -04:00
docs Moved RemoteUserBackend documentation to reference guide. 2014-04-18 16:06:26 -04:00
extras Skipped inclusion of scripts (pip will take care of that). 2013-12-29 14:01:55 +01:00
scripts Corrected many style guide violations that the newest version of flake8 catches 2014-03-30 12:11:05 -07:00
tests Fixed #22397 -- Issues removing M2M field with explicit through model 2014-04-18 16:44:47 -04:00
.gitattributes Force Unix-style line-endings for some helper files in staticfiles_tests. 2013-09-30 22:14:54 -03:00
.gitignore Added __pycache__ to gitignore 2013-09-19 06:37:23 -04:00
.hgignore Added __pycache__ to gitignore 2013-09-19 06:37:23 -04:00
AUTHORS Fixed #21760 -- prefetch_related used an inefficient query for reverse FK. 2014-04-13 00:34:16 +07:00
CONTRIBUTING.rst Fixed #21609 -- Amended CONTRIBUTING.rst pull request guidelines. 2013-12-26 13:41:03 -05:00
INSTALL
LICENSE Whitespace cleanup. 2013-10-10 16:49:20 -04:00
MANIFEST.in Fixed #22464 - included contrib/gis/static in tarball 2014-04-18 08:00:41 +02:00
README.rst Converted links to HTTPS and linked to stable docs. 2013-12-29 22:35:37 +01:00
setup.cfg Removed django.test.simple and django.test._doctest per deprecation timeline. 2014-03-21 13:36:46 -04: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