Commit Graph

393 Commits

Author SHA1 Message Date
Carl Meyer c2907a6e3d Remove the last FIXME from the howto-release-Django doc. 2013-08-16 23:55:43 -06:00
Alasdair Nicol 354009d67e Updated docs following deprecation of django.views.defaults.shortcut
Follows 3f2befc
2013-08-15 00:27:16 +01:00
Julien Phalip 6e70f47d02 Merge pull request #1464 from evildmp/squashing_commits
Clarified misleading wording about squashing commits
2013-08-10 14:48:46 -07:00
Daniele Procida e868eaf680 clarified misleading wording about squashing commits 2013-08-10 22:24:24 +01:00
Tim Graham 5737c57d95 Fixed #20868 -- Added an email to django-announce as a security step.
Thanks garrison for the report.
2013-08-09 16:02:05 -04:00
Andrew Godwin de64c4d6e9 Merge remote-tracking branch 'core/master' into schema-alteration
Conflicts:
	django/core/management/commands/flush.py
	django/core/management/commands/syncdb.py
	django/db/models/loading.py
	docs/internals/deprecation.txt
	docs/ref/django-admin.txt
	docs/releases/1.7.txt
2013-08-09 14:17:30 +01:00
Loic Bistuer ebb3e50243 Introduced ModelAdmin.get_fields() and refactored get_fieldsets() to use it.
Refs #18681.

This also starts the deprecation of ModelAdmin.declared_fieldsets
2013-08-04 09:14:18 -04:00
Curtis Maloney 07876cf02b Deprecated SortedDict (replaced with collections.OrderedDict)
Thanks Loic Bistuer for the review.
2013-08-04 07:09:39 -04:00
Andrew Godwin 12e9804d16 Rename allow_syncdb to allow_migrate 2013-07-30 12:08:59 +01:00
Andrew Godwin 086389f5fc Start adding schema migration into the release notes 2013-07-30 11:52:36 +01:00
Claude Paroz fdd7a355bf Deprecated django.utils.importlib
This was a shim for pre-Python 2.7 support.
2013-07-29 17:10:22 +02:00
Andrew Godwin f8297f6323 More migration docs, and conversion of all easy syncdb references 2013-07-25 16:19:36 +01:00
Tim Graham bd0dcc6c89 Fixed #20766 -- Deprecated FastCGI support. 2013-07-24 13:41:45 -04:00
Anssi Kääriäinen b2314d9e1e Fixed #19941 -- Modified runtests.py to make running the tests easier.
1. Automatically use tests/../django as the Django version.
2. If settings aren't provided through --settings or DJANGO_SETTINGS_MODULE)
   then use test_sqlite.
2013-07-24 07:33:03 -04:00
Tim Graham 31c13a99bb Fixed #14300 -- Fixed initial SQL location if models is a package.
Thanks al_the_x for the report and fheinz for the draft patch.
2013-07-24 06:56:33 -04:00
Loic Bistuer aff0aa3af8 Rephrased the docs for reporting security issues to make it less intimidating. 2013-07-16 17:17:08 +07:00
Tim Graham 77856dc875 Added some missing test requirements in the docs; refs #19196 2013-07-10 12:01:17 -04:00
Tim Graham 4d92a0bd86 Fixed #19196 -- Added test/requirements 2013-07-10 09:24:05 -04:00
Jeremy Dunck 9aed3201aa Clarified trac patch-related field meaning
There was some confusion on the mentorship list as to whether 'needs tests'
meant that a given ticket might not need tests, as opposed to flagging
a specific patch as still needing tests.

This commit seeks to clarify that confusion.
2013-07-07 21:17:10 -07:00
Claude Paroz 7442eb1a24 Fixed #20224 -- Update docs examples which mention __unicode__
Thanks Marc Tamlyn and Tim Graham for the review.
2013-07-05 19:27:07 +02:00
Aymeric Augustin 72c65fea41 Deprecated django.utils.dictconfig.
The module still exists for whoever uses it in its current state, but it
isn't imported by Django anywhere.
2013-07-01 22:50:58 +02:00
Aymeric Augustin 7f264e02f4 Fixed #20680 -- Deprecated django.utils.unittest.
Refs #19204.
2013-07-01 14:29:33 +02:00
Ramiro Morales 8eadbc5a03 Removed 'mimetype' arguments from a few places, as per deprecation TL.
This includes HttpResponse and co. __init__() methods,
django.shortcuts.render_to_response() and the index(), sitemap() sitemap
app views.
2013-06-28 21:48:16 -03:00
Simon Charette e1dd24d2f6 Added missing deprecation note for model permission methods.
refs #20642.
2013-06-28 15:33:20 -04:00
Tim Graham 1184d07789 Fixed #14881 -- Modified password reset to work with a non-integer UserModel.pk.
uid is now base64 encoded in password reset URLs/views. A backwards compatible
password_reset_confirm view/URL will allow password reset links generated before
this change to continue to work. This view will be removed in Django 1.7.

