Tim Graham
3b952123ac
[1.5.x] Fixed #19743 - Documented some limitations of contrib.auth.
...
Thanks Aymeric for the suggestion.
Backport of afa3e16334
from master
2013-02-06 08:27:53 -05:00
Tim Graham
6155b66d06
[1.5.x] Fixed a typo in docs/topics/auth/customizing.txt
...
Backport of 2c173ff3b4
from master
2013-02-03 13:24:09 -05:00
Tim Graham
f28fbe7314
[1.5.x] Fixed #19700 - Added documentation for BoundField.field.
...
Thanks Tiberiu Ana for the report and patch.
Backport of fdaaa24171
from master
2013-02-02 08:38:02 -05:00
Lucian Ursu
a22480797d
[1.5.x] Fixed #19690 - Removed unused import in doc examples.
...
Backport of c6560e4843
from master
2013-02-01 14:19:04 -10:00
Ramiro Morales
73bb9664da
Enhanced traanslator comments documentation.
...
Partial (docs only) backport of 47ddd6a
from master.
2013-01-31 10:58:05 -03:00
Aymeric Augustin
11ec0253ab
[1.5.x] Fixed #19692 -- Completed deprecation of mimetype in favor of content_type.
...
Thanks Tim for the report and initial patch.
Backport of 89cb771
from master.
2013-01-31 13:55:00 +01:00
Tim Graham
5da6ce11ed
[1.5.x] Fixed typos in docs and comments
...
Backport of ee26797cff
from master
2013-01-29 10:58:24 -07:00
Tim Graham
f6075b0596
[1.5.x] Fixed #19683 - Added a missing import in signing example.
...
Thanks sunsongxp@ for the report.
Backport of 537d44b1b9
from master
2013-01-29 06:13:47 -05:00
Justin Bronn
1c061ef568
[1.5.x] Fixed typo.
...
Backport of 71c8539570
from master
2013-01-23 19:21:42 -05:00
Tim Graham
2e6b0c5ca7
[1.5.x] Fixed #19610 - Added enctype note to forms topics doc.
...
Thanks will@ for the suggestion.
Backport of 0de2645c00
from master
2013-01-23 04:50:24 -05:00
Tim Graham
34718395ed
[1.5.x] Fixed #19640 - Added inlineformset_factory to reference docs.
...
Thanks wim@ for the suggestion.
Backport of 5b2d9bacd2
from master
2013-01-22 07:58:09 -05:00
Tim Graham
f6257a147d
[1.5.x] Fixed #19628 - Noted that app for custom user model must be in INSTALLED_APPS
...
Thanks dpravdin and Jordan Messina.
Backport of 0375244eae
from master
2013-01-18 18:39:29 -05:00
Aymeric Augustin
d90abcc9da
[1.5.x] Fixed #19632 -- Bug in code sample.
...
Thanks grossmanandy at bfusa com and Simon Charette.
Backport of 1dd7492
.
2013-01-18 20:52:25 +01:00
Aymeric Augustin
6428f1cb72
[1.5.x] Fixed #19614 -- Missing request argument in render call.
...
Thanks Dima Pravdin for the report.
Backport of 74d72e2
.
2013-01-15 14:37:25 +01:00
Tim Graham
360676d9d8
[1.5.x] Fixed #19605 - Removed unused url imports from doc examples.
...
Thanks sergzach for the suggestion.
Backport of 43f89e0ad6
from master
2013-01-15 07:52:06 -05:00
Vinod Kurup
863e0ab57d
[1.5.x] Fixed code examples in which render() calls were missing `request` parameter.
...
5362134090
from master.
2013-01-14 09:50:58 -03:00
Tim Graham
c94fcc4117
[1.5.x] Fixed #10239 - Added docs for modelform_factory
...
Thanks ingenieroariel for the suggestion and slurms for the review.
Backport of 71d76ec011
from master
2013-01-11 06:01:19 -05:00
Preston Holmes
f02e1167d7
[1.5.x] Fixed #19562 -- cleaned up password storage docs
...
Conflicts:
docs/topics/auth/passwords.txt
2013-01-04 18:04:28 -08:00
Tim Graham
be1e006c58
[1.5.x] Fixed #19516 - Fixed remaining broken links.
...
Added -n to sphinx builds to catch issues going forward.
Backport of 9b5f64cc6e
from master.
2013-01-02 18:50:00 -05:00
Tim Graham
da2cdd3a0f
[1.5.X] Fixed #19549 - Typo in docs/topics/auth/default.txt
...
Backport of 695b2089e7
from master
2013-01-02 15:33:58 -05:00
Tim Graham
9e5ada79bf
[1.5.x] Fixed broken links, round 4. refs #19516
...
Backport of 067505ad19
from master
2012-12-29 15:57:57 -05:00
Preston Holmes
8d1b190248
[1.5.x] 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:48:05 -08:00
Tim Graham
fbc06eef1a
[1.5.X] Fixed broken links, round 3. refs #19516
...
Backport of b3a8c9dab8
from master
2012-12-26 19:10:50 -05:00
Tim Graham
5489fc47df
[1.5.X] Fixed links to DATABASE ENGINE setting. refs #19516
...
Backport of f56f6cfa58
from master
2012-12-24 15:40:17 -05:00
Ramiro Morales
903892be7b
[1.5.x] Fixed #19497 -- Refactored testing docs.
...
Thanks Tim Graham for the review and suggestions.
d19109fd37
from master.
2012-12-22 12:39:49 -03:00
Tim Graham
91af9230ad
[1.5.X] Fixed #19506 - Remove 'mysite' prefix in model example.
...
Thanks Mike O'Connor for the report.
Backport of 52a2588df6
from master
2012-12-21 15:53:23 -05:00
Tim Graham
e11bd5c5ac
[1.5.X] Fixed #19442 - Clarified that raw SQL must be committed.
...
Thanks startup.canada for the suggestion.
Backport of 31f49f1396
from master
2012-12-18 08:14:37 -05:00
Tim Graham
2545dc59bf
[1.5.x] Fixed #17312 - Warned about database side effects in tests.
...
Thanks jcspray for the suggestion.
Backport of 7df03268a4
from master.
2012-12-18 08:05:12 -05:00
Tim Graham
528483cae2
[1.5.X] Fixed #19279 - Clarified order of database setup and Django install.
...
Thanks colinnkeenan for the suggestion.
Backport of 72a6ac568d
from master
2012-12-16 15:46:17 -05:00
Russell Keith-Magee
311bd0055d
[1.5.X} 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.
Backport of 47e1df896b
from master.
2012-12-15 22:47:48 +08:00
Russell Keith-Magee
a7465ee7df
[1.5.X] Fixed #19472 -- Documented the testing requirements and tools for custom User models.
...
Thanks to gcc for the report.
Backport of bd414aed01
from master.
2012-12-15 22:47:30 +08:00
Russell Keith-Magee
9cf566233b
[1.5.X] 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.
Backport of 1b646e656e
from master.
2012-12-15 22:46:55 +08:00
Ben Longden
0c3e4848b6
[1.5.X] Removed PHP references
...
Backport of 55a2d5b577
from master
2012-12-14 19:33:48 -05:00
Aymeric Augustin
44e56238d7
[1.5.x] Fixed #2304 -- Documented TRANSACTIONS_MANAGED.
...
Backport of a001f3c
.
2012-12-14 21:16:04 +01:00
Tim Graham
8a1b4dbda2
[1.5.X] Fixed #19461 - Linked to psycopg in topics/install.txt
...
Thanks Chris Jerdonek for the suggestion.
Backport of 6cad5f212a
from master
2012-12-11 18:45:03 -05:00
Florian Apolloner
77b06e4151
[1.5.X] Fixed a security issue in get_host.
...
Full disclosure and new release forthcoming.
2012-12-10 22:13:28 +01:00
Claude Paroz
fce779475e
[1.5.x] Removed US localflavor-specific tests from core
...
Also fixes #9045 .
Backport of 8248d1402
from master.
2012-12-08 21:08:37 +01:00
Val Neekman
152d6cb411
fix a spelling error in docs
...
backport of cacafe8
from master.
2012-12-08 14:51:41 +01:00
Tim Graham
88638ddd3d
[1.5.X] Fixed #19400 - Typo in docs/topics/auth.txt
...
Backport of 008e625c66
from master
2012-11-30 15:13:51 -05:00
Tim Graham
931b0f8ccd
[1.5.X] Fixed #19352 - Added an example in the QuerySet docs.
...
Thanks colinkeenan for the suggestion.
Backport of ba2adc9c05
from master
2012-11-27 18:22:49 -05:00
Russell Keith-Magee
24582f18ff
[1.5.x] Fixed #19218 -- Added documentation note on limitations of signals with custom User models.
...
Thanks to kunitoki@gmail.com for the report.
Backport of fdb5c98d7e
.
2012-11-24 14:27:11 +08:00
Aymeric Augustin
a79e4521e5
[1.5.x] Negligible style fix in docs.
...
Backport of 5c81e9d
.
2012-11-23 20:41:08 +01:00
WoLpH
f88319dc3c
[1.5.X] Changed if statement to a slightly cleaner variant
...
Backport of eabb44417c
from master
2012-11-23 07:13:24 -05:00
Tim Graham
42fa51c002
[1.5.X] Fixed #18974 - Warned against using models.permalink
...
Thanks dstufft for the draft patch.
Backport of 0e3690d230
from master
2012-11-22 16:10:42 -05:00
Aymeric Augustin
9bd67f056c
[1.5.x] Fixed #16039 -- Made post_syncdb handlers multi-db aware.
...
Also reverted 8fb7a90026
. Refs #17055 .
Backport of a026e48
from master.
2012-11-22 20:54:20 +01:00
Tim Graham
6d13071021
[1.5.X] Fixed #19335 - Typo and cleanups in docs/topics/class-based-views/index.txt
...
Backport of e2b1808196
from master
2012-11-21 19:07:36 -05:00
Alex Gaynor
911d3581ea
[1.5.x] fixed a broken link in the docs. Backport of 1e34fd3c03
2012-11-13 14:49:08 -08:00
David Cramer
d33f8d0f54
[1.5.x] Correct link to Sentry
...
django-sentry is no longer maintained, and sentry is the replacement.
Backport of 54fbe6c
and c91a127
from master, as requested by Mr Gaynor.
2012-11-13 23:00:35 +01:00
Aymeric Augustin
5e9af1600d
[1.5.x] Fixed #19283 -- Fixed typo in imports in CBV docs.
...
Backport of 00ff69a
from master.
2012-11-13 20:47:26 +01:00
Tim Graham
5b190733e9
[1.5.X] Fixed #19161 - Added missing clean_password method in custom user docs
...
Thanks DavidW for the report.
Backport of e8f696097b
from master
2012-11-06 19:46:40 -05:00
Tim Graham
84e33545c9
[1.5.X] Fixed #19154 - Noted commit_manually requires commit/rollback for reads
...
Thanks als for the report.
Backport of 620e0bba49
from master
2012-11-06 17:50:00 -05:00
Tim Graham
f7d87b30fb
[1.5.X] Fixed #15591 - Clarified interaction between ModelForm and model validation.
...
Backport of d3fd8a1512
from master
2012-11-05 18:30:50 -05:00
Claude Paroz
b61778dcf6
[1.5.x] Fixed #6234 -- Removed obsolete note about json and ensure_ascii
...
Thanks aaron at cellmap.ca for the report.
Backport of 4e8d9524c
from master.
2012-11-03 23:56:04 +01:00
Aymeric Augustin
d7688a010a
[1.5.x] Fixed #18963 -- Used a subclass-friendly pattern
...
for Python 2 object model compatibility methods.
Backport of fc10418
from master.
2012-11-03 22:08:05 +01:00
Markus Zapke-Gründemann
4b2fb7efea
[1.5.X] Fixed #19230 -- Extended the handler403 documentation.
...
Backport of 0546794397
from master.
Added a paragraph on how to use the PermissionDenied exception to create a 403
response and use handler403.
2012-11-03 17:19:26 +01:00
Tim Graham
90af863410
[1.5.X] Fixed #19167 - Added a warning regarding module-level database queries
...
Thanks Daniele Procida for the patch.
Backport of 07361d1fd6
from master
2012-11-02 18:20:32 -04:00
Tim Graham
ffc649df88
[1.5.X] Fixed #15361 - Documented performance considerations for QuerySet.get()
...
Thanks mmcnickle for the patch.
Backport of feaf9f279a
from master
2012-11-02 17:59:51 -04:00
Florian Apolloner
6b1f73113a
[1.5.x] Documented minimal python 3.2 version.
...
Backport of 0d8432da55
from master.
2012-11-02 10:52:15 +01:00
Aymeric Augustin
71dbc01ad7
Fixed #19225 -- Typo in shortcuts docs.
...
Thanks SunPowered for the report.
2012-11-02 09:30:31 +01:00
Tim Graham
c5d0f49dc2
[1.5.X] Added WizardView.file_storage exception message and docs
...
Thanks Danilo Bargen for the patch.
Backport of af7ea808d8
from master
2012-11-01 18:02:32 -04:00
Aymeric Augustin
0dcaddb571
Fixed #17083 -- Allowed sessions to use non-default cache.
2012-10-31 09:51:19 +01:00
Claude Paroz
a24ffa52d0
[1.5.x] Fixed #17744 -- Reset default file storage with setting_changed signal
...
Backport of 9a0285134
from master.
2012-10-30 22:26:03 +01:00
Preston Holmes
f427ecdc88
[1.5.x] Fixed #19061 -- added is_active attribute to AbstractBaseUser
2012-10-28 23:06:09 -07:00
Aymeric Augustin
39082494e6
[1.5.x] Fixed #18194 -- Expiration of file-based sessions
...
* Prevented stale session files from being loaded
* Added removal of stale session files in django-admin.py clearsessions
Thanks ej for the report, crodjer and Elvard for their inputs.
Backport of 5fec97b
from master.
2012-10-28 09:21:56 +01:00
Aymeric Augustin
845d8408e7
[1.5.x] Added optional kwargs to get_expiry_age/date.
...
This change allows for cleaner tests: we can test the exact output.
Refs #18194 : this change makes it possible to compute session expiry
dates at times other than when the session is saved.
Fixed #18458 : the existence of the `modification` kwarg implies that you
must pass it to get_expiry_age/date if you call these functions outside
of a short request - response cycle (the intended use case).
Backport of cd17a24
from master.
2012-10-28 09:20:54 +01:00
Claude Paroz
c5da577b9e
[1.5.x] Fixed #17787 -- Documented reset caches by setting_changed signal
...
Backport of fc2681b22
from master.
2012-10-27 22:04:06 +02:00
Florian Apolloner
cb2817543f
[1.5.x] Removed a redundant colon in the query docs.
...
Thanks to Berker Peksag for the patch.
Backport of 4f11b7362206224ad876018bba19b7c9a08b7f0b from master.
2012-10-27 21:20:21 +02:00
Aymeric Augustin
b760503a27
[1.5.x] Fixed #18978 -- Moved cleanup command to sessions.
...
This removes a dependency of 'core' on 'contrib'.
Backport of 83ba0a9
from master.
This deprecation occurs after the alpha, but it's a prerequisite
for fixing decently #18194 which is a release blocker.
2012-10-27 18:38:32 +02:00
Claude Paroz
02b66f161f
[1.5.x] Fixed #19191 -- Corrected a typo in CustomUser docs
...
Thanks spleeyah for the report.
Backport of 90c7656
from master.
2012-10-26 10:26:47 +02:00
Aymeric Augustin
4b27813198
Fixed #7581 -- Added streaming responses.
...
Thanks mrmachine and everyone else involved on this long-standing ticket.
2012-10-20 20:05:11 +02:00
Claude Paroz
0775ab2955
Fixed #19132 -- Added example for creating custom lazy function
...
Thanks flagzeta@yahoo.it for the report and Luke Plant for his
expert assistance.
2012-10-18 09:02:20 +02:00
Preston Holmes
31dcaf49a0
Fixed an error in cookie documentation
2012-10-17 14:53:21 -07:00
Tim Graham
fd02bcff4a
Fixed #18548 - Clarified note regarding reusing model instances when form validation fails.
2012-10-16 20:39:13 -04:00
Tim Graham
9190d89829
Fixed #10936 - Tempered recommendation of SQLite - thanks Karen Tracey for the feedback.
2012-10-15 19:55:46 -04:00
Russell Keith-Magee
b3b3db3d95
Fixed #19067 -- Clarified handling of username in createsuperuser.
...
Thanks to clelland for the report, and Preston Holmes for the draft patch.
2012-10-13 13:36:07 +08:00
Russell Keith-Magee
c433fcb3fb
Fixed #19077 , #19079 -- Made USERNAME_FIELD a required field, and modified UserAdmin to match.
2012-10-13 11:44:50 +08:00
Tim Graham
5fb22329a1
Merge pull request #422 from elvard/18996
...
Fixed #18996 - Clarified overriden model methods not called on bulk operations
2012-10-12 16:45:45 -07:00
Tim Graham
470deb5cbb
Fixed #10936 - Noted that using SQLite for development is a good idea
2012-10-11 20:01:30 -04:00
Tim Graham
6b56aeec6e
Merge pull request #428 from donspaulding/patch-1
...
Removed extra indent in docs/topics/db/queries.txt
2012-10-11 16:19:32 -07:00
Tim Graham
dd0cbc6bdc
Fixed #16588 - Warned about field names that conflict with the model API
2012-10-11 18:05:12 -04:00
Ramiro Morales
0614e99fbd
More URL reversion docs typo fixes.
2012-10-11 15:40:38 -03:00
Tim Graham
0921b74e69
Merge pull request #437 from dmedvinsky/bug/docs-typo-reversing
...
Fixed typo in URL reversing docs
2012-10-11 03:15:39 -07:00
Tim Graham
06f5da3d78
Fixed #16817 - Added a guide of code coverage to contributing docs.
...
Thanks Pedro Lima for the draft patch.
2012-10-11 06:11:52 -04:00
Dmitry Medvinsky
b498ce8203
Fix typo in URLs reversing docs
2012-10-11 12:38:14 +04:00
Tim Graham
7ef2781ca0
Fixed #4501 - Documented how to use coverage.py with Django tests.
...
Thanks krzysiumed for the draft patch.
2012-10-10 20:03:27 -04:00
Anssi Kääriäinen
b625e8272b
Moved F() '&' and '|' to .bitand() and .bitor()
...
Done for consistency with Q() expressions and QuerySet combining. This
will allow usage of '&' and '|' as boolean logical operators in the
future. Refs #16211 .
2012-10-10 01:15:29 +03:00
Anssi Kääriäinen
a8b1861fc4
Revert "Fixed #16211 -- Added comparison and negation ops to F() expressions"
...
This reverts commit 28abf5f0eb
.
Conflicts:
docs/releases/1.5.txt
2012-10-10 01:15:29 +03:00
Ramiro Morales
ec1aad1671
Added section about URL reversion to URL mapper document.
2012-10-07 20:21:07 -03:00
Ramiro Morales
69035b0b1c
More URL mapping documentation fixes.
2012-10-06 16:35:22 -03:00
Ramiro Morales
b6b8a3f66b
Refactored URL mapping documentation.
...
Reorganized topic document so it introduces concepts form simple to more
complex. Moved reference parts to their own documents.
2012-10-06 11:27:20 -03:00
Claude Paroz
117e99511e
Added assertXML[Not]Equal assertions
...
This is especially needed to compare XML when hash randomization
is on, as attribute order may vary. Refs #17758 , #19038 .
Thanks Taylor Mitchell for the initial patch, and Ian Clelland for
review and cleanup.
2012-10-06 13:14:50 +02:00
Tim Graham
6d46c740d8
Fixed #17435 - Clarified that QuerySet.update returns the number of rows matched
2012-10-06 07:03:20 -04:00
Russell Keith-Magee
12f39be508
Fixed #19074 -- Corrected some minor issues with the new custom User docs.
...
Thanks to Bradley Ayers for the review.
2012-10-06 12:46:35 +08:00
Don Spaulding
70fac984c8
Fixed format-o in docs/topics/db/queries.txt
...
It appears that our infamous villain, Significant Whitespace,
has struck again.
In this episode, little Timmy finds himself trapped in a
code well. He need not despair, however, as Indentation Man
has heard his cries for help and sprung into action.
With his feline helper, Octocat, at his side, Indentation Man
races to the scene, flings open a web-based code editor, and with
terrific aplomb, frees Timmy to be the documentation he always
wanted to be.
Once again Goodness has prevailed. In the fight for readable
documentation, no stray whitespace will ever be able to
withstand the str.strip()ing nature of....INDENTATION MAN.
2012-10-05 19:17:00 -05:00
Tomáš Ehrlich
443999a1ee
Fixed #18996 - Docs on overriden model methods
2012-10-04 14:03:48 +02:00
Tim Graham
a1a5c0854f
Fixed #19051 - Fixed Selenium tearDownClass method; thanks glarrain for the report.
2012-10-04 06:45:22 -04:00
Preston Holmes
030b55393e
Removed incorrectly reintroduced 1.3 version notes
2012-10-01 14:53:21 -07:00
Preston Holmes
e7723683dc
Fixed #9279 -- Added ignorenonexistent option to loaddata
...
Thanks to Roman Gladkov for the initial patch and Simon Charette for review.
2012-09-30 23:40:27 -07:00
Michael Farrell
7cc4068c44
Fixed #18616 -- added user_login_fail signal to contrib.auth
...
Thanks to Brad Pitcher for documentation
2012-09-30 22:34:50 -07:00
Claude Paroz
8bd7b598b6
Fixed #18807 -- Made 404.html and 500.html optional
...
Thanks Aymeric Augustin for the report and Jannis Leidel for the
review.
2012-09-30 23:16:19 +02:00