0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
Commit Graph

14452 Commits

Author SHA1 Message Date
Thomas Thurman
f17aa998be Fixed #20307 -- Word repeated in tutorial.
Replaced "the the" in the tutorial with "the".
2013-04-23 23:12:47 -04:00
Baptiste Mispelon
73c26f0c95 Fixed #20270 -- Fixed error in AjaxResponseMixin documentation 2013-04-22 20:00:50 +02:00
Claude Paroz
7cc3acbb70 Fixed #19211 -- Adapted tutorial for Python 3 2013-04-22 19:51:42 +02:00
Preston Holmes
226b733c26 Merge pull request #1024 from jktravis/master
Updated reusable apps doc's review of project layout
2013-04-22 08:59:17 -07:00
jktravis
70d3adf9f2 Added 'polls' sub directory under static and reorganized to more accurately represent the project; compared using 'tree' command. 2013-04-21 09:52:02 -04:00
Juan Catalano
78c842a323 Adapted uses of versionchanged/versionadded to the new form.
Refs #20104.
2013-04-20 17:18:35 +02:00
Juan Catalano
1ddeeb5b8e Removed unused imports. 2013-04-20 17:18:29 +02:00
Juan Catalano
4e25198ec2 Fixed #20104 -- Changed VersionDirective in order to avoid ambiguity.
As explained in ticket #20104, the use of versionchanged/versionadded
was confusing.

To solve this ambiguity these directives no longer accept a second
argument but now they only receive the version number (1st arg) and then
a content with the proper comment.
2013-04-20 17:18:21 +02:00
Claude Paroz
3be8165b62 Updated tutorial INSTALLED_APPS section (removed contrib.sites) 2013-04-20 11:34:35 +02:00
Alex Gaynor
714161c864 Fix != operations on lazy objects. 2013-04-19 10:58:29 -07:00
Anton Baklanov
59d127e45f Fixed #20276 -- Implemented __bool__ for MergeDict
MergeDict evaluates now to False if all contained dicts are empty.
Thanks til for the report and the initial patch.
2013-04-19 10:08:16 +02:00
Aymeric Augustin
bfe25de429 Explained the pattern for special methods compatibility. 2013-04-19 09:53:50 +02:00
Claude Paroz
5306285ce2 Complemented documentation following commit be9ae693c
Refs #17840. Thanks Carl Meyer for noticing the omission.
2013-04-18 20:38:07 +02:00
Tim Graham
9f7b277d2e Fixed #20285 - Added missing commas in translation docs.
Thanks cody.j.b.scott@
2013-04-18 13:44:20 -04:00
Tim Graham
f71fdf83a8 Fixed #20286 - Typo in static files docs.
Thanks bmispelon.
2013-04-18 13:41:55 -04:00
Aymeric Augustin
93c1576f17 Fixed #20282 -- Typo in WSGI docs. 2013-04-18 11:47:25 +02:00
Simon Charette
356443fd95 Use LOOKUP_SEP in get_or_create. 2013-04-18 01:55:12 -04:00
Carl Meyer
a98465c040 Refs #14567 -- Fixed failing test that wasn't being run. 2013-04-16 13:34:06 -06:00
Claude Paroz
58b3a974fc Fixed #20266 -- Updated view example in CBV introduction
Thanks jim at hellolocals.com for the report.
2013-04-16 08:59:55 +02:00
Simon Charette
b0bbccf630 Fixed #20262 -- Replaced a reference to the wrong model in the CBV doc.
Thanks to mossplix for the review and bmispelon for the review.
2013-04-15 16:23:35 -04:00
Claude Paroz
53df89c0fe Updated get_ogr_db_string in inspectapp tests to support MySQL/Spatialite
The OGRInspectTest.test_time_field does still not succeed with these
databases (even when removing the postgis guard), but at least it's now
possible to setup a datasource.
2013-04-15 20:27:58 +02:00
Claude Paroz
1628dfd0b9 Properly used test skipping in OGRInspectTest TestCase 2013-04-15 19:38:24 +02:00
Claude Paroz
bfb2504402 Added a tip about --layer param of ogrinspect for databases
Refs #20260.
2013-04-15 18:28:20 +02:00
Simon Charette
1de63cccb1 Fixed #20263 -- Corrected wording in the formset documentation.
Thanks to feraudyh at yahoo.com for the report.
2013-04-15 12:19:17 -04:00
Matthew Tretter
a506b6981b Fixed #18231 -- Made JavaScript i18n not pollute global JS namespace.
Also, use Django templating for the dynamic generated JS code and use
more idiomatic coding techniques.