Thanks jonash for the initial patch and claudep for the review.
2013-06-26 13:11:47 -04:00
SusanTan b0907d66a5 Fixed #20524 - Described keywords in triaging contrib doc. 2013-06-23 15:41:24 -04:00
Baptiste Mispelon b6f86fbeb1 Added myself to the commiters list. 2013-06-17 12:30:41 +02:00
russkel f80b1063e4 Update submitting-patches.txt
Few quick fixes to the terminology in order to match what is used on the Django Trac at the moment.
2013-06-08 14:53:27 +09:00
Carl Meyer cd79f33723 Fixed #20503 - Moved doctest utilities in with the rest of the deprecated test code.
The ``DocTestRunner`` and ``OutputChecker`` were formerly in
``django.test.testcases``, now they are in ``django.test.simple``. This avoids
triggering the ``django.test._doctest`` deprecation message with any import
from ``django.test``. Since these utility classes are undocumented internal
API, they can be moved without a separate deprecation process.

Also removed the deprecation warnings specific to these classes, as they are
now covered by the module-level warning in ``django.test.simple``.

Thanks Anssi for the report.

Refs #17365.
2013-05-27 14:55:08 -06:00
Brian Rosner f3ba6495e2 Updated my bio 2013-05-24 08:22:08 -06:00
Tim Graham 5a62236b16 Added back a link to docs/internals/committers.txt 2013-05-23 10:48:36 -04:00
Alex Gaynor cf007f0cbf Update my employer. 2013-05-23 07:23:06 -07:00
Andrew Godwin ec5dc0010c Fixing some FIXMEs in howto-release-django. Refs #20082 2013-05-23 15:15:02 +01:00
Claude Paroz 499a745ae1 Fixed #20474 -- Proxied and deprecated django.db.backend 2013-05-23 15:19:12 +02:00
Tim Graham 01948e384f Clarified policy for stable branches.
Thanks Ramiro Morales for the initial patch and
Preston Holmes for the review.
2013-05-22 10:26:48 -04:00
Ramiro Morales 4ba1c2e785 Fixed #9321 -- Deprecated hard-coding of help text in model ManyToManyField fields.
This is backward incompatible for custom form field/widgets that rely
on the hard-coded 'Hold down "Control", or "Command" on a Mac, to select
more than one.' sentence.

Application that use standard model form fields and widgets aren't
affected but need to start handling these help texts by themselves
before Django 1.8.

For more details, see the related release notes and deprecation timeline
sections added with this commit.
2013-05-20 16:29:51 -03:00
Tim Graham 490672f057 Tweaked unit test 'quick start' explanation.
Thanks Jeremy Dunck.
2013-05-20 13:45:32 -04:00
Aymeric Augustin a9b98f59aa Clarified when triagers should close tickets as needsinfo.
https://groups.google.com/d/msg/django-developers/dyldP9kFADc/rHTlRBVEP8MJ
2013-05-19 15:24:10 +02:00
Łukasz Langa bd97f7d0cb Fixed #15201: Marked CACHE_MIDDLEWARE_ANONYMOUS_ONLY as deprecated 2013-05-18 17:38:32 +02:00
Aymeric Augustin ee11d325a4 Reorganize committers list chronologically.
This completes the removal of the distinction between core devs and
specialists.

Patch by Simon Meers.
2013-05-18 10:29:01 +02:00
Donald Stufft f54a8880d7 Finally add myself to the committers list 2013-05-17 16:01:41 -04:00
Marc Tamlyn 0509462373 Fix up company link. 2013-05-17 18:25:40 +02:00
Marc Tamlyn 31d98d4ab5 Added myself to committers. 2013-05-17 17:24:17 +02:00
Jacob Kaplan-Moss d4d1145632 Removed "specialists".
The distinction's not really one we make any more, so updated the docs
accordingly.
2013-05-16 10:37:48 -07:00
Jacob Kaplan-Moss 1bc6e18b4e Updated my bio. 2013-05-16 10:36:50 -07:00
Daniel Lindsley 33793f7c3e Fixed #19934 - Use of Pillow is now preferred over PIL.
This starts the deprecation period for PIL (support to end in 1.8).
2013-05-14 19:32:04 -07:00
Carl Meyer 9012833af8 Fixed #17365, #17366, #18727 -- Switched to discovery test runner.
Thanks to Preston Timmons for the bulk of the work on the patch, especially
updating Django's own test suite to comply with the requirements of the new
runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the
patch and the discovery runner.

