Tim Graham
0c9f40f776
Fixed #22154 -- Added "Built-in" to some class-based views titles.
2014-08-23 19:30:42 -04:00
Tim Graham
19999befbe
Clarified release preparation step about dates.
2014-08-23 19:13:51 -04:00
Claude Paroz
1f45f3cea1
Updated docs about Spatialite collect/extent support
2014-08-23 18:03:11 +02:00
Claude Paroz
a7d964ab87
Replaced no_spatialite by connection features
...
Refs #22632 . Thanks Tim Graham for the review.
2014-08-23 15:41:13 +02:00
Tim Graham
c7fa27d702
Fixed #23344 -- Removed duplicate docs for file upload settings.
2014-08-23 09:30:01 -04:00
Tim Graham
a76aab3583
Fixed #23324 -- Mentioned Site.id in contrib.sites docs.
2014-08-22 12:56:38 -04:00
Kristian Glass
b7336ec179
Fixed #23342 -- Clarified warning about naive time objects.
...
Thanks to apollo13 for suggested wording.
2014-08-22 11:38:52 -04:00
Tim Graham
14aff0bd82
Fixed #23343 -- Typo in docs/ref/class-based-views/generic-date-based.txt.
2014-08-22 11:22:09 -04:00
Andrew Godwin
459cfb523d
Update squashmigration docs to also mention circ dep errs (refs #23337 )
2014-08-21 19:18:26 -07:00
Tim Graham
b902be798e
Added dates to release notes.
2014-08-20 16:31:45 -04:00
Simon Charette
53ff096982
Prevented data leakage in contrib.admin via query string manipulation.
...
This is a security fix. Disclosure following shortly.
2014-08-20 14:39:40 -04:00
Preston Holmes
5307ce565f
Fixed #23066 -- Modified RemoteUserMiddleware to logout on REMOTE_USER change.
...
This is a security fix. Disclosure following shortly.
2014-08-20 14:39:40 -04:00
Tim Graham
0d8d30b7dd
Fixed #23157 -- Removed O(n) algorithm when uploading duplicate file names.
...
This is a security fix. Disclosure following shortly.
2014-08-20 14:39:40 -04:00
Florian Apolloner
28e765810d
Prevented reverse() from generating URLs pointing to other hosts.
...
This is a security fix. Disclosure following shortly.
2014-08-20 14:39:40 -04:00
Tim Graham
ec71191be0
Added release note stubs for 1.5.9 and 1.4.14.
2014-08-20 14:39:40 -04:00
Claude Paroz
12cf10cacd
Fixed typo in 1.7 release notes
2014-08-20 08:57:35 +02:00
Tim Graham
fca677fa43
Added sphinx extension to ease generation of ticket links.
2014-08-19 17:40:50 -04:00
Unai Zalakain
5f2542f12a
Fixed #10190 -- Made HttpResponse charset customizable.
...
Thanks to Simon Charette, Aymeric Augustin, and Tim Graham
for reviews and contributions.
2014-08-19 17:34:38 -04:00
areski
9d6551204e
Removed unnecessary code-block directives.
2014-08-19 16:44:25 -04:00
Claude Paroz
fa02120d36
Fixed #22996 -- Prevented crash with unencoded query string
...
Thanks Jorge Carleitao for the report and Aymeric Augustin, Tim Graham
for the reviews.
2014-08-19 22:29:31 +02:00
Lee Sanghyuck
11d9cbe2f4
Fixed #23316 -- Added datetime.time serialization in migrations.
2014-08-19 13:31:46 -04:00
Tim Graham
03c1609c47
Fixed #21801 -- Documented SingleObjectMixin.get_context_data() requires the object attribute.
2014-08-19 12:07:44 -04:00
Tim Graham
3569536491
Fixed #23314 -- Tempered recommendation of storing profile data on custom user.
...
Thanks gavinwahl for the report.
2014-08-19 07:24:36 -04:00
Tim Graham
c587bd5a94
Fixed #17272 -- Documented that non-editable fields are skipped during model validation.
...
Thanks mitar for the report.
2014-08-19 07:18:05 -04:00
Tim Graham
7006187064
Fixed #23282 -- Corrected inheritance and reverse relations example.
...
Thanks knowledgepoint-devs for the report and claudep for review.
2014-08-19 06:28:48 -04:00
Tim Graham
5dbe2a9431
Fixed #4991 -- Emphasized XSS ramifications of help_text not being escaped.
2014-08-19 06:16:05 -04:00
Tim Graham
15cafaa565
Fixed #5726 -- Documented that inspectdb doesn't detect defaults.
2014-08-19 06:14:14 -04:00
Tim Graham
9432f1e750
Fixed some doc errors that caused syntax highlighting to fail.
2014-08-18 20:37:47 -04:00
Baptiste Mispelon
5853c87a45
Fixed #23303 -- Added BEGIN and COMMIT statements to the output of sqlmigrate.
2014-08-18 18:55:12 +02:00
Tim Graham
b6aa60f425
Fixed #14638 -- Clarified model Field.to_python() docs.
...
Thanks Anubhav Joshi for the patch.
2014-08-18 12:53:25 -04:00
Tim Graham
7ed3d0bb61
Fixed #23263 -- Added sqlmigrate to migration topic guide.
2014-08-18 09:15:24 -04:00
areski
90b64db39c
Fixed syntax highlighting and indentation in docs/topics/logging.txt.
2014-08-15 15:17:18 -04:00
areski
7ca665c5f5
Fixed #23296 -- Fixed RunPython code sample in Migration Operations.
2014-08-15 13:56:14 -04:00
areski
ef90d395ab
Fixed #23278 -- Documented django.db.backends.schema logger
2014-08-15 12:27:30 -04:00
Peter Harley
2724cdbff6
Fixed #18355 -- Added ordering options to list based generic views.
...
Added MultipleObjectMixin.ordering and get_ordering().
Refs #21450 .
2014-08-15 11:09:47 -04:00
Tim Graham
e122facbd8
Fixed #23269 -- Deprecated django.utils.remove_tags() and removetags filter.
...
Also the unused, undocumented django.utils.html.strip_entities() function.
2014-08-15 08:20:02 -04:00
Gabriel Muñumel
deed00c0d8
Fixed #23162 -- Renamed forms.Field._has_changed() to has_changed().
2014-08-15 08:14:45 -04:00
Tim Graham
99561eef26
Fixed typo in docs/howto/custom-model-fields.txt.
2014-08-15 07:18:04 -04:00
Claude Paroz
12adcd505e
Complemented 1.6 release notes for 457c16d0d6
...
And accessorily added missing bits fixing #23293 .
Forward port of 2cbafd814
from stable/1.7.x
2014-08-15 10:14:55 +02:00
Tim Graham
982addeb37
Added some words to spelling_wordlist.
2014-08-14 14:13:08 -04:00
areski
3021453285
Fixed #20133 -- Added summary to admin deletion confirmation pages.
...
Thanks jonash for the suggestion and initial patch.
2014-08-14 13:56:23 -04:00
areski
2a4492aecb
Fixed #23224 - Documented EmailValidator.
2014-08-14 13:28:12 -04:00
Zhaorong Ma
bef5b9b7cd
Fixed a grammar error in docs/ref/forms/api.txt.
2014-08-14 12:13:52 -04:00
Tim Graham
cf79b57ad0
Fixed #21132 -- Removed the useless app_name argument to AdminSite.
...
Thanks MarkusH for the report and Florian for review.
2014-08-14 09:05:51 -04:00
Claude Paroz
055d95fce0
Fixed #23265 -- Used system-specific encoding in runserver
...
Thanks SpaceFox for the report.
2014-08-14 12:08:06 +02:00
Tim Graham
a7443c24a3
Corrected content_type parameter name in sitemap docs.
...
mimetype was deprecated in 1.5 per 11ec0253ab
.
2014-08-13 21:44:36 -04:00
Tim Graham
da009ce32c
Removed doc reference to removed HttpResponse.mimetype.
2014-08-13 21:42:39 -04:00
zsoldosp
01801edd37
Fixed #22646 : Added support for the MySQL ssl-ca option to dbshell.
2014-08-13 18:29:42 -04:00
Ola Sitarska
6947885926
Fixed #23283 -- Added default=False to BooleanField's in the docs.
...
Thanks Baptiste for the suggestion.
2014-08-13 18:23:52 -04:00
Collin Anderson
e5376999fa
Refs #23276 -- Added missing url() in some places.
2014-08-13 14:20:15 -04:00
areski
d441a9d006
Improved formatting of deconstruct() docs.
2014-08-13 12:41:11 -04:00
Trey Hunner
6868643063
Added newlines to the ends of CSS, HTML, and JavaScript files missing them.
2014-08-12 19:22:09 -04:00
Claude Paroz
2cc8ffe258
Fixed #22985 -- Made call_command accept option name parameter
...
Thanks giulettamasina for the report and Tim Graham for the review.
2014-08-12 21:53:29 +02:00
Tim Graham
6745b6fd7a
Fixed typo in previous commit.
2014-08-12 14:40:32 -04:00
Ola Sitarska
549284faa4
Fixed #23016 -- Updated FAQs per Aymeric's suggestions.
2014-08-12 13:46:10 -04:00
Tim Graham
a9fd740d22
Fixed #23276 -- Deprecated passing views as strings to url().
2014-08-12 13:15:40 -04:00
Tim Graham
2003cb23d4
Fixed indentation typo in docs/ref/contrib/sitemaps.txt.
2014-08-12 12:27:24 -04:00
Tim Graham
954e7b8aad
Added words to spelling wordlist.
2014-08-11 14:29:37 -04:00
Tim Graham
7efce77de2
Added a warning that remove_tags() output shouldn't be considered safe.
2014-08-11 07:08:17 -04:00
Markus Bertheau
c2d3f18874
Fixed typo in 1.8 release notes.
2014-08-11 07:06:29 -04:00
Jaap Roes
e92b057e06
Fixed #23261 -- Deprecated old style list support for unordered_list filter.
2014-08-11 07:04:33 -04:00
Ola Sitarska
2e7be92b4d
Fixed #23267 -- Fixed typo in Translation documentation
...
Thanks to Tomin1 for the report.
2014-08-11 12:06:08 +02:00
Loic Bistuer
12ad61aa9f
Added myself as a team member.
2014-08-10 23:58:18 +02:00
Tim Graham
73ff4498aa
Removed some tabs in the docs.
2014-08-08 13:59:02 -04:00
Andreas Stocker
f3ef55ea7a
Fixed #23257 -- Updated docs for new django-jython release.
2014-08-08 12:31:56 -04:00
Andrew Godwin
173d989c91
Fixed #23252 : Call out removed features in release notes.
...
Also added StrAndUnicode mixin note to deprecation plan as it was
missing.
2014-08-07 14:14:12 +10:00
Mohammed Attia
61ed959235
Removed a doc reference to the deprecated `mimetype` kwarg.
2014-08-06 22:15:54 -04:00
Tim Graham
edcc75e5ac
Fixed #21792 -- Documented Form.has_changed()
...
Thanks bjb at credil.org for the suggestion and
Ivan Mesic for the draft patch.
2014-08-05 08:44:57 -04:00
Tim Graham
0efd72dc90
Fixed broken links in docs.
2014-08-05 08:23:34 -04:00
Tim Graham
21d0ceefb5
Updated links for continous integration server.
2014-08-05 07:28:04 -04:00
Stanislas Guerra
98e8da3709
Fixed #16311 -- Added a RelatedOnlyFieldListFilter class in admin.filters.
2014-08-04 09:39:02 -04:00
areski
e4dd8b5dde
Fixed #23169 - Misc docs fixes.
2014-08-04 08:29:00 -04:00
Tim Graham
0f2ceee025
Fixed #23151 -- Deprecated RegexField.error_message.
...
Thanks Baptiste Mispelon for the suggestion.
2014-08-03 11:21:01 -04:00
Tim Graham
a9fa3d4667
Removed notes for versions of SQLite older than 5 years.
2014-08-02 20:02:06 -04:00
Tim Graham
75f2c65cb6
Fixed #23154 -- Removed reference to deprecated run_gunicorn command.
...
Thanks frewsxcv for the report.
2014-08-02 15:02:29 -04:00
Erik Romijn
e26366da44
Fixed #23149 -- Clarified note on HTTPOnly in cookie-based session docs
2014-08-02 18:55:20 +02:00
Tim Graham
d28396f526
Fixed #23144 -- Dropped support for MySQL 5.0, 5.1.
2014-08-02 10:28:40 -04:00
Tim Graham
fb4f3e04b1
Updated MySQL links to version 5.6.
2014-08-02 10:27:01 -04:00
Collin Anderson
e075d2e66b
Fixed #23148 -- Minor tweaks in tutorial code samples
2014-08-02 10:17:45 +02:00
Tim Graham
8f9d6e83a0
Fixed #23145 -- Dropped support for Oracle < 11.1
2014-08-01 19:32:00 -04:00
Tim Graham
a2479f46f3
Fixed #7220 -- Allowed AbstractBaseUser.last_login to be null.
...
Thanks veena for the suggestion and Simon Charette and Kévin Etienne for reviews.
2014-08-01 17:51:49 -04:00
Tim Graham
1a31d9ef91
Removed some PostGIS 1.4 notes in the docs (refs #23108 ).
2014-08-01 10:53:53 -04:00
Tim Graham
a9bdce7e55
Fixed #23108 -- Dropped support for PostgreSQL 8.4 & PostGIS 1.3, 1.4.
...
Thanks Claude Paroz for the review.
2014-08-01 10:26:00 -04:00
Tim Graham
7ce4ef58c9
Fixed typo in docs/topics/testing/tools.txt.
2014-08-01 09:30:58 -04:00
Petras Zdanavičius
8b7347220f
Fixed #23103 -- Annotated ImageField file with image and content_type attributes.
...
Thanks Jeremy Dunck for the suggestion and Nick Sanford for review.
2014-08-01 09:30:58 -04:00
Aymeric Augustin
f8aeeff291
Removed references to well-known political systems.
...
Some cultures can't handle these words.
2014-08-01 14:41:25 +02:00
Aymeric Augustin
a4ead67ee9
Adjusted 'internals' docs to the new organization.
...
Most of these changes are about using the correct vocabulary -- "core
team member" vs "core developer/committer" and adding internal links.
2014-08-01 14:41:25 +02:00
Aymeric Augustin
dd9c8f9382
Left formal decisions up to the technical board.
...
As the core team grows towards 50 people, it isn't reasonable to give
everyone veto rights anymore.
2014-08-01 14:41:24 +02:00
Aymeric Augustin
73b3318b1d
Documented current roles.
2014-08-01 14:41:24 +02:00
Aymeric Augustin
4a475ce1c8
Introduced a technical board.
...
Extended the scope of the core team a bit (depending on your current
perspective on that scope).
2014-08-01 14:41:24 +02:00
Aymeric Augustin
e9fde1c7ec
Removed references to partial commit acces.
2014-08-01 14:41:24 +02:00
Aymeric Augustin
5ad48a9ef2
Renamed "committers" to "team".
2014-08-01 14:41:24 +02:00
Florian Apolloner
a0bfe4ea98
Replaced django-admin.py with django-admin in the man page.
2014-07-31 23:46:49 +02:00
Loic Bistuer
7579080899
Used JsonResponse in CBV examples.
...
Thanks Hiroki Kiyohara and Tim Graham for the reviews.
2014-07-31 13:43:46 -04:00
Tim Graham
da59902250
Updated timezone docs to use timezone.now()
...
Thanks James Cleveland for the report and Aymeric for suggesting
the solution.
2014-07-31 12:54:11 -04:00
Nick Sandford
9d9f0acd7e
Fixed #13163 -- Added ability to show change links on inline objects in admin.
...
Thanks DrMeers for the suggestion.
2014-07-31 08:07:28 -04:00
Christoph Heer
d47409831f
Fixed #23067 -- Updated docs to use django-admin
2014-07-30 14:14:03 -04:00
Tim Graham
66630f589c
Fixed #23134 -- Fixed typos in docs/ref/models/querysets.txt.
...
Thanks Josh Kupershmidt.
2014-07-30 13:03:54 -04:00
Tim Graham
7fcfefbc4a
Forwardported 1.6.6 release note for #19107 .
2014-07-30 09:33:02 -04:00
Tim Graham
abb97cffdf
Fixed #23132 -- Removed confusing clause in auth docs.
2014-07-30 08:15:13 -04:00
Andrew Godwin
b9a9b052e8
Fixed #23127 : south_migrations note in docs
2014-07-29 10:10:31 -07:00
Andrew Godwin
8ebd6d35d7
Fixed #23090 : Document and enforce not double-squashing migrations
2014-07-29 10:02:59 -07:00
David Arcos
b9daa4f0e1
Fixed a typo in the admin documentation.
...
The 'app' subpackage does not exist, should be 'app'.
2014-07-29 12:27:35 -04:00
Tim Graham
f294f93a17
Forwardported 1.6.6 release notes for refs #20292 .
2014-07-29 09:39:51 -04:00
Tim Graham
e46801f13d
Fixed #23079 -- Added data loss issues to those that will be backported to LTS.
2014-07-29 09:23:03 -04:00
Tim Graham
b012122d30
Fixed #23120 -- Updated GeoDjango tutorial for migrations workflow.
2014-07-29 09:08:49 -04:00
Baptiste Mispelon
e5619330e2
Fixed #23123 -- Don't use a bare except in ModelAdmin documentation
...
Thanks to wkschwartz for the report and to Tim for the patch.
2014-07-29 11:06:32 +02:00
Baptiste Mispelon
62c74abbb0
Fixed #23114 -- Clarified documentation of template lookups.
...
Thanks to gmunumel and Tom Dalton for their help on the patch.
2014-07-29 10:56:24 +02:00
Moayad Mardini
668d432d0a
Fixed #22491 -- documented how select_for_update() should be tested.
...
Thanks Andreas Pelme for the report.
2014-07-28 10:57:12 -04:00
Gabriel Muñumel
0af593dbe5
Fixed #23102 -- Documented that sql* commands now respect allow_migrate().
2014-07-28 10:05:41 -04:00
Aymeric Augustin
53a61d82b3
Fixed #23062 -- Documented how to create superuser.
...
Patch by Tim Graham. Thanks areski for the review.
2014-07-27 15:48:21 +02:00
James Bennett
c83583fb34
Correctly remove extraneous text about keys from previous edit.
2014-07-27 13:49:53 +02:00
James Bennett
fe87f8d670
Update from key ID in security.txt to authorized release keys list.
2014-07-27 13:48:59 +02:00
David Hoffman
f14898a453
Fixed #23106 -- Updated class-based view reference title.
2014-07-26 20:38:49 -04:00
David Hoffman
6d5daa30cf
Fixed #22553 -- Added refreshing queryset info to docs.
2014-07-26 10:27:02 -04:00
Anubhav Joshi
5cdb8f8c1e
Fixed #16617 -- Added 'value' to BaseValidator params.
...
Also allowed overriding the default messages in subclasses of BaseValidator.
Thanks sperrygrove for initial patch.
2014-07-26 10:03:00 -04:00
Petras Zdanavičius
5a311d2ccc
Fixed #23103 -- Added contributing tutorial link to contributing index.
2014-07-26 09:50:05 -04:00
Niclas Olofsson
08b85de9b7
Fixed #22305 -- Added note to docs about UTF8 database requirement.
2014-07-26 09:39:29 -04:00
David Hoffman
e1c85167a3
Fixed #23097 -- Switched to new octal format in docs
2014-07-26 11:20:24 +02:00
Andrew Godwin
f44dbf74a4
Mark initial_data as deprecated separately from syncdb. Refs #23077 .
2014-07-25 09:09:15 -07:00
Moayad Mardini
f9b7a0383c
Fixed #22827 -- clarified what each cache middleware does.
...
Thanks Keryn Knight for the report.
2014-07-25 06:24:00 -04:00
Tom Dyson
aa8bc7fa7d
Improved docs for GEOSGeometry.simplify()
2014-07-25 06:22:02 -04:00
Tim Graham
bb395a15ba
Forward ported release notes for refs #23089 .
2014-07-24 19:55:57 -04:00
Tim Graham
5f919b9c81
Fixed #23094 -- Removed redundant argument in select_related() example.
...
Thanks thegeekofalltrades at gmail.com for the report.
2014-07-24 13:57:00 -04:00
Daniel Roseman
e01fa71142
Corrected headings in migration docs.
2014-07-24 09:39:20 -04:00
Tim Graham
8568e7cfa4
Added backwards incompatibility note for refs #22845 ; refs #23082 .
...
Thanks Kyle Owens for the report.
2014-07-23 15:23:36 -04:00
Rikki
731f313d60
Added warning in tutorial 4 that the regex capture group name has changed.
2014-07-22 14:00:22 -04:00
africa itcase
06ba4b9eee
Fixed typo in docs/ref/contrib/admin/index.txt.
2014-07-22 13:27:27 -04:00
Iain Dawson
8fbf13a6c8
Replaced instances of 'his/her' with 'their'.
2014-07-21 19:49:12 +00:00
Claude Paroz
3f1412ff7b
Fixed #23064 -- Added lib detection support for GDAL 1.10/1.11
...
Note that GDAL 1.11 is not yet officially supported, until someone
has tested it and can confirm it has no issues with Django.
2014-07-21 19:05:19 +02:00
Damien Nozay
70c54a3694
Fixed #23028 : Added unique_togther support to inspectdb.
2014-07-18 16:10:59 +00:00
Dean Silfen
b8d255071e
Edited setup.py in reuseable apps tutorial to use a context manager for open().
2014-07-16 14:21:27 -04:00
Corey Farwell
e7827b9494
Alphabetized django.utils sections.
2014-07-16 13:54:13 -04:00
Tim Graham
c62c480b2b
Added 1.6.6 release notes for #22998 (also forwardported those for #13794 ).
2014-07-16 13:34:53 -04:00
Bartek Ciszkowski
d9f78d5344
Fixed reference to pk in RedirectView.get_redirect_url doc.
2014-07-16 13:23:11 -04:00
Tim Graham
7d0519c725
Fixed #23023 -- Added warning against local-memory cache.
...
Thanks django at kerz.id.au.
2014-07-16 12:34:27 -04:00
Loic Bistuer
671e0c937c
Further fix the release notes for refs #13147 .
...
Mention of custom user models has been removed since UserCreationForm
didn't support custom user models anyway. Refs #19353 .
2014-07-15 17:59:16 +07:00
Tim Graham
38e001ab6c
Fixed #22789 -- Deprecated django.contrib.webdesign.
...
Moved the {% lorem %} tag to built-in tags.
2014-07-14 08:45:19 -04:00
Tim Graham
7affb4ad58
Fixed/improved release note for refs #13147 ; thanks Loic.
2014-07-14 07:46:19 -04:00
Tim Graham
dd6ef3197a
Fixed #23015 -- Fixed major/minor release terminology in docs.
2014-07-13 13:37:56 -04:00
Aymeric Augustin
a764a9ccff
Checked more precisely whether the app registry is ready.
...
Accounted for the three stages of population: app configs, models,
ready() methods of app configs.
2014-07-12 18:49:37 +02:00
Alex Gaynor
6732566967
Bump the default iterations for PBKDF2.
...
The rate at which we've increased this has not been keeping up with hardware (and software) improvements, and we're now considerably behind where we should be. The delta between our performance and an optimized implementation's performance prevents us from improving that further, but hopefully once Python 2.7.8 and 3.4+ get into more hands we can more aggressively increase this number.
2014-07-11 22:43:26 -07:00
Tim Graham
4e4c10bc61
Removed docs for @permalink decorator.
...
It's been marked as "not recommended" since 1.6. Anyone still using it
may refer to older versions of the docs.
2014-07-10 17:30:39 -04:00
Andrew Godwin
ceb2aaf1d4
Add south upgrade note to 1.7 release notes
2014-07-10 10:00:31 -07:00
Yin Jifeng
849538d03d
Fixed #13147 -- Moved User validation logic from form to model.
2014-07-10 09:36:43 -04:00
Tim Graham
fef26e9a87
Fixed typo in docs/ref/contrib/gis/geos.txt.
2014-07-10 06:09:08 -04:00
Jorge C. Leitão
e1fa7dffdc
Fixed #22809 -- Added model Field API reference.
...
Thanks to @timgraham for the review.
2014-07-10 06:03:04 -04:00
Anubhav Joshi
011abb7d96
Fixed #19671 -- Added warnings that null and validators are ignored for ManyToManyField.
...
Thanks Loic Bistuer and Tim Graham for help and review.
2014-07-09 16:01:09 -04:00
Tim Graham
3a85aae2ea
Revert "Improve cookie based session backend docs." refs #20418
...
This reverts commit d9c01da1f8
.
This is poor advice as it breaks the test client login (refs #22934 ).
We can add a note like this back after refs #22986 is resolved.
2014-07-09 13:54:41 -04:00
Tim Graham
5ebf03b7dd
Fixed #22351 -- Removed usage of lambdas in model field options.
...
Thanks claudep for review.
2014-07-09 07:31:50 -04:00
Jorge C. Leitão
8780849da0
Fixed #22812 -- Refactored lookup API documentation.
...
Thanks Anssi and Tim for reviews.
2014-07-08 20:05:49 -04:00
Andrew Godwin
503e59c9b0
Document -l as well as --list on migrate
2014-07-08 10:30:11 -07:00
Tim Graham
9f18b6bcb0
Fixed #22978 -- Removed a USA-centric example that didn't add much.
2014-07-08 08:56:41 -04:00
Anubhav Joshi
75ff7b8fb8
Fixed #21832 -- Updated prompt, tests, and docs to show that USERNAME_FIELD supports FK after 9bc2d76
.
...
Also added get_input_data() hook in createsuperuser.
Thanks Chris Jerdonek and Tim Graham for review.
2014-07-08 08:21:41 -04:00
Tim Graham
54546cee88
Fixed #22942 -- Noted that __init__.py files are required for management command detection.
...
Thanks Diego Cerdán for the suggestion.
2014-07-07 18:04:00 -04:00
Tim Graham
e6b3d6c22f
Fixed #22966 -- Clarified which release notes appear for each doc version.
...
Thanks haimunt at yahoo.com for the suggestion.
2014-07-07 15:29:01 -04:00
Collin Anderson
2c1384fbac
Fixed a few PEP8 errors in settings doc.
2014-07-06 18:31:10 -04:00
Andrew Godwin
32fefc6f70
Document --fake and --list on migrate command
2014-07-06 00:30:18 -07:00
Daniel Hahler
67f9f385aa
Fixed various minor doc typos / references.
2014-07-05 20:26:26 -04:00
Andrew Godwin
f751109cb2
Merge pull request #2881 from charettes/ticket-22943-compiled-regex-deconstruction
...
Fixed #22943 -- Correctly serialize compiled regexes.
2014-07-05 16:37:10 -07:00
Tim Graham
7fd55c3481
Fixed #20631 -- Increased the default EmailField max_length to 254.
...
Thanks pmartin for the report.
2014-07-04 14:15:00 -04:00
Simon Charette
35c2c37041
Fixed #22943 -- Correctly serialize compiled regexes.
...
Thanks to antialiasis at gmail dot com for the patch.
2014-07-04 13:34:20 -04:00
Loic Bistuer
1966054feb
Fixed #22915 -- Document backward incompatible changes in the ValidationError constructor.
...
This patch also fixes update_error_dict to better handle the use case described
in this ticket, previously the type of the provided container could be lost in
some conditions.
Thanks Russell Keith-Magee for the report and Tim Graham for review.
2014-07-04 17:05:31 +07:00
Tim Graham
814bcc3395
Fixed #22924 -- Added a note about MEDIA_URL in templates.
...
Thanks raphael.herouart at gmail.com
2014-07-03 09:21:20 -04:00
Anubhav Joshi
9bc2d766a0
Fixed #21755 -- Added ForeignKey support to REQUIRED_FIELDS.
...
This allows specifying ForeignKeys in REQUIRED_FIELDS when using a
custom User model.
Thanks cjerdonek and bmispelon for suggestion and timgraham for review.
2014-07-03 07:42:52 -04:00
Daniel Lindsley
23d68c0f0d
Removed myself from committers.
2014-07-02 23:33:03 -05:00
LarryBrid
a93ee5112d
Fixed #22941 - Added support for domain-only links with chars after the TLD to urlize.
...
It now works with something like google.com/foo/bar
2014-07-02 20:36:53 -04:00
Tim Graham
42f5c8f397
Fixed typo in docs/ref/models/instances.txt
2014-07-02 13:21:34 -04:00
Tim Graham
1a3bec4a26
Fixed #18108 -- Added instructions for translating documentation.
...
Thanks Claude Paroz.
2014-07-02 13:16:31 -04:00
Anubhav Joshi
10e83d48a3
Fixed #22935 -- Changed ForeignKey.default_error_messages['invalid'] to refer to correct field.
...
Thanks Tim Graham for suggestion and review.
2014-07-02 13:01:36 -04:00
Tim Graham
c37000ab04
Clarified that LocMemCache is per-process; refs #7639 .
...
Thanks projectgus for the suggestion.
2014-07-02 10:12:43 -04:00
Éric Araujo
5842d8eba4
Removed non-existent reference to args/kwargs in manager docs.
2014-07-02 07:54:02 -04:00
Andrew Godwin
e9249bc20b
Fixed #22932 : Documented circular dependency issues with swappable user
2014-07-01 20:54:46 -07:00
Tim Graham
db9a1a0c47
Fixed #13755 -- Added a tip for caching responses that vary on AJAX.
...
Thanks mila for the suggestion.
2014-07-01 17:32:14 -04:00
Tim Graham
20ec9daf7c
Fixed #22933 -- Deprecated django.template.resolve_variable().
2014-07-01 17:29:41 -04:00
Claude Paroz
232f2028d5
Included irc link in paragraph to allow for l10n
...
Translators may want to change the irc link pointing to a
language-specific channel.
2014-07-01 21:54:32 +02:00
Anssi Kääriäinen
0b6f05ede6
Fixed #19501 -- added Model.from_db() method
...
The Model.from_db() is intended to be used in cases where customization
of model loading is needed. Reasons can be performance, or adding custom
behavior to the model (for example "dirty field tracking" to issue
automatic update_fields when saving models).
A big thank you to Tim Graham for the review!
2014-07-01 16:31:01 +03:00
Curtis
71461b14ab
Fixed #22691 -- Added aliasing to cached_property.
2014-07-01 06:32:53 -04:00
Anubhav Joshi
34ba86706f
Fixed #14334 -- Query relation lookups now check object types.
...
Thanks rpbarlow for the suggestion; and loic, akaariai, and jorgecarleitao
for reviews.
2014-07-01 06:12:58 -04:00
Tim Graham
81edf2d006
Fixed non-multiple of 4 indentation in docs/ref/request-response.txt.
2014-06-30 19:47:19 -04:00
Tim Graham
bbf0a9545b
Fixed #22482 -- Recommended using data migrations in contrib.sites docs.
...
Thanks scibi for the report.
2014-06-30 18:48:49 -04:00
Tim Graham
f3a933d7c1
Made docs CSS for versionchanged/added more similar to docs.djangoproject.com.
2014-06-30 18:38:30 -04:00
Tim Graham
e3c7af18a3
Fixed #19489 -- Documented host parameter of assertRedirects().
...
Thanks mrknacky at gmail.com for the report and gajimenezmaggiora
for the draft patch.
2014-06-30 17:52:04 -04:00
Tim Graham
874053edf9
Fixed #21942 -- Moved Form.clean() to form API docs.
...
Thanks cjerdonek for the suggestion.
2014-06-30 16:30:57 -04:00
Claude Paroz
0b5bafe993
Removed reference to old middleware
2014-06-30 20:36:18 +02:00
Tim Graham
cf252dbea6
Fixed #8162 -- Increased Permission.name max_length to 255 characters.
2014-06-30 14:20:51 -04:00
Tim Graham
5359188b08
Fixed docs/ref/contrib/auth.txt so that sphinx links work properly.
2014-06-30 14:20:51 -04:00
Tim Graham
1e8411259f
Fixed #22912 -- Warned about a common mistake in tutorial 5.
2014-06-27 09:51:21 -04:00
Matt Deacalion Stevens
ec85df2fa5
Fixed and enhanced new HTML form docs.
2014-06-26 13:57:19 -04:00
Éric Araujo
e9c730f6be
Fixed copy/paste typos in StreamingHttpResponse doc.
2014-06-26 07:27:13 -04:00
Gert Van Gool
a8c5630c98
Fixed typo in parameter name doc for BaseCommand.check().
2014-06-26 07:23:32 -04:00
Ramiro Morales
77c0a904cb
Fixed typo in revamped forms intro doc.
2014-06-25 12:15:20 -03:00
Duncan Parkes
fd4ccd045c
Fixed #22799 -- Made GET and POST on HttpRequest QueryDicts, and FILES a MultiValueDict.
...
Previously, GET, POST, and FILES on an HttpRequest were created in
the __init__ method as dictionaries. This was not something you would
usually notice causing trouble in production as you'd only see a
WSGIRequest, but in testing using the test client, calling .getlist
on GET, POST, or FILES for a request with no get/post data resulted in
an AttributeError.
Changed GET and POST on an HttpRequest object to be mutable
QueryDicts (mutable because the Django tests, and probably many
third party tests, were expecting it).
2014-06-24 22:03:22 -04:00
Duncan Parkes
d68987ae25
Fixed #22897 -- Made QueryDict query_string argument optional.
...
Now QueryDict() is equivalent to QueryDict('') or QueryDict(None).
2014-06-24 22:02:03 -04:00
Duncan Parkes
7f4e2ef1e9
Improved documentation for QueryDict.
2014-06-24 21:40:21 -04:00
Peter Kowalczyk
48241ec9c4
Fixed typo in middleware docs.
...
Function definition should have an ending colon.
2014-06-24 16:06:06 -04:00
Daniele Procida
cd20b5d186
Fixed #22796 -- Added a more basic explanations of forms.
...
Thanks bmispelon, kezabelle, jorgecarleitao, and timgraham for reviews.
2014-06-24 14:55:22 -04:00
Anubhav Joshi
dbbcfca476
Fixed #21668 -- Return detailed error page when SuspiciousOperation is raised and DEBUG=True
...
Thanks GDorn and gox21 for report.
Thanks Tim Graham for idea and review.
2014-06-24 08:55:36 -04:00
Tim Graham
150d88cc2c
Restored is_anonymous() check in ModelBackend permission checking removed in refs #17903 .
...
Thanks Florian Apolloner for raising the issue.
2014-06-24 07:09:38 -04:00
Claude Paroz
460ec09d2e
Fixed #22880 -- Added FAQ entry about UnicodeDecodeError
...
Thanks Víðir Valberg Guðmundsson for the report and
Tim Graham for the review.
2014-06-24 09:02:28 +02:00