Thanks Matthew Tretter for the report and the patch.
2013-04-14 17:45:01 -03:00
Claude Paroz
be9ae693c4 Fixed #17840 -- Generalized named placeholders in form error messages
Also fixed plural messages for DecimalField.
2013-04-13 18:55:50 +02:00
Baptiste Mispelon
9ac4dbd7b5 Fixed #4592: Made CheckboxSelectMultiple more like RadioSelect
I refactored RadioSelect and CheckboxSelectMultiple to
make them inherit from a base class, allowing them to share
the behavior of being able to iterate over their subwidgets.

Thanks to Matt McClanahan for the initial patch and to
Claude Paroz for the review.
2013-04-13 16:37:27 +02:00
Baptiste Mispelon
c4186c2fec Fixed #4117: Apply id attribute to the outer <ul> of RadioSelect 2013-04-13 12:23:25 +02:00
Claude Paroz
f56b703b27 Used a Python 3 compatible StringIO in test_utils 2013-04-13 11:38:13 +02:00
Baptiste Mispelon
844fbc85c1 Fixed #19874: Apply id attribute to the outer <ul> of CheckboxSelectMultiple 2013-04-13 11:09:47 +02:00
Claude Paroz
3f05c70be0 Updated a renamed test file 2013-04-13 11:09:47 +02:00
Tim Graham
aad5661c6c Fixed #20247 - Added some missing paths in the tutorial.
Thanks gsavix for the suggestion and patch.
2013-04-12 19:22:02 -04:00
Preston Timmons
6d96831769 Fixed template_tests so discovery doesn't directly find tests that require setuptools. 2013-04-12 15:42:58 -06:00
Preston Timmons
56e777eba3 Modified view_tests for unittest2 discovery. 2013-04-12 15:42:07 -06:00
Preston Timmons
e8446be560 Modified validation to work with unittest2 discovery. 2013-04-12 15:33:22 -06:00
Preston Timmons
612ef3e5c9 Modified utils_tests for unittest2 discovery. 2013-04-12 15:31:58 -06:00
Preston Timmons
3810dc3070 Modified template_tests for unittest2 discovery. 2013-04-12 15:13:59 -06:00
Preston Timmons
44293c5c05 Modified model_fields for unittest2 discovery. 2013-04-12 15:11:12 -06:00
Preston Timmons
3ca3d2206c Modified generic_views for unittest2 discovery. 2013-04-12 15:10:04 -06:00
Preston Timmons
5e84abec14 Modified comment_tests for unittest2 discovery. 2013-04-12 15:07:24 -06:00
Preston Timmons
6f3e139739 Modified test_client_override to work with unittest2 discovery. 2013-04-12 15:05:34 -06:00
Preston Timmons
751b007c98 Modified test_utils to work with unittest2 discovery. 2013-04-12 15:00:48 -06:00
Preston Timmons
cdf520ee86 Modified forms_tests to work with unittest2 discovery. 2013-04-12 15:00:17 -06:00
Claude Paroz
d58e985aaa Fixed #20252 -- Mentionned geojson Spatialite support from 1.5
Thanks burton449geo at gmail.com for the report.
2013-04-12 20:59:56 +02:00
Claude Paroz
b04fd579d5 Fixed #20237 (again) Allowed binary parameter to assertContains 2013-04-12 20:12:42 +02:00
Tim Graham
8fc68af9c0 Fixed #20248 - Clarified manage.py vs. django-admin.py 2013-04-12 06:10:26 -04:00
Baptiste Mispelon
ab686022f8 Fixed #20211: Document backwards-incompatible change in BoundField.label_tag
Also cleaned up label escaping and consolidated the test suite regarding
label_tag.
2013-04-12 10:17:17 +02:00
Claude Paroz
0f99246b6f Documented BoundField.label_tag 2013-04-12 10:17:17 +02:00
Tim Graham
712a792713 Fixed #20243 - Clarified when RelatedManager.remove() exists. 2013-04-11 14:13:09 -04:00
Tim Graham
9a62fc3f93 Merge pull request #1008 from reverie/patch-2
Removed incorrect phrase from DecimalField docs.
2013-04-11 10:38:53 -07:00