Refs #11077, #17032, and #18670.
2013-05-10 23:08:45 -04:00
Jannis Leidel 92351c74c1 Updated my bio. 2013-05-10 15:51:14 -07:00
Daniel Lindsley d48b7230a8 Added myself to the committers list. 2013-05-03 00:46:51 -07:00
Florian Apolloner a5becad909 Fixed #19252 -- Added support for wheel packages.
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2013-05-01 13:46:06 +02:00
Claude Paroz 8f7276b782 Updated Transifex links to the Django project
Translations for the Django framework are now hosted on the
django-core Transifex project, and the django project is only
dedicated to a team-only hub project.
2013-04-25 10:35:51 +02:00
Juan Catalano 4e25198ec2 Fixed #20104 -- Changed VersionDirective in order to avoid ambiguity.
As explained in ticket #20104, the use of versionchanged/versionadded
was confusing.

To solve this ambiguity these directives no longer accept a second
argument but now they only receive the version number (1st arg) and then
a content with the proper comment.
2013-04-20 17:18:21 +02:00
Baptiste Mispelon 9ac4dbd7b5 Fixed #4592: Made CheckboxSelectMultiple more like RadioSelect
I refactored RadioSelect and CheckboxSelectMultiple to
make them inherit from a base class, allowing them to share
the behavior of being able to iterate over their subwidgets.

Thanks to Matt McClanahan for the initial patch and to
Claude Paroz for the review.
2013-04-13 16:37:27 +02:00
Julien Phalip 68d6c52ed6 Turned the triage attributes to actual sections so they can be more easily linked to in the documentation. 2013-04-10 17:11:26 -07:00
Preston Holmes 18255779e9 Added some further guidance to "accepted" triage stage
Now that DDN is gone, I felt it was worth some extra language
about what "accepted" means, and qualify what it means to be "safe"
to start writing a patch.
2013-04-09 22:39:36 -07:00
Aymeric Augustin 4a7292df3b Removed references to the DDN triage state.
Rephrased "How can I help with triaging?" a bit to reflect the current
practice.
2013-04-08 20:33:52 +02:00
Jacob Kaplan-Moss ce23e33399 Removed instructions about download_url from release process notes.
This is no longer something that has to happen now that 5c771da3 is in.
2013-04-04 15:03:45 -05:00
Tim Graham 72b1522a2f Merge pull request #963 from richardcornish/master
Updated bios of committers
2013-03-30 04:48:31 -07:00
Carl Meyer d85d393500 Minor updates to 'How is Django Formed.' 2013-03-28 15:31:05 -06:00
Jacob Kaplan-Moss e301ea3efb Updated the release document after actually doing a release (!). 2013-03-28 16:10:11 -05:00
Richard Cornish 6e67d764ae Updated bios of committers 2013-03-27 00:59:05 -05:00
Aymeric Augustin f02c6c2760 Goodbye, Malcolm. 2013-03-24 18:31:20 +01:00
Tim Graham 93cffc3b37 Added missing markup to docs. 2013-03-22 13:50:07 -04:00
Aymeric Augustin 3f2befc931 Deprecated django.views.defaults.shortcut. 2013-03-14 20:30:23 +01:00
Aymeric Augustin b492e59074 Updated release instructions to account for website automation. 2013-03-14 14:59:45 +01:00
Aymeric Augustin 5d8342f321 Proof-read and adjusted the transactions docs. 2013-03-13 15:17:41 +01:00
Jacob Kaplan-Moss 571b2d139b Deprecated django.contrib.comments. 2013-03-11 15:38:40 -05:00
Aymeric Augustin ac37ed21b3 Deprecated TransactionMiddleware and TRANSACTIONS_MANAGED.
Replaced them with per-database options, for proper multi-db support.

Also toned down the recommendation to tie transactions to HTTP requests.
Thanks Jeremy for sharing his experience.
2013-03-11 15:04:05 +01:00
Aymeric Augustin 7c46c8d5f2 Added some assertions to enforce the atomicity of atomic. 2013-03-11 14:48:55 +01:00
Aymeric Augustin 3bdc7a6a70 Deprecated transaction.is_managed().
It's synchronized with the autocommit flag.
2013-03-11 14:48:54 +01:00
Aymeric Augustin ba5138b1c0 Deprecated transaction.commit/rollback_unless_managed.
Since "unless managed" now means "if database-level autocommit",
committing or rolling back doesn't have any effect.

Restored transactional integrity in a few places that relied on
automatically-started transactions with a transitory API.
2013-03-11 14:48:54 +01:00
Aymeric Augustin f515619494 Added an API to control database-level autocommit. 2013-03-11 14:48:53 +01:00
Aymeric Augustin 7aacde84f2 Made transaction.managed a no-op and deprecated it.
enter_transaction_management() was nearly always followed by managed().

In three places it wasn't, but they will all be refactored eventually.
The "forced" keyword argument avoids introducing behavior changes until
then.

