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
Jacob Kaplan-Moss
ae5247cb51
Added 1.5.1 release notes.
2013-03-28 15:03:19 -05:00
Gavin Wahl
ec04fd1344
Fixed spelling errors
2013-03-28 11:16:53 -06:00
Richard Cornish
6e67d764ae
Updated bios of committers
2013-03-27 00:59:05 -05:00
Donald Stufft
f2a0be6151
Fix a missing " character in the password documentation
2013-03-26 15:26:20 -04:00
Donald Stufft
25f2acfed0
Fixed #20138 -- Added BCryptSHA256PasswordHasher
...
BCryptSHA256PasswordHasher pre-hashes the users password using
SHA256 to prevent the 72 byte truncation inherient in the BCrypt
algorithm.
2013-03-26 13:26:57 -04:00
Ramiro Morales
ccf8d81113
Fixed docs reST warning.
2013-03-25 21:56:52 -03:00
Maik Hoepfel
a05042fd3a
Docs: Remove ambiguity.
...
The docs to the LANGUAGES setting were using both the term language code
and language name for the same thing.
2013-03-25 13:19:30 +01:00
Tim Graham
014638a131
Merge pull request #951 from yohanboniface/set_signed_cookie
...
Fixed signature of HttpResponse.set_signed_cookie in docs.
2013-03-24 10:55:11 -07:00
Tim Graham
6073091b77
Fixed #20124 - Fixed doc warnings.
2013-03-24 13:49:31 -04:00
Aymeric Augustin
f02c6c2760
Goodbye, Malcolm.
2013-03-24 18:31:20 +01:00
Yohan Boniface
c5b2414a52
Doc: "value" is arg not kwarg in HttpResponse.set_signed_cookie
2013-03-24 12:12:23 -04:00
Aymeric Augustin
e12aad2d57
Added changes missing from previous commit.
...
Sorry.
2013-03-24 14:30:04 +01:00
Aymeric Augustin
e16c48e001
Fixed #15124 -- Changed the default for BooleanField.
...
Thanks to the many contributors who updated and improved the patch over
the life of this ticket.
2013-03-24 13:47:01 +01:00
Aymeric Augustin
ae417dd4d5
Added release notes for 4b31a6a9
.
...
Thanks Florian for reporting this omission.
2013-03-24 13:13:19 +01:00
Tim Graham
d384878cc1
Merge pull request #941 from xakon/master
...
Small typo error in tutorial
2013-03-23 13:29:18 -07:00
Claude Paroz
f670cce9f5
Fixed #20119 -- Fixed typo in auth docs
...
Thanks vinyll for the report.
2013-03-23 20:00:18 +01:00
Claude Paroz
76aecfbc4b
Fixed #9055 -- Standardized behaviour of parameter escaping in db cursors
...
Previously, depending on the database backend or the cursor type,
you'd need to double the percent signs in the query before passing
it to cursor.execute. Now cursor.execute consistently need percent
doubling whenever params argument is not None (placeholder substitution
will happen).
Thanks Thomas Güttler for the report and Walter Doekes for his work
on the patch.
2013-03-23 17:11:10 +01:00
Jannis Leidel
e7514e4978
Merge pull request #942 from stephrdev/trac-18000
...
Fixed #18000 -- Moved the code to handle goto requests to an extra WizardView method.
2013-03-23 05:29:28 -07:00
Stephan Jaekel
1c8a1706fb
Updated docs, changed versionchanged to versionadded.
2013-03-23 13:27:16 +01:00
Stephan Jaekel
b614c47f8c
Added some class attributes to pass initial form lists to the WizardView without the need to add them in the as_view call.
2013-03-23 12:24:34 +01:00
Stephan Jaekel
46246c6624
Moved the code to handle goto requests in a extra WizardView method.
2013-03-23 12:02:23 +01:00
Christos Kontas
15f12d4181
Fix minor typo in tutorial
2013-03-23 09:55:24 +02:00
Tim Graham
93cffc3b37
Added missing markup to docs.
2013-03-22 13:50:07 -04:00
Tim Graham
0df59bc212
Merge pull request #935 from tomviner/master
...
Docs template name typo
2013-03-22 10:46:08 -07:00
Tim Graham
f7795e968d
Fixed #17935 - Clarified intro of topics/files.txt.
...
Thanks guettli for the suggestion.
2013-03-22 06:01:51 -04:00
Tom V
a907fa088e
Docs template name mistake
...
change_list_request.html doesn't exist, it's named change_list_results.html
2013-03-21 10:03:28 +00:00
Andrew Gorcester
f9ab543720
Fixed #20084 -- Provided option to validate formset max_num on server.
...
This is provided as a new "validate_max" formset_factory option defaulting to
False, since the non-validating behavior of max_num is longstanding, and there
is certainly code relying on it. (In fact, even the Django admin relies on it
for the case where there are more existing inlines than the given max_num). It
may be that at some point we want to deprecate validate_max=False and
eventually remove the option, but this commit takes no steps in that direction.
This also fixes the DoS-prevention absolute_max enforcement so that it causes a
form validation error rather than an IndexError, and ensures that absolute_max
is always 1000 more than max_num, to prevent surprising changes in behavior
with max_num close to absolute_max.
Lastly, this commit fixes the previous inconsistency between a regular formset
and a model formset in the precedence of max_num and initial data. Previously
in a regular formset, if the provided initial data was longer than max_num, it
was truncated; in a model formset, all initial forms would be displayed
regardless of max_num. Now regular formsets are the same as model formsets; all
initial forms are displayed, even if more than max_num. (But if validate_max is
True, submitting these forms will result in a "too many forms" validation
error!) This combination of behaviors was chosen to keep the max_num validation
simple and consistent, and avoid silent data loss due to truncation of initial
data.
Thanks to Preston for discussion of the design choices.
2013-03-21 01:27:24 -07:00
Carny Cheng
aaec4f2bd8
Fixed #18839 - Field.__init__() now calls super().
2013-03-20 16:20:57 -07:00
Claude Paroz
a9ee0e2970
Fixed #20096 -- Added link to the Greek localflavor app
2013-03-20 17:08:08 +01:00
Paul Collins
9a85ad89c2
Fixed #16319 -- added SuccessMessageMixin to contrib.messages
...
Thanks martinogden for the initial patch and d1ffuz0r for tests.
2013-03-19 21:02:55 -07:00
Ryan West
ae8fcedbc7
small documentation update to outline caveat with SESSION_COOKIE_DOMAIN
2013-03-18 19:18:35 -07:00
Juan Catalano
36b45611bc
Added warn note to docs about MySQL issues with 0000-00-00 date strings
...
MySQL accepts 0000-00-00 as a valid date but MySQLdb converts those
values into None. So there will be problems for instance if trying to
transport the data using dumpdata/loaddata.
This patch refs #6642 that has been closed as wontfix since this is a
particular problem of MySQL.
2013-03-18 21:05:38 -03:00
Aymeric Augustin
31b5275235
Fixed #13260 -- Quoted arguments interpolated in URLs in reverse.
2013-03-18 23:58:22 +01:00
Justin Bronn
4485b2a74c
Update versions and links to source tarballs.
2013-03-18 15:55:32 -07:00
Aymeric Augustin
6197935152
Fixed #19968 -- Dropped support for PostgreSQL < 8.4.
2013-03-18 21:16:29 +01:00
Aymeric Augustin
20a91cce04
Fixed #17037 -- Added a --all option to diffsettings.
2013-03-18 00:03:58 +01:00
Aymeric Augustin
f3a6d74db9
Minor docs fix for e11ccc76
.
2013-03-17 22:43:49 +01:00
Aymeric Augustin
c94db53eaa
Two additions to the deployment checklist.
...
Thanks Erik Romijn.
2013-03-17 19:29:22 +01:00
Aymeric Augustin
912b5d2a6b
Fixed #19697 -- Added a deployment checklist.
2013-03-17 19:21:36 +01:00
Aymeric Augustin
0555ef7c23
Added structure in the 1.6 release notes.
...
The backwards-incompatible changes section wasn't structured in sections
like it is in release notes for previous versions.
2013-03-17 11:05:41 +01:00
Aymeric Augustin
e11ccc76d3
Updated bundled version of six.
2013-03-17 10:44:28 +01:00
Baptiste Mispelon
957fcd0c9f
Fix #20054 : Removed links to modwsgi.org.
2013-03-15 19:14:01 +01:00
Johan Charpentier
186bff4703
Fixed #20053 -- Fix `index_together` documentation
2013-03-15 15:15:52 +01:00
Aymeric Augustin
f8c7c8f27b
Merge pull request #901 from giamfreeg/master
...
Fixed an erroneous import in example code of docs (class-based-views/intro).
2013-03-15 06:23:21 -07:00
Marc Tamlyn
d35ffcaaad
Corrected typos in the 1.6 release notes
2013-03-15 12:50:15 +01:00
Aymeric Augustin
3f2befc931
Deprecated django.views.defaults.shortcut.
2013-03-14 20:30:23 +01:00
Claude Paroz
2f121dfe63
Fixed #17051 -- Removed some 'invalid' field error messages
...
When the 'invalid' error message is set at field level, it masks
the error message raised by the validator, if any.
2013-03-14 17:03:43 +01:00
Aymeric Augustin
b492e59074
Updated release instructions to account for website automation.
2013-03-14 14:59:45 +01:00
Anssi Kääriäinen
6b4834952d
Fixed #16649 -- Refactored save_base logic
...
Model.save() will use UPDATE - if not updated - INSERT instead of
SELECT - if found UPDATE else INSERT. This should save a query when
updating, but will cost a little when inserting model with PK set.
Also fixed #17341 -- made sure .save() commits transactions only after
the whole model has been saved. This wasn't the case in model
inheritance situations.
The save_base implementation was refactored into multiple methods.
A typical chain for inherited save is:
save_base()
_save_parents(self)
for each parent:
_save_parents(parent)
_save_table(parent)
_save_table(self)
2013-03-14 11:01:47 +02:00
Claude Paroz
50eb70b08f
Fixed #20032 -- Documented how to simulate the absence of a setting
...
Thanks Ram Rachum for the report.
2013-03-13 23:14:26 +01:00
Pablo Sanfilippo
bd68f701b1
Fixed an erroneous import in example code.
2013-03-13 14:16:27 -03:00
Aymeric Augustin
5d8342f321
Proof-read and adjusted the transactions docs.
2013-03-13 15:17:41 +01:00
Aymeric Augustin
83a416f5e7
Made atomic usable when autocommit is off.
...
Thanks Anssi for haggling until I implemented this.
This change alleviates the need for atomic_if_autocommit. When
autocommit is disabled for a database, atomic will simply create and
release savepoints, and not commit anything. This honors the contract of
not doing any transaction management.
This change also makes the hack to allow using atomic within the legacy
transaction management redundant.
None of the above will work with SQLite, because of a flaw in the design
of the sqlite3 library. This is a known limitation that cannot be lifted
without unacceptable side effects eg. triggering arbitrary commits.
2013-03-13 15:17:40 +01:00
Tim Graham
e1bafdbffa
Fixed #19965 - Added a warning that the tutorial is written for Python 2.
...
Thanks itsallvoodoo for the patch.
2013-03-12 08:04:32 -04:00
Ramiro Morales
7e26f4cb79
Fixed broken link in binary fields doc.
2013-03-11 22:09:21 -03:00
Aymeric Augustin
94521f50aa
Fixed #20026 -- Typo in Apache auth docs.
2013-03-11 22:48:03 +01:00
Jacob Kaplan-Moss
571b2d139b
Deprecated django.contrib.comments.
2013-03-11 15:38:40 -05:00
Aymeric Augustin
e654180ce2
Improved the API of set_autocommit.
2013-03-11 15:10:58 +01:00
Aymeric Augustin
4dbd1b2dd8
Used commit_on_success_unless_managed to make ORM operations atomic.
2013-03-11 15:05:05 +01:00
Aymeric Augustin
107d9b1d97
Added an option to disable the creation of savepoints in atomic.
2013-03-11 15:05:04 +01:00
Aymeric Augustin
189fb4e294
Added a note about long-running processes.
...
There isn't much else to say, really.
2013-03-11 15:05:04 +01:00
Aymeric Augustin
17cf29920b
Added an explanation of transactions and grouped low-level APIs.
2013-03-11 15:05:02 +01:00
Aymeric Augustin
ffe41591e7
Updated the documentation for savepoints.
...
Apparently django.db.transaction used to be an object.
2013-03-11 15:04:10 +01: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
d7bc4fbc94
Implemented an 'atomic' decorator and context manager.
...
Currently it only works in autocommit mode.
Based on @xact by Christophe Pettus.
2013-03-11 14:48:55 +01:00
Aymeric Augustin
4b31a6a9e6
Added support for savepoints in SQLite.
...
Technically speaking they aren't usable yet.
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
5e27debc5c
Enabled database-level autocommit for all backends.
...
This is mostly a documentation change.
It has the same backwards-incompatibility consequences as those
described for PostgreSQL in a previous commit.
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
Aymeric Augustin
9cec689e6a
Moved a warning in the 1.6 notes back to its expected location.
2013-03-11 12:04:29 +01:00
Jonathan Loy
b3c6a20e71
Fixed #20018 : Added backtick to fix reference
...
Fixed #20018
2013-03-10 14:09:33 -04:00
Claude Paroz
63c52dcbcd
Fixed #20008 -- Removed trailing slash in Wikipedia link
...
Thanks senden9 at gmail.com for the report.
2013-03-10 15:57:51 +01:00
Claude Paroz
e6f5b7eacd
Fixed #9806 -- Allowed editing GeometryField with OpenLayersWidget
...
Thanks Paul Winkler for the initial patch.
2013-03-09 16:10:28 +01:00
Claude Paroz
6a91b63842
Fixed #19923 -- Display tracebacks for non-CommandError exceptions
...
By default, show tracebacks for management command errors when the
exception is not a CommandError.
Thanks Jacob Radford for the report.
2013-03-09 12:38:45 +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
Alex Gaynor
1b81f328f4
Adde two "versionadded" markers, thanks to mYk for noticing.
2013-03-07 12:05:06 -08:00
Alex Gaynor
bbbd698c7a
Added a ManyToManyField(db_constraint=False) option, this allows not creating constraints on the intermediary models.
2013-03-07 11:24:51 -08:00
Claude Paroz
4cccb85e29
Fixed #19997 -- Added custom EMPTY_VALUES to form fields
...
Thanks Loic Bistuer for the report and the patch.
2013-03-07 15:22:03 +01:00
Preston Holmes
0ea5bf88dd
Fixed #19543 -- implemented SimpleLazyObject.__repr__
...
Thanks to Florian Hahn for the patch
2013-03-06 16:13:12 -08:00
Michael Manfre
bb998c9fec
Update link to django-mssql project
2013-03-06 12:12:42 -05:00
Aymeric Augustin
d1a5fe07ed
Fixed #19994 -- Typo.
...
Thanks akshar for the report.
2013-03-06 11:40:33 +01:00
Ramiro Morales
3bbcec0aba
Removed mentions of regressiontests.
2013-03-03 17:03:11 -03:00
Ramiro Morales
b01381072a
Release notes blurb for 804366327d
.
2013-03-03 16:44:44 -03:00
Tobias Carlander
df7668a9e4
Fix Typo explicitly. Fixes #19971
2013-03-03 22:34:10 +04:00
Aymeric Augustin
97afc49bb0
Removed unnecessary imports.
2013-03-03 16:07:38 +01:00
Claude Paroz
384c180e41
Fixed #19917 -- Added microseconds in default TIME_INPUT_FORMATS
...
Thanks minddust for the report.
2013-03-02 18:11:10 +01:00
Tim Graham
fe5d9fe5fe
Fixed #19962 - Added a note about SESSION_EXPIRE_AT_BROWSER_CLOSE and browsers that persist sessions.
...
Thanks David Sanders.
2013-03-02 10:11:23 -05:00
Aymeric Augustin
e0449316eb
Fixed #18130 -- Made the isolation level configurable on PostgreSQL.
...
Thanks limscoder for the report and niwi for the draft patch.
2013-03-02 15:05:49 +01:00
Claude Paroz
8ee1eddb7e
Add a BinaryField model field
...
Thanks Michael Jung, Charl Botha and Florian Apolloner for review
and help on the patch.
2013-03-02 10:29:02 +01:00
Claude Paroz
6d3b0c33dc
Fixed #19960 -- Fixed sentence in contrib.auth signals docs
...
Thanks edd at slipszenko.net for the report.
2013-03-01 22:15:23 +01:00
Aymeric Augustin
0c82b1dfc4
Fixed #19929 -- Improved error when MySQL doesn't have TZ definitions.
...
Thanks tomas_00 for the report.
2013-02-28 17:35:13 +01: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
Tim Graham
d009ffe436
Fixed #19937 - Typo in class-based views intro.
2013-02-28 08:25:14 -05:00
Florian Apolloner
481f3f13b5
1.5 is no longer "UNDER DEVELOPMENT".
...
Thanks to Bruno Renie for reporting.
2013-02-28 11:11:26 +01:00
Aymeric Augustin
ab1c25f674
Added a Trac-related item to the release checklist.
2013-02-28 10:26:47 +01:00
Tim Graham
226a9fb2ea
Merge pull request #858 from intgr/py3kdoc-fix
...
Fixed a typo in Python 3 porting guide.
2013-02-27 13:16:55 -08:00
Claude Paroz
b0ba21db07
Fixed #19926 -- Fixed a link to code example in queries docs
...
Thanks Randy Salvo for the report.
2013-02-27 21:30:54 +01:00
Aymeric Augustin
59a3520875
Refactored database exceptions wrapping.
...
Squashed commit of the following:
commit 2181d833ed1a2e422494738dcef311164c4e097e
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Wed Feb 27 14:28:39 2013 +0100
Fixed #15901 -- Wrapped all PEP-249 exceptions.
commit 5476a5d93c19aa2f928c497d39ce6e33f52694e2
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Tue Feb 26 17:26:52 2013 +0100
Added PEP 3134 exception chaining.
Thanks Jacob Kaplan-Moss for the suggestion.
commit 9365fad0a650328002fb424457d675a273c95802
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Tue Feb 26 17:13:49 2013 +0100
Improved API for wrapping database errors.
Thanks Alex Gaynor for the proposal.
commit 1b463b765f2826f73a8d9266795cd5da4f8d5e9e
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Tue Feb 26 15:00:39 2013 +0100
Removed redundant exception wrapping.
This is now taken care of by the cursor wrapper.
commit 524bc7345a724bf526bdd2dd1bcf5ede67d6bb5c
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Tue Feb 26 14:55:10 2013 +0100
Wrapped database exceptions in the base backend.
This covers the most common PEP-249 APIs:
- Connection APIs: close(), commit(), rollback(), cursor()
- Cursor APIs: callproc(), close(), execute(), executemany(),
fetchone(), fetchmany(), fetchall(), nextset().
Fixed #19920 .
commit a66746bb5f0839f35543222787fce3b6a0d0a3ea
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Tue Feb 26 14:53:34 2013 +0100
Added a wrap_database_exception context manager and decorator.
It re-throws backend-specific exceptions using Django's common wrappers.
2013-02-27 17:26:54 +01:00
Anssi Kääriäinen
50328f0a61
Fixed #19861 -- Transaction ._dirty flag improvement
...
There were a couple of errors in ._dirty flag handling:
* It started as None, but was never reset to None.
* The _dirty flag was sometimes used to indicate if the connection
was inside transaction management, but this was not done
consistently. This also meant the flag had three separate values.
* The None value had a special meaning, causing for example inability
to commit() on new connection unless enter/leave tx management was
done.
* The _dirty was tracking "connection in transaction" state, but only
in managed transactions.
* Some tests never reset the transaction state of the used connection.
* And some additional less important changes.
This commit has some potential for regressions, but as the above list
shows, the current situation isn't perfect either.
2013-02-27 17:54:27 +02:00
Tim Graham
2108941677
Fixed #16807 - Added a class-based views intro.
...
Thanks Preston Holmes for the text.
2013-02-27 07:13:55 -05: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
Marti Raudsepp
fba6df19b5
[py3] str.decode does not exist; str.encode was intended
2013-02-26 23:28:47 +02:00
Carl Meyer
9e6725c5ea
Added note about updating default docs version in howto-release doc.
2013-02-26 13:46:32 -07:00
Tim Graham
9ce1b6191b
Fixed #19922 - Typo in translation docs.
...
Thanks amoebob for the report.
2013-02-26 15:12:28 -05: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
0836670c5c
Fixed #6195 -- Documented caching options for javascript_catalog.
2013-02-25 22:29:38 +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
Tim Graham
8e5fbebe02
Fixed #19801 - Added brackets to input_formats.
...
Thanks leandron85@ for the suggestion.
2013-02-25 12:22:02 -05: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
8f839aaa18
Minor edits to some recently-added admin docs.
2013-02-25 00:15:11 -07:00
Claude Paroz
7e85ee8cd2
Added missing versionadded for sqldropindexes command docs
2013-02-24 21:12:00 +01:00
Tim Graham
4ae9e83f2b
Merge pull request #835 from vdboor/docfix
...
Fixed documentation typo (:mod: role in Syndication feed text)
2013-02-24 12:11:55 -08:00
Aymeric Augustin
e3e0f49ece
Merge pull request #834 from vdboor/issue_19906_list_classes
...
Added column-<field_name> classes to the admin list
2013-02-24 08:58:57 -08:00
Diederik van der Boor
b7ba4fc408
Add column-<field_name> classes to the admin list
...
This simplifies CSS styling to set column widths.
2013-02-24 17:50:23 +01:00
Diederik van der Boor
6d8f59dab9
Fix documentation :mod: role in Syndication feed text.
2013-02-24 17:02:10 +01:00
Ben Konrath
d546259647
Fixed #19394 --Added note about auth forms and custom user models.
2013-02-24 07:55:38 -08:00
Florian Apolloner
a5733fcd7b
Fixed creation of html docs on python 3.
...
Thanks to Alan Lu for the report and the patch.
2013-02-24 15:45:53 +01:00
Jacob Kaplan-Moss
c35f2e67c1
Added a note about Feed.get_context_data to the 1.6 release notes.
2013-02-24 08:33:20 -06:00
Zbigniew Siciarz
0a8402eb05
Test case and docs for custom context data in feeds
...
Thanks Paul Winkler for the initial patch. (Ref #18112 ).
2013-02-24 08:33:20 -06:00
Florian Apolloner
4506ae0497
Merge pull request #717 from slurms/ticket_19746
...
Fixed #19746 -- Allow deserialization of pk-less data
2013-02-24 06:31:14 -08:00
Tomek Paczkowski
99edbe0e27
Fixed #19253 -- Extracted template cache key building logic
...
Introduced a public function
django.core.cache.utils.make_template_fragment_key
Thanks @chrismedrela for fruitful cooperation.
2013-02-24 14:32:45 +01:00
Aymeric Augustin
7106a1e594
Merge pull request #819 from erikr/master
...
Fixed #16302 -- Ensured contrib.comments is IPv6 capable.
2013-02-24 05:02:00 -08:00
Erik Romijn
ade992c61e
Fixed #16302 -- Ensure contrib.comments is IPv6 capable
...
Changed the ip_address field for Comment to GenericIPAddressField. Added
instructions to the release notes on how to update the schema of existing
databases.
2013-02-24 13:58:38 +01:00
Aymeric Augustin
deb4e097ae
Fixed minor rst formatting glitch.
2013-02-24 13:58:24 +01:00
Bas Peschier
5a9b2bce24
Fixed #19810 -- MemcachedCache now uses pickle.HIGHEST_PROTOCOL
2013-02-24 13:56:15 +01:00
Honza Král
e4e1287590
Merge pull request #817 from rybaktomasz/ticket_5568
...
Fixes #5568 -- DROP INDEX subcommand
2013-02-24 04:02:26 -08:00
Tomasz Rybak
5099f31a31
Made changes asked in review by HonzaKral
...
Add documentation for new command in django-admin.
2013-02-24 12:53:59 +01:00
Aymeric Augustin
b6aede3268
Merge pull request #815 from zerok/tickets/11971
...
Fixed #11971 -- Documented the serialization formats
2013-02-24 02:18:32 -08:00
Horst Gutmann
5612f54bd5
Added more details about the various serialization formats.
2013-02-24 10:58:03 +01:00
Preston Holmes
17a28b39a8
Made a small clarification in tutorial.
...
refs #19889
2013-02-23 19:07:06 -08: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
Tim Graham
cf890c110e
Added an example of "default" database dictionary left blank; refs #19775 .
...
Thanks wsmith323 for the patch.
2013-02-23 16:01:43 -05:00
Tim Graham
24a2bcbcdd
Fixed #19402 - Clarified purpose of CustomUser.REQUIRED_FIELDS
...
Thanks pydanny for the report and ptone for the patch.
2013-02-23 15:42:56 -05:00
Tim Graham
4c05fdb467
Fixed #19579 - Documented that "providing_args" is purely documentational.
2013-02-23 15:33:43 -05:00
Tim Graham
9b97f01dea
Fixed #19880 - Fixed an error in the form wizard initial_dict example.
...
Thanks almalki for the report.
2013-02-23 15:26:41 -05:00
Tim Graham
31bcb102b2
Fixed #19775 - Clarified requirements of the "default" database.
...
Thanks monkut for the report and wsmith323 for the patch.
2013-02-23 15:21:35 -05: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
Tim Graham
f3ae67a62f
Updated example to use staticfiles static template tag, thanks reinout for the suggestion, refs #19675 .
2013-02-23 11:05:38 -05:00
Tim Graham
8d17114899
Fixed #19752 - Changed Postgres version numbers to 9.x to avoid having to update them each minor release.
2013-02-23 10:40:19 -05:00
Tim Graham
9e959e8d58
Updated static file example in overview to use static template tag, refs #19675 .
...
Thanks jezdez for the note.
2013-02-23 10:35:22 -05: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
Tim Graham
a61dbd6219
Fixed #19675 - Added mention of static files to overview.
...
Thanks Dwight Gunning for the patch.
2013-02-23 10:00:23 -05:00
Tim Graham
722683f508
Fixed #19887 - Noted when callables may be used in ModelAdmin.fields and ModelAdmin.fieldset.
...
Thanks Patrick Strasser for the suggestion and Zbigniew Siciarz for the patch.
2013-02-23 09:45:34 -05:00
Tim Graham
1b7fb29dfb
Changed "mysite/mytemplates/" -> "mysite/templates" in tutorial.
...
Thanks James Pic.
2013-02-23 09:19:32 -05:00
Tim Graham
c89717fabe
Fixed #17094 - Typo in class-based views doc.
...
Thanks alej0 for the report.
2013-02-23 08:52:33 -05:00
Horst Gutmann
2f4a4703e1
Fixed #19758 -- Avoided leaking email existence through the password reset form.
2013-02-23 14:31:21 +01:00
Honza Král
6000600cc5
Merge pull request #749 from ecabuk/master
...
Fixed #19752 -- Remove the exact Postgresql version from gis doc
2013-02-23 02:35:32 -08:00
Evrim Çabuk
48a9194755
Remove the exact Postgresql version number from gis install documentation
...
ref #19752
2013-02-23 11:53:10 +02:00
Claude Paroz
7ec2a21be1
Fixed #19686 -- Added HTML5 number input type
...
Thanks Simon Charette for his help on the patch. Refs #16630 .
2013-02-23 10:18:08 +01:00
Claude Paroz
60fff6fc94
Documented jQuery upgrade
...
Refs #14571 .
2013-02-22 22:02:53 +01:00
Preston Holmes
649118961c
Fixed #19868 -- Clarified purpose of custom user example
2013-02-20 15:32:35 -08:00
Alex Gaynor
4e36e0a8b3
Clarified the language used in the documentation. Thanks to Mike Smith for the report.
2013-02-20 13:09:40 -08:00
Alex Gaynor
b55cde054e
Added a db_constraint option to ForeignKeys.
...
This controls whether or not a database level cosntraint is created. This is useful in a few specialized circumstances, but in general should not be used!
2013-02-20 11:27:32 -08:00
Tim Graham
9dde0dc631
Merge pull request #739 from JustinTArthur/ticket-19855
...
Fixed typo in legacy database how to
2013-02-19 15:22:01 -08:00
Tim Graham
132d5822b0
Fixed #19728 - Updated API stability doc to reflect current meaning of "stable".
2013-02-19 18:19:50 -05:00
Justin Turner Arthur
3f49d91463
Fixes typo introduced by django/django@08dc90bccf . This is described in Trac ticket:19855.
2013-02-19 17:03:33 -06:00
Tim Graham
bd006e00e4
Merge pull request #737 from hrbonz/docs_CBV_generic_views_typo
...
Fixed typo in docs/topics/class-based-views/generic-display.txt
2013-02-19 13:30:28 -08:00
Carl Meyer
8fbea5e188
Update 1.5 release notes for XML and formset fixes.
2013-02-19 11:23:30 -07:00
Aymeric Augustin
35c991aa06
Added a default limit to the maximum number of forms in a formset.
...
This is a security fix. Disclosure and advisory coming shortly.
2013-02-19 11:23:30 -07:00
Carl Meyer
d51fb74360
Added a new required ALLOWED_HOSTS setting for HTTP host header validation.
...
This is a security fix; disclosure and advisory coming shortly.
2013-02-19 11:23:29 -07:00
Tim Graham
1add79bc40
Fixed #19852 - Updated admin fieldset example for consistency.
...
Thanks chris.freeman.pdx@ for the suggestion.
2013-02-19 12:44:19 -05:00
Tim Graham
00031b73bd
Updated a couple admonitions to use the warning directive.
2013-02-19 11:31:41 -05:00
Tim Graham
efa300088f
Fixed #18789 - Fixed some text wrap issues with methods in the docs.
...
Thanks neixetis@ for the report.
2013-02-19 10:25:26 -05:00
Stefan "hr" Berder
22d5e4b4af
Update docs/topics/class-based-views/generic-display.txt
...
simple typo in "Making friendly template contexts"
2013-02-19 16:01:06 +08:00
Tim Graham
64d0f89ab1
Fixed #19717 - Removed mentions of "root QuerySet" in docs.
...
Thanks julien.aubert.mail@ for the report and James Pic for the patch.
2013-02-18 09:35:22 -05:00
Simon Meers
9c2066d567
Corrected INSTALLED_APPS syntax in 1.5 release notes.
2013-02-18 00:33:29 +11:00
Tim Graham
218bbef0c4
Fixed #19824 - Corrected the class described for Field.primary_key from IntegerField to AutoField.
...
Thanks Keryn Knight.
2013-02-16 18:31:54 -05:00
Tim Graham
7a80904b00
Fixed #19812 - Removed a duplicate phrase in the widget docs.
...
Thanks diegueus9 for the report and itsallvoodoo for the draft patch.
2013-02-16 18:23:39 -05:00
Alex Hunley
976dc07baf
Removed a misleading examples from documentations ala ticket #19719
2013-02-16 14:30:55 -05:00
Aymeric Augustin
e74e207cce
Fixed #17260 -- Added time zone aware aggregation and lookups.
...
Thanks Carl Meyer for the review.
Squashed commit of the following:
commit 4f290bdb60
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Wed Feb 13 21:21:30 2013 +0100
Used '0:00' instead of 'UTC' which doesn't always exist in Oracle.
Thanks Ian Kelly for the suggestion.
commit 01b6366f3c
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Wed Feb 13 13:38:43 2013 +0100
Made tzname a parameter of datetime_extract/trunc_sql.
This is required to work around a bug in Oracle.
commit 924a144ef8
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Wed Feb 13 14:47:44 2013 +0100
Added support for parameters in SELECT clauses.
commit b4351d2890
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Feb 11 22:30:22 2013 +0100
Documented backwards incompatibilities in the two previous commits.
commit 91ef84713c
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Feb 11 09:42:31 2013 +0100
Used QuerySet.datetimes for the admin's date_hierarchy.
commit 0d0de288a5
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Feb 11 09:29:38 2013 +0100
Used QuerySet.datetimes in date-based generic views.
commit 9c0859ff7c
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sun Feb 10 21:43:25 2013 +0100
Implemented QuerySet.datetimes on Oracle.
commit 68ab511a4f
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sun Feb 10 21:43:14 2013 +0100
Implemented QuerySet.datetimes on MySQL.
commit 22d52681d3
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sun Feb 10 21:42:29 2013 +0100
Implemented QuerySet.datetimes on SQLite.
commit f6800fd04c
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sun Feb 10 21:43:03 2013 +0100
Implemented QuerySet.datetimes on PostgreSQL.
commit 0c829c23f4
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sun Feb 10 21:41:08 2013 +0100
Added datetime-handling infrastructure in the ORM layers.
commit 104d82a777
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Feb 11 10:05:55 2013 +0100
Updated null_queries tests to avoid clashing with the __second lookup.
commit c01bbb3235
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sun Feb 10 23:07:41 2013 +0100
Updated tests of .dates().
Replaced .dates() by .datetimes() for DateTimeFields.
Replaced dates with datetimes in the expected output for DateFields.
commit 50fb7a5246
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sun Feb 10 21:40:09 2013 +0100
Updated and added tests for QuerySet.datetimes.
commit a8451a5004
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sun Feb 10 22:34:46 2013 +0100
Documented the new time lookups and updated the date lookups.
commit 29413eab2b
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sun Feb 10 16:15:49 2013 +0100
Documented QuerySet.datetimes and updated QuerySet.dates.
2013-02-16 09:19:04 +01:00
Russell Keith-Magee
91c26eadc9
Refs #14881 -- Document that User models need to have an integer primary key.
...
Thanks to Kaloian Minkov for the reminder about this undocumented requirement.
2013-02-16 10:21:05 +08:00
Russell Keith-Magee
f5e4a699ca
Fixed #19822 -- Added validation for uniqueness on USERNAME_FIELD on custom User models.
...
Thanks to Claude Peroz for the draft patch.
2013-02-15 09:00:55 +08:00
Claude Paroz
668d0b8d49
Fixed #19823 -- Fixed memcached code example in cache docs
2013-02-14 11:23:52 +01:00
Hiroki Kiyohara
e94f405d94
Fixed #18558 -- Added url property to HttpResponseRedirect*
...
Thanks coolRR for the report.
2013-02-13 10:29:32 +01:00
Aymeric Augustin
c4841b3de4
Merge pull request #719 from JonLoy/ticket_19808
...
Fixed #19808 -- Typo in example
2013-02-12 06:24:22 -08:00
JonLoy
74003ca36b
Fixed #19808 Capitalization error in example text
2013-02-12 09:14:19 -05:00
Ramiro Morales
0560bfb705
Mention backward relationships in aggregate docs.
...
Thanks Anssi and Marc Tamlyn for reviewing.
Fixes #19803 .
2013-02-12 09:36:29 -03:00
Nick Sandford
278dad5b41
Fixed #19746 -- Allow deserialization of pk-less data
2013-02-12 17:10:42 +08:00
Simon Charette
a10f390804
Fixed #19044 -- Made `DeletionMixin` interpolate its `success_url`.
...
Thanks to nxvl and slurms for the initial patch, ptone for the review
and timo for the documentation tweaks.
2013-02-11 02:39:14 -05:00
Tim Graham
5ce6a7cea2
Updated tutorial 1 to reflect changes in default project template.
...
Thanks JonLoy for the patch.
2013-02-10 18:07:50 -05:00
Claude Paroz
8fbc20b24b
Emphasized MyISAM pseudo-requirement for GeoDjango over MySQL
...
Refs #15295 .
2013-02-10 20:49:16 +01:00
Tim Graham
af2bb17470
Added a note about the default timezone and the new project template.
...
Thanks JonLoy for the draft patch.
2013-02-10 12:58:42 -05:00
Tim Graham
d93edffa89
Fixed #19699 - Removed "Please see the release notes" from versionadded/changed directives
...
Also bumped django_next_version back to 1.6 so those
annotations are described as "the development version"
in the docs.
Thanks Aymeric for the patch.
2013-02-09 09:16:10 -05:00
Claude Paroz
0201b9d6d8
Fixed #19749 -- Documented ending param to command's self.stdout/err
...
Thanks xian at mintchaos.com for the report.
2013-02-09 10:17:26 +01:00
Claude Paroz
2ed90eac49
Fixed #19779 -- Checked contrib.sites presence in RedirectFallbackMiddleware
...
Thanks Aymeric Augustin for the report and directions for the patch.
2013-02-08 16:32:09 +01:00
Preston Holmes
c44d748272
Fixed #19662 -- alter auth modelbackend to accept custom username fields
...
Thanks to Aymeric and Carl for the review.
2013-02-07 16:07:56 -08:00
Ramiro Morales
112c6e987d
Typo in i18n docs.
2013-02-07 19:57:26 -03:00
Tim Graham
aa85ccf8ce
Fixed #19706 - Tweaks to the tutorial.
...
Thanks Daniele Procida.
2013-02-07 07:05:36 -05:00
Tim Graham
43efefae69
Fixed #19756 - Corrected a ManyToMany example and added some links and markup.
2013-02-07 06:12:25 -05:00
Aymeric Augustin
720888a146
Fixed #15808 -- Added optional HttpOnly flag to the CSRF Cookie.
...
Thanks Samuel Lavitt for the report and Sascha Peilicke for the patch.
2013-02-07 09:48:08 +01:00
Tim Graham
afa3e16334
Fixed #19743 - Documented some limitations of contrib.auth.
...
Thanks Aymeric for the suggestion.
2013-02-06 08:24:38 -05:00
Simon Charette
5449240c54
Fixed #9800 -- Allow "isPermaLink" attribute in <guid> element of an RSS item.
...
Thanks @rtnpro for the patch!
2013-02-06 05:28:05 -05:00
Simon Charette
ea425ebcb2
Fixed a documentation warning introduced by 3f1c7b7
2013-02-06 01:07:42 -05:00
Simon Charette
ec469ade2b
Fixed #19689 -- Renamed `Model._meta.module_name` to `model_name`.
2013-02-05 04:16:07 -05:00
Simon Charette
5c70299a71
Fixed #19734 -- Missing values in `DATETIME_INPUT_FORMATS` doc.
...
Also changed formating of `DATE_INPUT_FORMATS` and
`TIME_INPUT_FORMATS` for readability.
Thanks minddust for the report!
2013-02-04 15:06:38 -05:00
Aymeric Augustin
3f1c7b7053
Simplified default project template.
...
Squashed commit of:
commit 508ec9144b35c50794708225b496bde1eb5e60aa
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Tue Jan 29 22:50:55 2013 +0100
Tweaked default settings file.
* Explained why BASE_DIR exists.
* Added a link to the database configuration options, and put it in its
own section.
* Moved sensitive settings that must be changed for production at the
top.
commit 6515fd2f1aa73a86dc8dbd2ccf512ddb6b140d57
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Tue Jan 29 14:35:21 2013 +0100
Documented the simplified app & project templates in the changelog.
commit 2c5b576c2ea91d84273a019b3d0b3b8b4da72f23
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Tue Jan 29 13:59:27 2013 +0100
Minor fixes in tutorials 5 and 6.
commit 55a51531be8104f21b3cca3f6bf70b0a7139a041
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Tue Jan 29 13:51:11 2013 +0100
Updated tutorial 2 for the new project template.
commit 29ddae87bdaecff12dd31b16b000c01efbde9e20
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Tue Jan 29 11:58:54 2013 +0100
Updated tutorial 1 for the new project template.
commit 0ecb9f6e2514cfd26a678a280d471433375101a3
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Tue Jan 29 11:29:13 2013 +0100
Adjusted the default URLconf detection to account for the admin.
It's now enabled by default.
commit 5fb4da0d3d09dac28dd94e3fde92b9d4335c0565
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Tue Jan 29 10:36:55 2013 +0100
Added security warnings for the most sensitive settings.
commit 718d84bd8ac4a42fb4b28ec93965de32680f091e
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Jan 28 23:24:06 2013 +0100
Used an absolute path for the SQLite database.
This ensures the settings file works regardless of which directory
django-admin.py / manage.py is invoked from.
BASE_DIR got a +1 from a BDFL and another core dev. It doesn't involve
the concept of a "Django project"; it's just a convenient way to express
relative paths within the source code repository for non-Python files.
Thanks Jacob Kaplan-Moss for the suggestion.
commit 1b559b4bcda622e10909b68fe5cab90db6727dd9
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Jan 28 23:22:40 2013 +0100
Removed STATIC_ROOT from the default settings template.
It isn't necessary in development, and it confuses beginners to no end.
Thanks Carl Meyer for the suggestion.
commit a55f141a500bb7c9a1bc259bbe1954c13b199671
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Jan 28 23:21:43 2013 +0100
Removed MEDIA_ROOT/URL from default settings template.
Many sites will never deal with user-uploaded files, and MEDIA_ROOT is
complicated to explain.
Thanks Carl Meyer for the suggestion.
commit 44bf2f2441420fd9429ee9fe1f7207f92dd87e70
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Jan 28 22:22:09 2013 +0100
Removed logging config.
This configuration is applied regardless of the value of LOGGING;
duplicating it in LOGGING is confusing.
commit eac747e848eaed65fd5f6f254f0a7559d856f88f
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Jan 28 22:05:31 2013 +0100
Enabled the locale middleware by default.
USE_I18N is True by default, and doesn't work well without
LocaleMiddleware.
commit d806c62b2d00826dc2688c84b092627b8d571cab
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Jan 28 22:03:16 2013 +0100
Enabled clickjacking protection by default.
commit 99152c30e6a15003f0b6737dc78e87adf462aacb
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Jan 28 22:01:48 2013 +0100
Reorganized settings in logical sections, and trimmed comments.
commit d37ffdfcb24b7e0ec7cc113d07190f65fb12fb8a
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Jan 28 16:54:11 2013 +0100
Avoided misleading TEMPLATE_DEBUG = DEBUG.
According to the docs TEMPLATE_DEBUG works only when DEBUG = True.
commit 15d9478d3a9850e85841e7cf09cf83050371c6bf
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Jan 28 16:46:25 2013 +0100
Removed STATICFILES_FINDERS/TEMPLATE_LOADERS from default settings file.
Only developers with special needs ever need to change these settings.
commit 574da0eb5bfb4570883756914b4dbd7e20e1f61e
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Jan 28 16:45:01 2013 +0100
Removed STATICFILES/TEMPLATES_DIRS from default settings file.
The current best practice is to put static files and templates in
applications, for easier testing and deployment.
commit 8cb18dbe56629aa1be74718a07e7cc66b4f9c9f0
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Jan 28 16:24:16 2013 +0100
Removed settings related to email reporting from default settings file.
While handy for small scale projects, it isn't exactly a best practice.
commit 8ecbfcb3638058f0c49922540f874a7d802d864f
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Tue Jan 29 18:54:43 2013 +0100
Documented how to enable the sites framework.
commit 23fc91a6fa67d91ddd9d71b1c3e0dc26bdad9841
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Jan 28 16:28:59 2013 +0100
Disabled the sites framework by default.
RequestSite does the job for single-domain websites.
commit c4d82eb8afc0eb8568bf9c4d12644272415e3960
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Tue Jan 29 00:08:33 2013 +0100
Added a default admin.py to the application template.
Thanks Ryan D Hiebert for the suggestion.
commit 4071dc771e5c44b1c5ebb9beecefb164ae465e22
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Jan 28 10:59:49 2013 +0100
Enabled the admin by default.
Everyone uses the admin.
commit c807a31f8d89e7e7fd97380e3023f7983a8b6fcb
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Jan 28 10:57:05 2013 +0100
Removed admindocs from default project template.
commit 09e4ce0e652a97da1a9e285046a91c8ad7a9189c
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Jan 28 16:32:52 2013 +0100
Added links to the settings documentation.
commit 5b8f5eaef364eb790fcde6f9e86f7d266074cca8
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Jan 28 11:06:54 2013 +0100
Used a significant example for URLconf includes.
commit 908e91d6fcee2a3cb51ca26ecdf12a6a24e69ef8
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Jan 28 16:22:31 2013 +0100
Moved code comments about WSGI to docs, and rewrote said docs.
commit 50417e51996146f891d08ca8b74dcc736a581932
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Mon Jan 28 15:51:50 2013 +0100
Normalized the default application template.
Removed the default test that 1 + 1 = 2, because it's been committed
way too many times, in too many projects.
Added an import of `render` for views, because the first view will
often be:
def home(request):
return render(request, "mysite/home.html")
2013-02-04 13:21:36 +01:00
Ramiro Morales
21ea58b8cc
Enhanced docs and docctrings added in 869c9ba
.
...
Thanks Claude for the suggestion.
2013-02-04 08:55:45 -03:00
Ramiro Morales
869c9ba306
Fixed #19730 -- Don't validate importability of settings by using i18n in management commands.
...
They are handled independently now and the latter can be influenced by
the new BaseCommand.leave_locale_alone internal option.
Thanks chrischambers for the report, Claude, lpiatek, neaf and gabooo for
their work on a patch, originally on refs. #17379 .
2013-02-03 23:40:38 -03:00
Tim Graham
2c173ff3b4
Fixed a typo in docs/topics/auth/customizing.txt
2013-02-03 13:23:16 -05:00
Julien Phalip
293f7a2114
Fixed #17797 -- Enabled support for PATCH requests in the dummy test client. Thanks to pfarmer for the suggestion and initial patch.
2013-02-02 18:22:40 -08:00
Ramiro Morales
08dc90bccf
Fixed #14305 -- Switched inspectdb to create unmanaged models.
...
Thanks Ian Kelly for the report and initial patch.
2013-02-02 21:11:32 -03: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
Nick Sandford
0694d2196f
Fixed #19445 -- Skip admin fieldsets validation when the ModelAdmin.get_form() method is overridden.
2013-02-02 14:53:46 -08:00
Tim Graham
fdaaa24171
Fixed #19700 - Added documentation for BoundField.field.
...
Thanks Tiberiu Ana for the report and patch.
2013-02-02 08:34:42 -05:00
Ramiro Morales
5f7eecd09a
Small generic FK docs tweaks.
2013-02-01 23:30:50 -03:00
Ramiro Morales
1ee40f2141
Fixed content types contrib app doc typos.
2013-02-01 23:30:50 -03:00
Tim Graham
bdb5f28714
Merge pull request #682 from LucianU/master
...
Fixed #19690 - Removed unused import in doc examples
2013-02-01 16:18:05 -08:00
Aymeric Augustin
0412b7d280
Avoided ambiguous output when runserver port is already in use.
...
Thanks James Pic for the suggestion (PR 88).
2013-02-01 22:25:29 +01:00
Aymeric Augustin
d75a54c184
Fix rst syntax error.
...
Thanks Chris Rebert for the report.
2013-02-01 21:48:22 +01:00
Simon Charette
ab51dff83d
Added myself to core developpers
2013-02-01 14:52:27 -05:00
Aymeric Augustin
a0c67c69bf
Documented ArchiveIndexView's date_list context variable.
...
Refs #16218 .
2013-02-01 13:42:30 +01:00
Matt Robenolt
393c268e72
Fixed #19715 -- Simplified findstatic output when verbosity set to 0
2013-02-01 11:55:05 +01:00
Claude Paroz
56e553129f
Fixed #19714 -- Updated documentation about TemplateView context
...
Thanks Aramgutang for the report. Refs #17228 .
2013-02-01 09:55:19 +01: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
Aymeric Augustin
b2039d39d5
Attempted to reduce version mismatch problems in the tutorial.
2013-01-31 13:37:42 +01:00
Aymeric Augustin
c8c7cdc8f8
Changed "versionadded" after the decision to backport.
...
Refs #19076 .
2013-01-30 21:35:45 +01:00
Aymeric Augustin
23e319d729
Fixed #19076 -- Added content_type attribute to TemplateView.
...
Thanks Gavin Wahl.
2013-01-30 21:26:17 +01:00
Aymeric Augustin
3f1a0c0040
Fixed #19160 -- Made lazy plural translations usable.
...
Many thanks to Alexey Boriskin, Claude Paroz and Julien Phalip.
2013-01-30 20:28:16 +01:00
Ramiro Morales
47ddd6a408
Fixed #19552 -- Enhanced makemessages handling of ``{# #}``-style template comments.
...
They are simply ignored now. This allows for a more correct behavior when
they are placed before translatable constructs on the same line.
Previously, the latter were wrongly ignored because the former were
preserved when converting template code to the internal Python-syntax
form later fed to xgettext but Python has no ``/* ... */``-style
comments.
Also, special comments directed to translators are now only taken in
account when they are located at the end of a line. e.g.::
{# Translators: ignored #}{% trans "Literal A" %}{# Translators: valid, associated with "Literal B" below #}
{% trans "Literal B" %}
Behavior of ``{% comment %}...{% endcomment %}``tags remains unchanged.
Thanks juneih at redpill-linpro dot com for the report and Claude for
his work on the issue.
2013-01-29 19:13:23 -03:00
Tim Graham
ee26797cff
Fixed typos in docs and comments
2013-01-29 10:55:55 -07:00
Lucian Ursu
c6560e4843
Fixed #19690 - Removed unused import
...
Removed an import of a class unused in the Ajax example.
2013-01-29 17:39:03 +02:00
Aymeric Augustin
b99a4e1073
Updated metrics on the documentation.
2013-01-29 14:12:04 +01:00
Tim Graham
537d44b1b9
Fixed #19683 - Added a missing import in signing example.
...
Thanks sunsongxp@ for the report.
2013-01-29 06:12:33 -05:00
Claude Paroz
f7394d2c32
Added HTML5 url input type
...
Refs #16630 .
2013-01-28 22:11:00 +01:00
Claude Paroz
4f16376274
Added HTML5 email input type
...
Refs #16630 .
2013-01-28 22:10:50 +01:00
Tim Graham
14d1d504d5
Fixed two malformed links.
2013-01-27 06:09:50 -05:00
Aymeric Augustin
55416e235d
Fixed #19589 -- assertRegexpMatches is deprecated in Python 3.3.
2013-01-26 13:47:11 +01:00
Claude Paroz
ebb504db69
Moved has_changed logic from widget to form field
...
Refs #16612 . Thanks Aymeric Augustin for the suggestion.
2013-01-25 20:50:46 +01:00
Ramiro Morales
ce27fb198d
Revert "Patch by Claude for #16084."
...
This reverts commit 2babab0bb3
.
2013-01-25 13:58:37 -03:00
Ramiro Morales
5b99d5a330
Added more shortcuts to i18n docs in index page.
2013-01-25 13:50:37 -03:00
Ramiro Morales
2babab0bb3
Patch by Claude for #16084 .
2013-01-25 13:23:33 -03:00
Tim Graham
eafc036476
Fixed #19577 - Added HTML escaping to admin examples.
...
Thanks foo@ for the report and Florian Apolloner for the review.
2013-01-25 06:53:40 -05:00
Ramiro Morales
1f6b2e7a65
Fixed #6682 -- Made shell's REPL actually execute $PYTHONSTARTUP and `~/.pythonrc.py`.
...
Also:
* Added a ``--no-startup`` option to disable this behavior. Previous
logic to try to execute the code in charge of this funcionality was
flawed (it only tried to do so if the user asked for ipython/bpython
and they weren't found)
* Expand ``~`` in PYTHONSTARTUP value.
Thanks hekevintran at gmail dot com for the report and initial patch.
Refs #3381 .
2013-01-24 22:01:47 -03:00
Tim Graham
eaa716a413
Fixed #19639 - Updated contributing to reflect model choices best practices.
...
Thanks charettes.
2013-01-24 07:59:39 -05:00
Florian Apolloner
e2252bf977
Fixed a typo.
2013-01-24 11:58:06 +01:00
Nick Sandford
93e79b45bc
Fixed #17416 -- Added widgets argument to inlineformset_factory and modelformset_factory
2013-01-24 08:58:17 +01:00
Justin Bronn
71c8539570
Fixed typo.
2013-01-23 12:36:48 -08:00
Tim Graham
0de2645c00
Fixed #19610 - Added enctype note to forms topics doc.
...
Thanks will@ for the suggestion.
2013-01-23 04:49:48 -05:00
Tim Graham
0db86273ae
Fixed #19633 - Discouraged use of gunicorn's Django integration.
2013-01-22 19:02:31 -05:00
Tim Graham
214fb700b9
Fixed #19477 - Documented generic_inlineformset_factory
...
Thanks epicserve for the suggestion.
2013-01-22 18:17:26 -05:00
Tim Graham
5b2d9bacd2
Fixed #19640 - Added inlineformset_factory to reference docs.
...
Thanks wim@ for the suggestion.
2013-01-22 07:55:34 -05:00
Anssi Kääriäinen
f96c86b029
Added missing versionadded 1.6 to docs of earliest()
...
Refs #17813
2013-01-20 06:45:00 +02:00
Nick Sandford
fe54377dae
Fixed #17813 -- Added a .earliest() method to QuerySet
...
Thanks a lot to everybody participating in developing this feature.
The patch was developed by multiple people, at least Trac aliases
tonnzor, jimmysong, Fandekasp and slurms.
Stylistic changes added by committer.
2013-01-20 06:39:35 +02:00
Tim Graham
0375244eae
Fixed #19628 - Noted that app for custom user model must be in INSTALLED_APPS
...
Thanks dpravdin and Jordan Messina.
2013-01-18 18:38:12 -05:00
Aymeric Augustin
1dd7492843
Fixed #19632 -- Bug in code sample.
...
Thanks grossmanandy at bfusa com and Simon Charette.
2013-01-18 20:52:04 +01:00
Craig Blaszczyk
6158c79dbe
Made (make|compile)messages commands accept multiple locales at once.
...
Thanks Craig Blaszczyk for the initial patch. Refs #17181 .
2013-01-17 00:53:17 -03:00
Ramiro Morales
eee865257a
Fixed #17008 -- Added makemessages option to not remove .pot files.
...
Thanks airstrike for the report and initial patch, Julien for an
enhanced patch and Jannis for reviewing.
2013-01-16 20:29:06 -03:00
Tim Graham
d406afe12e
Fixed #19597 - Added some notes on jQuery in admin.
...
Thanks Daniele Procida.
2013-01-15 20:00:05 -05:00
Aymeric Augustin
50a985b09b
Fixed #19099 -- Split broken link emails out of common middleware.
2013-01-15 17:41:45 +01:00
Aymeric Augustin
83d0cc5214
Fixed a typo in the error reporting docs.
2013-01-15 16:55:38 +01:00
Aymeric Augustin
74d72e21b4
Fixed #19614 -- Missing request argument in render call.
...
Thanks Dima Pravdin for the report.
2013-01-15 14:36:47 +01:00
Tim Graham
c9b577ead6
Clarified WizardView.get_form_prefix doc, refs #19024
2013-01-15 07:56:09 -05:00
Tim Graham
43f89e0ad6
Fixed #19605 - Removed unused url imports from doc examples.
...
Thanks sergzach for the suggestion.
2013-01-15 07:50:26 -05:00
Tim Graham
4720117a31
Added details on minified jQuery and DEBUG mode for contrib.admin.
...
Thanks Daniele Procida.
2013-01-13 15:11:24 -05:00
Aymeric Augustin
0ca2d1e20a
Fixed typo in file storage docs.
...
Thanks Jørgen Abrahamsen.
2013-01-13 19:36:49 +01:00
Tim Graham
ba50d3e05b
Fixed #14633 - Organized settings reference docs and added a topical index.
...
Thanks Gabriel Hurley for the original idea
and adamv for the draft patch.
2013-01-12 18:44:53 -05:00
Stephan Jaekel
17f8496fea
Fixed #19024 -- Corrected form wizard docs for get_form_prefix.
2013-01-12 15:55:06 +01:00
Claude Paroz
4e2e8f39d1
Fixed #4833 -- Validate email addresses with localhost as domain
2013-01-11 20:45:46 +01:00
Ramiro Morales
1bbd36a36a
Minor DEBUG setting reference formatting edit.
2013-01-11 16:15:17 -03:00
Vinod Kurup
5362134090
Fixed code examples in which render() calls were missing `request` parameter.
2013-01-11 15:52:47 -03:00
Nick Sandford
eb6c107624
Fixed #19360 -- Raised an explicit exception for aggregates on date/time fields in sqlite3
...
Thanks lsaffre for the report and Chris Medrela for the initial
patch.
2013-01-11 18:10:28 +01:00
Tim Graham
9f9a7f03d7
Fixed #19437 - Clarified pip install instructions in contributing tutorial.
2013-01-11 07:01:56 -05:00
Tim Graham
71d76ec011
Fixed #10239 - Added docs for modelform_factory
...
Thanks ingenieroariel for the suggestion and slurms for the review.
2013-01-11 06:00:19 -05:00
Tim Graham
4da5947a87
Fixed #19588 - Added create_superuser to UserManager docs.
...
Thanks minddust for the report.
2013-01-10 15:16:25 -05:00
Tim Graham
227bd3f8db
Addeded CSS to bold deprecation notices.
...
Thanks Sam Lai for mentioning this on the mailing list.
2013-01-09 19:03:34 -05:00
Tim Graham
066cf2d70e
Fixed #19586 - Removed URL_VALIDATOR_USER_AGENT from setting docs.
...
It was removed in Django 1.5, not deprecated.
2013-01-09 18:32:27 -05:00
Tim Graham
1884868adc
Added sphinx substitutions in place of hardcoded version numbers.
...
Refs #19571
2013-01-08 15:58:11 -05:00
Tim Graham
99315f709e
Fixed #19555 - Removed '2012' from tutorial 1.
...
Thanks rodrigorosa.lg and others for the report.
2013-01-08 15:43:35 -05:00
Carl Meyer
bb7f34d619
Fixed typo in 1.5 release notes; thanks Jonas Obrist.
2013-01-07 20:16:46 -07:00
Claude Paroz
c698c55966
Created special PostgreSQL text indexes when unique is True
...
Refs #19441 .
2013-01-07 17:54:30 +01:00
Claude Paroz
a890469d3b
Fixed #19571 -- Updated runserver output in the tutorial
2013-01-06 22:59:23 +01:00
Anssi Kääriäinen
a2396a4c8f
Fixed #19173 -- Made EmptyQuerySet a marker class only
...
The guarantee that no queries will be made when accessing results is
done by new EmptyWhere class which is used for query.where and having.
Thanks to Simon Charette for reviewing and valuable suggestions.
2013-01-06 19:18:28 +02:00
Preston Holmes
c8eff0dbcb
Fixed #19562 -- cleaned up password storage docs
2013-01-04 18:02:10 -08:00
mpaolini
6248833d9e
Added documentation for the 'db' argument of the post-syncdb signal.
2013-01-03 22:04:55 +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
Chris Beaven
3f890f8dc7
Update doc example for overriding change_form.html
...
Slightly reworded another related paragraph for clarity, too.
2013-01-03 11:37:05 +13:00
Tim Graham
695b2089e7
Fixed #19549 - Typo in docs/topics/auth/default.txt
2013-01-02 15:33:18 -05:00
Tim Graham
0d3f16b12e
Fixed #19520 - Corrected some misleading docs about template_name_suffix.
...
Thanks jnns for the report.
2013-01-01 18:45:57 -05:00
Daniele Procida
08140aec5c
Tiny typo fixed in logging docs
2013-01-01 17:12:15 +00:00
Julien Phalip
9180146d21
Fixed #19453 -- Ensured that the decorated function's arguments are obfuscated in the @sensitive_variables decorator's frame, in case the variables associated with those arguments were meant to be obfuscated from the decorated function's frame.
...
Thanks to vzima for the report.
2012-12-31 09:34:08 -08:00
Aymeric Augustin
acc5396e6d
Fixed #19519 -- Fired request_finished in the WSGI iterable's close().
2012-12-31 12:47:34 +01: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
7ee7599ab3
Removed versionadded/changed annotations dating back to 1.4.
2012-12-29 21:59:08 +01:00
Aymeric Augustin
5d5e1f5afa
Removed support is_safe and needs_autoescape as function attributes.
2012-12-29 21:59:07 +01:00
Aymeric Augustin
641acf76e7
Removed IGNORABLE_404_STARTS/ENDS settings.
2012-12-29 21:59:07 +01:00
Aymeric Augustin
4a6490a4a0
Removed HttpRequest.raw_post_data.
2012-12-29 21:59:07 +01:00
Aymeric Augustin
ebd2598596
Removed django.contrib.markup.
2012-12-29 21:59:07 +01:00
Aymeric Augustin
f27a4ee327
Removed django.contrib.localflavor.
...
Each localflavor lives on as a separate app.
2012-12-29 21:59:06 +01:00
Aymeric Augustin
b2d20e9826
Removed legacy shortcut for importing GeoIP.
2012-12-29 21:58:12 +01:00
Aymeric Augustin
052271168b
Removed django.contrib.databrowse.
...
RIP -- you served us well.
2012-12-29 21:58:12 +01:00
Aymeric Augustin
59ddb79e90
Removed django.conf.urls.defaults.
2012-12-29 21:58:12 +01:00
Tim Graham
067505ad19
Fixed broken links, round 4. refs #19516
2012-12-29 15:54:33 -05:00
Claude Paroz
2d0b35d2bb
Added links to default widget in forms.fields documentation
2012-12-29 11:30:12 +01:00
Aymeric Augustin
37b3fd27ae
Fixed #18970 -- Documented know limitations under Python 3.
2012-12-28 21:43:34 +01: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
Tim Graham
b3a8c9dab8
Fixed broken links, round 3. refs #19516
2012-12-26 19:07:22 -05:00
Aymeric Augustin
e2ec7b47b3
Updated documentation on localflavor translations
...
to account for the removal of django.contrib.localflavor in 1.6.
Refs #19482 .
2012-12-26 14:45:13 +01:00
Aymeric Augustin
4500d3522d
Fixed #19518 -- Documented the deprecation of localflavor.
...
Also moved the contrib deprecations at the top of their section and made
minor markup fixes.
2012-12-26 14:29:07 +01:00
Tim Graham
9c5a6adf33
Fixed more broken links. refs #19516
2012-12-25 04:44:09 -05:00
Aymeric Augustin
b70498d675
Updated installation FAQ entry on Python versions.
...
The 1.7 line is a reasonnable forecast, not a final decision.
2012-12-25 00:26:46 +01:00
Tim Graham
f56f6cfa58
Fixed links to DATABASE ENGINE setting. refs #19516
2012-12-24 15:38:05 -05:00
Julien Phalip
35d1cd0b28
Fixed #19505 -- A more flexible implementation for customizable admin redirect urls.
...
Work by Julien Phalip.
Refs #8001 , #18310 , #19505 . See also 0b908b92a2
.
2012-12-24 15:44:19 -03:00
Aymeric Augustin
9d62220e00
Fixed #15516 -- Updated the ticket life cycle diagram.
2012-12-22 19:01:55 +01:00
Ramiro Morales
38f725da54
Better name for a new testing documentation link.
2012-12-22 12:08:22 -03:00
Ramiro Morales
d19109fd37
Fixed #19497 -- Refactored testing docs.
...
Thanks Tim Graham for the review and suggestions.
2012-12-21 21:59:06 -03:00
Tim Graham
52a2588df6
Fixed #19506 - Remove 'mysite' prefix in model example.
...
Thanks Mike O'Connor for the report.
2012-12-21 15:52:06 -05:00
Ramiro Morales
abd0f304b1
Added PASSWORD_HASHERS to settings reference document.
2012-12-19 15:07:52 -03:00
Tim Graham
6534a95ac3
Fixed #19470 - Clarified widthratio example.
...
Thanks orblivion for the suggestion.
2012-12-18 08:20:01 -05:00
Tim Graham
31f49f1396
Fixed #19442 - Clarified that raw SQL must be committed.
...
Thanks startup.canada for the suggestion.
2012-12-18 08:10:12 -05:00
Tim Graham
7df03268a4
Fixed #17312 - Warned about database side effects in tests.
...
Thanks jcspray for the suggestion.
2012-12-18 08:03:47 -05:00
Tim Graham
72a6ac568d
Fixed #19279 - Clarified order of database setup and Django install.
...
Thanks colinnkeenan for the suggestion.
2012-12-16 15:42:01 -05:00
Aymeric Augustin
dbdd253860
Replaced the test case hierarchy schema with a vector version.
...
The OmniGraffle source file is included for future use.
2012-12-16 21:07:12 +01:00
Tim Graham
507c081484
Fixed #18718 - Documented django.utils.encoding.filepath_to_uri
2012-12-16 14:39:37 -05:00
Aymeric Augustin
bf14aed3cc
Added PDF version of SVG file for latexpdf builds.
...
Thanks Tim Graham for reporting this issue and testing the fix.
2012-12-16 19:42:53 +01:00
Russell Keith-Magee
47e1df896b
Fixed #19412 -- Added PermissionsMixin to the auth.User heirarchy.
...
This makes it easier to make a ModelBackend-compliant (with regards to
permissions) User model.
Thanks to cdestigter for the report about the relationship between
ModelBackend and permissions, and to the many users on django-dev that
contributed to the discussion about mixins.
2012-12-15 22:44:47 +08:00
Russell Keith-Magee
bd414aed01
Fixed #19472 -- Documented the testing requirements and tools for custom User models.
...
Thanks to gcc for the report.
2012-12-15 22:44:47 +08:00
Russell Keith-Magee
1b646e656e
Fixed #19384 -- Documented the behavior of custom managers on abstract models.
...
This documents the behavior introduced by cc337a74
, which is BACKWARDS
INCOMPATIBLE for any attempt to invoke a method on a manager using the
abstract class as the calling class (e.g., AbstractBase.objects.do_something())
Thanks to mhsparks for the report.
2012-12-15 22:44:46 +08:00
Tim Graham
1e5b0fc4d0
Fixed #19344 - Documented how to run django-admin in a virtualenv on Windows.
...
Thanks Hourann Bosci for the patch.
2012-12-15 09:25:54 -05:00
Tim Graham
b594e4923c
Fixed #19342 - Added new tutorials to the 1.5 release notes
2012-12-15 08:29:46 -05:00
Tim Graham
b052e6cc95
Fixed #9962 - Added a testing tutorial.
...
Thank-you Daniele Procida for the first draft
and shaibi, Aymeric, and others for the reviews.
2012-12-15 08:09:40 -05:00
Tim Graham
3984ccbcec
Merge pull request #585 from blongden/clarify_php_refs
...
Removed poor PHP references
2012-12-14 16:33:16 -08:00
Aymeric Augustin
a001f3c31e
Fixed #2304 -- Documented TRANSACTIONS_MANAGED.
2012-12-14 21:15:48 +01:00
Ben Longden
55a2d5b577
Removes PHP references
2012-12-13 13:20:47 +00:00
Anssi Kääriäinen
088d3bc2f8
Fixed #19462 -- Made assertQuerysetEqual detect undefined ordering
...
If there are more than one values to compare against and the qs isn't
ordered then assertQuerysetEqual will raise a ValueError.
2012-12-13 13:33:11 +02:00
Tim Graham
6cad5f212a
Fixed #19461 - Linked to psycopg in topics/install.txt
...
Thanks Chris Jerdonek for the suggestion.
2012-12-11 18:43:37 -05:00
Tim Graham
0eed8ece32
Fixed #19377 - Emphasized database host link in tutorial
2012-12-11 16:34:17 -05:00
Florian Apolloner
27560924ec
Fixed a security issue in get_host.
...
Full disclosure and new release forthcoming.
2012-12-10 22:11:40 +01:00
Aymeric Augustin
be9f2919e0
Edited the middleware doc for completeness, clarity, and consistency.
2012-12-09 22:30:01 +01:00
Aymeric Augustin
ae8e97384b
Fixed #12502 -- Improved middleware diagram.
2012-12-09 21:13:26 +01:00
Claude Paroz
8248d14029
Removed US localflavor-specific tests from core
...
Also fixes #9045 .
2012-12-08 21:07:59 +01:00
Aymeric Augustin
d5ed81c795
Fixed #19389 -- Docs on the location of contrib apps tests.
2012-12-08 19:47:53 +01:00
Aymeric Augustin
b21e0753ae
Merge pull request #572 from un33k/master
...
minor spelling error fix in the docs
2012-12-08 05:51:10 -08:00
Claude Paroz
53b879f045
Fixed #19444 -- Clarified IGNORABLE_404_URLS documentation
2012-12-07 17:39:36 +01:00
Daniele Procida
37abad73d6
Amended explanation of LOCALE_PATHS setting.
...
Thanks Daniele Procida for the patch.
2012-12-04 20:11:54 -03:00
Val Neekman
cacafe89d0
fix a spelling error in docs
2012-12-02 16:26:00 -05:00
Tim Graham
008e625c66
Fixed #19400 - Typo in docs/topics/auth.txt
2012-11-30 15:10:52 -05:00
Claude Paroz
0eeae15056
Fixed #19354 -- Do not assume usermodel.pk == usermodel.id
...
Thanks markteisman at hotmail.com for the report.
2012-11-29 21:45:43 +01:00
Ramiro Morales
b7e44313bb
Merge pull request #560 from brutasse/fix/1.5-typos
...
Fixed typo in the 1.5* release notes. Thanks brutasse.
2012-11-28 15:30:21 -08:00
Ramiro Morales
514ce1d35f
Fixed two docstring/comment typos.
2012-11-28 20:28:30 -03:00
Claude Paroz
cc3c4a9d55
Fixed #19366 -- Prevented GEOSIndexError when comparing geometries
...
Thanks Craig de Stigter for the report and collaboration on the
patch.
2012-11-28 22:34:02 +01:00
Bruno Renié
a8495fb188
Typo in the 1.5 release notes
2012-11-28 14:19:05 +01:00
Jason Yan
eeaab083fe
Fixed #19374 -- Typo in docs/ref/models/instances.txt.
2012-11-27 18:57:50 -08:00
Tim Graham
38055222bd
Fixed #19239 - Added examples for generic date views
...
Thank-you Daniel Greenfeld and Scott Nixon.
2012-11-27 19:26:37 -05:00
Tim Graham
ba2adc9c05
Fixed #19352 - Added an example in the QuerySet docs.
...
Thanks colinkeenan for the suggestion.
2012-11-27 18:21:55 -05:00
Jacob Kaplan-Moss
7cea123bde
Fixed a couple of typos in the 1.5 (and beta) release notes.
2012-11-27 15:49:00 -06:00
Jacob Kaplan-Moss
7a62339f59
Added 1.5 beta release notes.
2012-11-27 15:30:52 -06:00
Julien Phalip
ae206d78f6
Fixed #17646 -- Added a get_list_filter() method to ModelAdmin. Thanks to rasca for the suggestion and to mateusgondim for the patch.
2012-11-25 20:39:23 +01:00
Aymeric Augustin
f89901dc05
Fixed two typos.
2012-11-25 19:31:53 +01:00
Ramiro Morales
f3a0ecc9ee
Changed (again) technique to get version IDs shown in docs from source code.
...
Hopefully it will fix the problem with the documentation building server
that caused a wrong Django version to be reported in the HTML zipball
docs edition.
Follow-up to commits 373df56
and 0b98ef6
.
2012-11-25 11:58:06 -03:00
Aymeric Augustin
d266919584
Fixed #19280 -- Raised an explicit exception for the old {% url %} syntax.
2012-11-24 22:10:51 +01:00
Claude Paroz
44815bad6b
Removed obsolete contrib.comments upgrade guide
...
The old comment system was pre-1.0.
2012-11-24 18:10:51 +01:00
Russell Keith-Magee
fdb5c98d7e
Fixed #19218 -- Added documentation note on limitations of signals with custom User models.
...
Thanks to kunitoki@gmail.com for the report.
2012-11-24 13:53:44 +08:00
Aymeric Augustin
5c81e9de0f
Negligible style fix in docs.
2012-11-23 20:40:42 +01:00
Anssi Kääriäinen
90b86291d0
Fixed #18375 -- Removed dict-ordering dependency for F-expressions
...
F() expressions reuse joins like any lookup in a .filter() call -
reuse multijoins generated in the same .filter() call else generate
new joins. Also, lookups can now reuse joins generated by F().
This change is backwards incompatible, but it is required to prevent
dict randomization from generating different queries depending on
.filter() kwarg ordering. The new way is also more consistent in how
joins are reused.
2012-11-23 19:53:04 +02:00
Tim Graham
9d4baf80c6
Merge pull request #549 from WoLpH/master
...
Changed an if statement in the docs to a slightly cleaner variant.
2012-11-23 04:12:54 -08:00
Tim Graham
63e6cd1bb3
Fixed #19348 - Clarified the units of filesizeformat.
...
Thanks george_edison for the report and Claude Paroz for the patch.
2012-11-23 07:00:08 -05:00
Tim Graham
c13912ac7f
Fixed #19346 - Typo in docs/ref/contrib/gis/install/index.txt
2012-11-22 18:01:20 -05:00
Tim Graham
e94f8babc2
Spell checked 1.5 alpha release notes
2012-11-22 17:16:04 -05:00
WoLpH
eabb44417c
changed if statement to a slightly cleaner/less confusing variant
2012-11-22 22:29:39 +01:00
Tim Graham
0e3690d230
Fixed #18974 - Warned against using models.permalink
...
Thanks dstufft for the draft patch.
2012-11-22 16:08:51 -05:00
Aymeric Augustin
a026e480da
Fixed #16039 -- Made post_syncdb handlers multi-db aware.
...
Also reverted 8fb7a90026
. Refs #17055 .
2012-11-22 20:53:59 +01:00
Tim Graham
71a3162a70
Documented behavior of get_or_create when multiple objects are returned.
...
Thanks Matt Lauber for the patch.
2012-11-22 10:36:18 -05:00
Tim Graham
7b2d95eb30
Clarified usage of as_view kwargs for setting arguments on class based views
...
Thanks Dave McLain for the patch.
2012-11-22 09:07:21 -05:00
Tim Graham
3587991ba8
Fixed #19317 - Added an image for warning blocks in the docs
...
Thanks tome for the suggestion and patch.
2012-11-22 06:34:15 -05:00
Jannis Leidel
3fb83729b9
Merge branch 'ticket_19325' of https://github.com/hannesstruss/django into hannesstruss-ticket_19325
2012-11-22 10:05:08 +01:00
Preston Holmes
d80d05fc67
Added examples of using startproject/app with URLs
...
thanks to Brent O'Connor for the idea and intial docs
2012-11-21 22:06:59 -08:00
shepdl
8e5573e99a
Fixed #19243 - Edited GeoDjango Tutorial for consistency and style.
2012-11-21 19:31:17 -05:00
Tim Graham
e2b1808196
Fixed #19335 - Typo and cleanups in docs/topics/class-based-views/index.txt
2012-11-21 19:06:17 -05:00
Chris Beaven
48e8b5e944
Add orphans support to MultipleObjectMixin
...
Fixes #7005
2012-11-21 16:50:23 +13:00
Luke Plant
a32f30c79c
Corrected docs about default value of MESSAGE_STORAGE
2012-11-20 23:00:20 +00:00
Hannes Struss
f9891f2087
Fixed #19325 - Made email backend of AdminEmailHandler configurable
2012-11-20 11:23:12 +01:00
Preston Holmes
edf7ad36fa
Fixed #18658 -- Improved ModelAdmin.message_user API
...
Thanks to Lowe Thiderman for the patch and tests
2012-11-19 16:03:09 -08:00
Tim Graham
8b659e439b
Merge pull request #536 from 1st/patch-1
...
Fixed typo in docs/ref/models/querysets.txt
2012-11-19 15:45:53 -08:00
Tim Graham
c559c3c3b9
Merge pull request #537 from 1st/patch-2
...
Fixed typo in docs/releases/1.5.txt
2012-11-19 15:44:16 -08:00
Tim Graham
1f1f60d12f
Fixed #19306 - Improved syndication example.
...
Thanks brycenesbitt for the report.
2012-11-18 18:07:38 -05:00
Anton Danilchenko
3bdb2ca560
Update docs/releases/1.5.txt
...
Deleted word that used second time
2012-11-18 21:08:45 +02:00
Anton Danilchenko
76859e6eab
Update docs/ref/models/querysets.txt
...
Fix typo: replace "can can" to "can"
2012-11-18 18:46:39 +02:00
Tim Graham
2564e31014
Fixed #19308 - Clarified stringformat filter example
...
Thanks Shabda Raaj.
2012-11-17 19:29:31 -05:00
Tim Graham
04775b4598
Fixed #13997 - Added an example of constructing a MultiWidget and documented the value_from_datadict method.
2012-11-17 17:54:09 -05:00
Aymeric Augustin
ccb2b574e8
Fixed #19315 -- Improved markup in admin FAQ.
...
Thanks ClaesBas.
2012-11-17 23:25:52 +01:00
Aymeric Augustin
4585e12318
Fix typo in file storage docs.
2012-11-17 23:25:37 +01:00
Aymeric Augustin
9b755a298a
Fixed #19291 -- Completed deprecation of ADMIN_MEDIA_PREFIX.
2012-11-17 22:38:19 +01:00
Jannis Leidel
778b8bdcf4
Merge pull request #467 from tomchristie/page-kwarg
...
Add 'page_kwarg' attribute to `MultipleObjectMixin`, removing hardcoded "page".
2012-11-17 12:27:01 -08:00
Jannis Leidel
1520748dac
Fixed #2550 -- Allow the auth backends to raise the PermissionDenied exception to completely stop the authentication chain. Many thanks to namn, danielr, Dan Julius, Łukasz Rekucki, Aashu Dwivedi and umbrae for working this over the years.
2012-11-17 20:24:54 +01:00
Tim Graham
7058b595b6
Fixed #16779 - Added a contributing tutorial
...
Thank-you Taavi Taijala for the draft patch!
2012-11-17 14:10:25 -05:00
Preston Holmes
7a38e86bde
Fixed #19310 -- changed method docs formatting for custom file storage docs
2012-11-17 07:26:10 -08:00
Tim Graham
ac4aa8a76c
Documented that contrib.sites creates a default site.
...
Thanks Lorin Hochstein for the patch.
2012-11-17 06:49:28 -05:00
Preston Holmes
44046e8a38
Fixed #18985 -- made DeprecationWarnings loud
...
Capture warnings in Python >= 2.7 and route through
console handler, which is subject to DEBUG==True
Thanks to dstufft for the idea, and claudep for initial patch
2012-11-16 17:07:38 -08:00
Brandon Adams
d8ee46afff
comment_will_be_sent can cause a 400, not a 403
...
Doc cleanup for django.contrib.comments.signals.comment_will_be_sent
If a receiver returns False, an HttpResponse with status code 400
is returned. A test case already exists confirming this behavior.
Updated docs to reflect reality.
2012-11-16 10:19:54 -05:00
Tim Graham
2dbfa66f4d
Fixed #19289 - Removed an out of place sentence in tutorial 2.
...
Thanks colinnkeenan for the report.
2012-11-14 05:46:30 -05:00
Alex Gaynor
1e34fd3c03
fixed a broken link in the docs
2012-11-13 14:48:23 -08:00
David Cramer
54fbe6ce5f
Correct link to Sentry
...
django-sentry is no longer maintained, and sentry is the replacement.
2012-11-13 13:51:50 -08:00
Aymeric Augustin
00ff69a827
Fixed #19283 -- Fixed typo in imports in CBV docs.
2012-11-13 20:46:29 +01:00
Aymeric Augustin
e27a43cc54
Merge pull request #509 from pydanny/ticket_19244
...
Fixed #19244 -- Provided examples for some built-in templatetags and filters
2012-11-13 04:42:53 -08:00
Tim Graham
a72b8a2247
Fixed #19260 - Added a comment to tutorial 1.
...
Thanks terwey for the suggestion.
2012-11-13 05:45:08 -05:00
Daniel Greenfeld
3f65f751a0
Converted <paragraph> to <p> per #aaugustin's request
2012-11-12 16:12:27 -08:00
Nicolas Ippolito
17b14d4819
Typo in comments doc
2012-11-12 22:15:41 +01:00
Aymeric Augustin
4c5cea7073
Merge pull request #218 from mgrouchy/ticket_18582
...
Fixed #18582 -- Added a no-op close to BaseCache
2012-11-11 07:18:45 -08:00
Tom Christie
3f2fc2f41a
Formatting tweaks.
2012-11-09 16:16:58 +00:00
Tom Christie
5bc6929f9a
Include `versionadded 1.5` directive
2012-11-09 16:15:19 +00:00
Tim Graham
19eb56a277
Merge pull request #506 from gwrtheyrn/ipv6_doc_fix
...
Fixed invalid ipv4 mapped ipv6 addresses in docs
2012-11-09 02:48:32 -08:00
Claude Paroz
a79d920a56
Fixed #19266 -- Added Texinfo documentation target
...
Thanks orontee for the report and initial patch.
2012-11-09 09:00:27 +01:00
Daniel Greenfeld
1db5d88273
Added examples for comment, templatetag, escape, force_escape, timesince, and timeuntil
2012-11-08 16:35:39 -08:00
Claude Paroz
b1ac329ba9
Fixed #19115 -- Documented stdout/stderr options for call_command
...
Thanks d1ffuz0r for helping with the patch.
2012-11-07 18:31:14 +01:00
Danilo Bargen
b0c72d0a30
Fixed invalid ipv4 mapped ipv6 addresses in docs
2012-11-07 17:13:06 +01:00
Tim Graham
e8f696097b
Fixed #19161 - Added missing clean_password method in custom user docs
...
Thanks DavidW for the report.
2012-11-06 19:44:49 -05:00
Tim Graham
a386675a6a
Fixed #15968 - Noted that readonly_fields are excluded from the ModelForm
2012-11-06 19:03:44 -05:00
Tim Graham
620e0bba49
Fixed #19154 - Noted commit_manually requires commit/rollback for reads
...
Thanks als for the report.
2012-11-06 17:47:10 -05:00
Tim Graham
2cc1884383
Fixed #19246 - Updated SECURE_PROXY_SSL_HEADER example to use 'X-Forwarded-Proto'
...
Thanks Fred Palmer for the report.
2012-11-06 05:17:21 -05:00
Tim Graham
d3fd8a1512
Fixed #15591 - Clarified interaction between ModelForm and model validation.
2012-11-05 18:24:28 -05:00
Preston Holmes
2cb48fffd4
Removed redundant docs addition across two commits
...
d5c3c45f2f
a70492e6b5
2012-11-04 19:12:44 -08:00
Bryan Veloso
79a484fc8e
Merge pull request #496 from pydanny/ticket_19241
...
Demonstrate how to round to integers using floatformat templatetag
2012-11-04 18:19:56 -08:00
Daniel Greenfeld
a70492e6b5
Fixed #19241 -- Improved floatformat docs
...
Demonstrate how to round to integers using floatformat templatetag
2012-11-04 17:40:21 -08:00
Daniel Greenfeld
d5c3c45f2f
Demonstrate how to round to integers using floatformat templatetag
2012-11-04 16:35:40 -08:00
Alex Gaynor
0a49e6164c
Corrected a typo that inadvertently made its way into the docs.
2012-11-04 15:44:20 -08:00
Alex Gaynor
957787ace0
Added multi-column indexes to the 1.5 release notes.
2012-11-04 15:41:33 -08:00
Preston Holmes
aee9c7b094
Added a note and link to CLA from contributing docs
2012-11-04 12:25:48 -08:00
Eric Davis
d94dc2d1fa
Fixed formatting of get_FOO_display example
2012-11-04 10:29:10 -08:00
Alex Gaynor
4285571c5a
Fixed #5805 -- it is now possible to specify multi-column indexes. Thanks to jgelens for the original patch.
2012-11-04 10:16:06 -08:00
Tim Graham
249c3d730e
Fixed #19090 - Added PostgreSQL connection note.
...
Thanks Melevir for the patch.
2012-11-04 05:32:53 -05:00
Claude Paroz
4e8d9524c6
Fixed #6234 -- Removed obsolete note about json and ensure_ascii
...
Thanks aaron at cellmap.ca for the report.
2012-11-03 23:53:51 +01:00
Aymeric Augustin
fc10418fba
Fixed #18963 -- Used a subclass-friendly pattern
...
for Python 2 object model compatibility methods.
2012-11-03 22:07:35 +01:00
Markus Zapke-Gründemann
0546794397
Fixed #19230 -- Extended the handler403 documentation.
...
Added a paragraph on how to use the PermissionDenied exception to create a 403
response and use handler403.
2012-11-03 17:18:47 +01:00
Ulrich Petri
ac2052ebc8
Fixed #17549 -- Added a clickable link for URLFields in admin change list.
2012-11-03 11:57:33 +01:00
Tim Graham
39f5bc7fc3
Fixed #16841 - Documented a couple ModelAdmin methods
...
* ModelAdmin.get_changelist_form and get_changelist_formset
* InlineModelAdmin.get_formset
Thanks Jordan Reiter for the report.
2012-11-03 05:22:34 -04:00
Preston Holmes
965cc0b1ff
Deprecated depth kwarg on select_related.
...
This is the start of a deprecation path for the depth kwarg on
select_related. Removing this will allow us to update select_related so
it chains properly and have an API similar to prefetch_related.
Thanks to Marc Tamlyn for spearheading and initial patch.
refs #16855
2012-11-02 22:03:33 -07:00
Preston Holmes
7b57a72d6d
Merge pull request #485 from asparagui/add_period
...
Added missing period in docs
2012-11-02 16:17:25 -07:00
Tim Graham
d1de7596b2
Fixed #19120 - Added an example of using ModelAdmin methods for read-only fields.
...
Thanks Daniele Procida for the patch.
2012-11-02 18:31:03 -04:00
Tim Graham
07361d1fd6
Fixed #19167 - Added a warning regarding module-level database queries
...
Thanks Daniele Procida for the patch.
2012-11-02 18:19:45 -04:00
Tim Graham
082fad0b83
Cleaned up contrib.admin install instructions.
...
Thanks Cal Leeming for the patch.
2012-11-02 18:04:27 -04:00
Tim Graham
feaf9f279a
Fixed #15361 - Documented performance considerations for QuerySet.get()
...
Thanks mmcnickle for the patch.
2012-11-02 17:58:24 -04:00
Florian Apolloner
0d8432da55
Documented minimal python 3.2 version.
2012-11-02 10:51:10 +01:00
Aymeric Augustin
f975c4857d
Fixed #19225 -- Typo in shortcuts docs.
...
Thanks SunPowered for the report.
2012-11-02 09:29:55 +01:00
Tim Graham
af7ea808d8
Added WizardView.file_storage exception message and docs
...
Thanks Danilo Bargen for the patch.
2012-11-01 16:14:51 -04:00
Tim Graham
ede8a0be05
Fixed #19179 - Added mention of NamedUrlSessionWizard and NamedUrlCookieWizard; thanks Tom for the report.
2012-11-01 06:58:02 -04:00
Tim Graham
dd0d2c0be5
Fixed #19216 - Switched to user level installation in apps tutorial.
...
Thanks Nick Coghlan for the suggestion.
2012-10-31 19:56:53 -04:00
Brett Koonce
c4b71beb65
minor fix (+'.' to end of line)
2012-10-31 15:40:08 -05:00
Aymeric Augustin
146ed13a11
Fixed #17083 -- Allowed sessions to use non-default cache.
2012-10-31 09:46:16 +01:00
Brent O'Connor
d55c54a5da
The timeout variable wasn't defined, which was a little confusing.
2012-10-30 16:19:31 -07:00
Tim Graham
08cf54990a
Fixed #16671 - Added a tutorial on reuseable apps
...
Thank-you Katie Miller and Ben Sturmfels for the initial draft,
as well as Russ and Carl for the reviews.
2012-10-30 18:40:21 -04:00
Claude Paroz
9a02851340
Fixed #17744 -- Reset default file storage with setting_changed signal
2012-10-30 22:23:28 +01:00