This is mostly backwards-compatible, except, of course, for managed
itself. There's a minor difference in _enter_transaction_management:
the top self.transaction_state now contains the new 'managed' state
rather than the previous one. Django doesn't access
self.transaction_state in _enter_transaction_management.
2013-03-11 14:48:53 +01:00
Loic Bistuer 6983a1a540 Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
Aymeric Augustin 2ee21d9f0d Implemented persistent database connections.
Thanks Anssi Kääriäinen and Karen Tracey for their inputs.
2013-02-28 15:28:13 +01:00
Aymeric Augustin ab1c25f674 Added a Trac-related item to the release checklist. 2013-02-28 10:26:47 +01:00
Carl Meyer bd669e47d7 Added a note about creating new doc versions; update stable doc version before announcement. 2013-02-26 14:46:46 -07:00
Carl Meyer 9e6725c5ea Added note about updating default docs version in howto-release doc. 2013-02-26 13:46:32 -07:00
Florian Apolloner 28e545c4b3 Updated docs to reflect new tests layout.
Thanks to Ramiro Morales for the initial patch.
2013-02-26 15:00:16 +01:00
Aymeric Augustin 5d883589a8 Updated the release process docs to reflect the current practices.
Fixed #17919.
2013-02-25 20:23:26 +01:00
Carl Meyer 906dc8522a Fixed #19854 -- Turn Django's own Selenium tests off by default. 2013-02-25 10:14:42 -07:00
Carl Meyer f480b39525 Various tweaks and additions to 'how to release Django' document. 2013-02-23 17:58:57 -07:00
Preston Holmes 9d2c0a0ae6 Removed superfluous cookie check from auth login.
This is ensured through the CSRF protection of the view
2013-02-23 15:28:49 -08:00
Jacob Kaplan-Moss 799be90fde Some updates to "how to release Django":
Typo fixes, spell check, some more specifics where possible.
2013-02-23 13:01:52 -06:00
Jacob Kaplan-Moss e3296268de Added a draft document explaining how to release Django.
Thanks to James for the first draft; I made a few changes (svn->git) and
some supporting links, but mostly I added FIXME's.
2013-02-23 12:35:38 -06:00
Zbigniew Siciarz 1cd2f51eb4 Added test runner option to skip Selenium tests (#19854). 2013-02-23 17:45:26 +01:00
Vladimir A Filonov f49e9a517f Fixed #17906 - Autoescaping {% cycle %} and {% firstof %} templatetags.
This commit adds "future" version of these two tags with auto-escaping
enabled.
2013-02-23 16:16:39 +01:00
Simon Charette ec469ade2b Fixed #19689 -- Renamed `Model._meta.module_name` to `model_name`. 2013-02-05 04:16:07 -05:00
Julien Phalip c9c40bc6bc Fixed #19333 -- Moved compress.py outside of the admin static folder. Thanks to camilonova, Russell Keith-Magee, Aymeric Augustin and Ramiro Morales for the feedback. 2013-02-02 15:01:32 -08:00
Simon Charette ab51dff83d Added myself to core developpers 2013-02-01 14:52:27 -05:00
Ramiro Morales 7947c9e3a6 Deprecated undocumented warnings manipulation testing tools. 2013-01-31 14:57:45 -03:00
Aymeric Augustin 89cb771be7 Fixed #19692 -- Completed deprecation of mimetype in favor of content_type.
Thanks Tim for the report and initial patch.
2013-01-31 13:54:40 +01:00
Tim Graham ee26797cff Fixed typos in docs and comments 2013-01-29 10:55:55 -07:00
Tim Graham eaa716a413 Fixed #19639 - Updated contributing to reflect model choices best practices.
Thanks charettes.
2013-01-24 07:59:39 -05:00
Aymeric Augustin 50a985b09b Fixed #19099 -- Split broken link emails out of common middleware. 2013-01-15 17:41:45 +01:00
Tim Graham 9b5f64cc6e Fixed #19516 - Fixed remaining broken links.
Added -n to sphinx builds to catch issues going forward.
2013-01-02 18:32:57 -05:00
Tim Graham a04df803a5 Removed links to deprecated IGNORABLE_404_STARTS/ENDS settings.
refs #19516 and 641acf76e7
2012-12-29 18:52:50 -05:00
Aymeric Augustin ebd2598596 Removed django.contrib.markup. 2012-12-29 21:59:07 +01:00
Tim Graham 067505ad19 Fixed broken links, round 4. refs #19516 2012-12-29 15:54:33 -05:00
Preston Holmes 11ded967c4 Fixed #19498 -- refactored auth documentation
The auth doc was a single page which had grown unwieldy.
This refactor split and grouped the content into sub-topics.
Additional corrections and cleanups were made along the way.
2012-12-28 11:06:12 -08:00