Renato Oliveira
e3720b990a
Fixed #25382 -- Removed obsolete references to DateQuerySet.
2015-09-11 12:16:06 -04:00
Ryan Allen
fba8655e88
Renamed admin doc image files to match the documentation they are for.
2015-09-11 12:01:13 -04:00
Ryan Allen
6e8ddbaa25
Fixed #25200 -- Updated admin screenshots in docs.
2015-09-11 12:00:10 -04:00
Malcolm Box
1d8eb0cae5
Fixed #25374 -- Made ModelAdmin checks work on instances instead of classes.
...
This allows dynamically-generated attributes to be specified in
checked ModelAdmin attributes without triggering errors.
2015-09-11 09:28:34 -04:00
Jose Carlos Menezes
cf99bae53a
Fixed #25351 -- Added example for database test settings to docs.
2015-09-11 08:11:58 -04:00
Flavio Curella
0c7c18cc9e
Fixed #25380 -- Added Postgres.app to the PostGIS options on OS X.
2015-09-11 07:58:46 -04:00
Flavio Curella
dfced0921c
Fixed #25379 -- Removed obsolete information from GeoDjango tutorial.
...
Django 1.9 drops support for PostgreSQL 9.0 where creating
a database using a template was needed.
2015-09-10 20:46:08 -04:00
Aymeric Augustin
a32206b365
Documented that the parallel test runner doesn't work on Windows.
2015-09-10 15:41:26 +02:00
Aymeric Augustin
710b4a7032
Avoided running more test processes than necessary.
...
This reduces the time spent cloning databases.
Thanks Tim for the suggestion.
2015-09-10 14:37:51 +02:00
Aymeric Augustin
33c7c2a557
Enabled parallel testing by default in runtests.py.
2015-09-10 13:34:05 +02:00
Aymeric Augustin
0bd58e0efb
Test parallelization isn't implemented on Oracle.
2015-09-09 23:03:51 +02:00
Aymeric Augustin
073ea9e852
Acknoweldeged a limitation of the parallel test runner.
...
Notably it will fail to report a Model.DoesNotExist exceptions because
the class itself isn't pickleable. (Django has specific code to make its
instances pickleable.)
2015-09-09 23:03:44 +02:00
Aymeric Augustin
326bc0955b
Allowed a port range for the liveserver by default.
...
This is required for running tests in parallel.
2015-09-09 23:01:16 +02:00
Aymeric Augustin
0586c061f0
Cloned databases for running tests in parallel.
2015-09-09 23:01:15 +02:00
Aymeric Augustin
cd9fcd4e80
Implemented a parallel test runner.
2015-09-09 23:01:10 +02:00
Daniel Hahler
acb833081d
Fixed #25372 -- Fixed autocompletion for options of non-argparse commands.
2015-09-09 14:51:41 -04:00
Bibhas
4283a03843
Fixed #25371 -- Added reverse_sql and reverse_code examples to docs.
2015-09-09 14:20:47 -04:00
Ola Sitarska
f2f8972def
Fixed #25135 -- Deprecated the contrib.admin allow_tags attribute.
...
Thanks Jaap Roes for the idea and initial patch.
2015-09-08 19:13:43 -04:00
Raphael Michel
1bbca7961c
Fixed #25350 -- Added alias --no-input for --noinput to management commands.
2015-09-08 08:41:03 -04:00
Ryan Hiebert
617eff41ac
Fixed #24857 -- Added "python -m django" entry point.
2015-09-07 19:54:32 -04:00
Tim Graham
862de0b254
Fixed #25356 -- Removed default_app_config from startapp template.
...
Also discouraged its use outside the intended use case.
2015-09-07 15:23:11 -04:00
Zan Anderle
f3dc173240
Fixed #24917 -- Made admindocs display model methods that take arguments.
2015-09-07 15:07:39 -04:00
elky
b929d2d09d
Fixed #25200 -- Updated tutorial screenshots for new admin theme.
2015-09-07 08:36:55 -04:00
Alasdair Nicol
19f98946f2
Fixed #25358 -- Improved variable name for question in tutorial.
2015-09-07 08:13:34 -04:00
Aymeric Augustin
e8bfc1c747
Stopped returning mirrors from setup_databases.
...
The return value of setup_databases is only used as an argument for
teardown_databases which doesn't need mirrors.
2015-09-06 09:28:16 +02:00
Aymeric Augustin
6d1110f2f0
Updated references to the TEST_* database settings.
...
They were removed in Django 1.9.
I could leave the reference to TEST_DEPENDENCIES in the 1.2.4 release
notes because the link points to the right location and the name was
accurate at the time.
2015-09-05 19:21:22 +02:00
Tim Graham
d06014db53
Removed some discussion of deprecated {% url %} behavior.
2015-09-05 11:55:58 -04:00
Maarten
fe58d96e50
Fixed #25355 -- Made two tweaks to docs/topics/db/aggregation.txt.
2015-09-05 10:19:38 -04:00
Joshua Kehn
ab26b65b2f
Fixed #25334 -- Provided a way to allow cross-origin unsafe requests over HTTPS.
...
Added the CSRF_TRUSTED_ORIGINS setting which contains a list of other
domains that are included during the CSRF Referer header verification
for secure (HTTPS) requests.
2015-09-05 09:19:57 -04:00
David Sanders
48c420d992
Added default value for default kwargs for QueryDict.
2015-09-05 08:20:41 -04:00
Tim Graham
2dc9ec5616
Fixed #24525 -- Fixed AssertionError in some complex queries.
...
Thanks Anssi Kääriäinen for providing the solution.
2015-09-05 07:51:17 -04:00
David Sanders
cc968b9c90
Added links to new security settings introduced in 1.8.
2015-09-04 12:55:32 -04:00
Tim Graham
e133b55943
Refs #25144 -- Revised deprecation timeline: migrations won't become compulsory.
2015-09-04 09:47:56 -04:00
Tim Graham
721d8e50ac
Fixed #25144 -- Allowed migrate to create tables for apps without migrations.
2015-09-04 09:47:30 -04:00
Maxime Lorant
c92cd22d02
Refs #25345 -- Updated links to code.google.com.
2015-09-04 08:14:21 -04:00
David Gibbons
526a413870
Updated static files howto title to include JavaScript.
2015-09-04 08:07:57 -04:00
Tim Graham
7c0850028f
Documented a limitation of Options.required_db_features.
2015-09-03 13:37:39 -04:00
Dražen Odobašić
5ab65ca5c9
Fixed #25326 -- Added namedtuple example for executing custom SQL.
2015-09-03 13:11:46 -04:00
Tim Graham
12083c5d47
Moved misplaced versionadded annotation.
2015-09-03 08:58:17 -04:00
Tim Graham
a8eb715b66
Refs #24152 -- Fixed typos in deprecated GeoQuerySet aggregate names.
2015-09-02 19:57:08 -04:00
Maxime Lorant
5153a3bfdc
Fixed #25331 -- Removed trailing blank lines in docstrings.
2015-08-31 17:37:21 -04:00
Tim Graham
123984ff66
Fixed #25289 -- Updated admin's jQuery to 2.1.4.
2015-08-31 09:39:43 -04:00
Tyson Clugg
73df1040a2
Cleaned up example migration files in docs
2015-08-31 22:15:05 +10:00
Tyson Clugg
e34226fc37
Fixed #25259 -- Added comments to header of generated migration files
2015-08-31 22:14:21 +10:00
David Sanders
7a98442f96
Clarified 404.html usage, excplicitly stated that it's used when DEBUG is False
...
Thanks to Keryn Knight, Curtis Maloney and Tim Graham for their reviews.
2015-08-31 14:39:31 +10:00
Aymeric Augustin
fe6ddb837d
Fixed #24704 -- Made the autoreloader survive SyntaxErrors.
...
With this change, it's expected to survive anything except errors
that make it impossible to import the settings. It's too complex
to fallback to a sensible behavior with a broken settings module.
Harcoding things about runserver in ManagementUtility.execute is
atrocious but it's the only way out of the chicken'n'egg problem:
the current implementation of the autoreloader primarily watches
imported Python modules -- and then a few other things that were
bolted on top of this design -- but we want it to kick in even if
the project contains import-time errors and django.setup() fails.
At some point we should throw away this code and replace it by an
off-the-shelf autoreloader that watches the working directory and
re-runs `django-admin runserver` whenever something changes.
2015-08-29 20:49:56 +02:00
Y3K
b649f68649
Fixed #25262 -- Removed the enable_comments field from FlatPageAdmin.
2015-08-29 08:55:50 -04:00
Sergey Kolosov
e75882332c
Fixed #17375 -- Changed makemessages to use xgettext with --files-from
...
Changed the way makemessages invokes xgettext from one call per
translatable file to one call per locale directory (using --files-from).
This allows to avoid https://savannah.gnu.org/bugs/index.php?35027 and,
as a positive side effect, speeds up localization build.
2015-08-28 15:41:58 -04:00
Tim Graham
01b2b0b654
Fixed #25318 -- Made SILENCED_SYSTEM_CHECKS suppress all messages.
...
Previously, messages of ERROR level or higher were printed to
the console.
2015-08-28 13:34:56 -04:00
Tim Graham
9607a04041
Fixed #25299 -- Fixed crash with ModelAdmin.list_display value that clashes with a model reverse accessor.
2015-08-28 08:46:26 -04:00
Tim Graham
22a791e608
Refs #20597 -- Fixed spelling of HiDPI.
2015-08-27 19:32:57 -04:00
elky
c32b61c6fd
Fixed #20597 -- Replaced admin GIF/PNG icons by SVG
2015-08-27 17:21:02 -04:00
Sergey Kolosov
22bb548900
Fixed #22634 -- Made the database-backed session backends more extensible.
...
Introduced an AbstractBaseSession model and hooks providing the option
of overriding the model class used by the session store and the session
store class used by the model.
2015-08-27 15:00:09 -04:00
Tim Graham
956df84a61
Removed historical note about session serialization.
2015-08-27 10:00:18 -04:00
Tim Graham
e8cbc2b322
Refs #2495 -- Documented that MySQL cannot have TextField(unique=True).
2015-08-27 09:29:13 -04:00
Alex Hill
7bec480fe2
Fixed #24201 -- Added order_with_respect_to support to GenericForeignKey.
2015-08-27 09:20:17 -04:00
Tim Graham
91ec1841f5
Added 'subtransactions' to spelling wordlist.
2015-08-26 08:20:27 -04:00
Tim Graham
ea47a052ba
Fixed #25311 -- Removed vague language about "partial commits" from docs.
2015-08-25 20:23:43 -04:00
David Sanders
7efdd40407
Updated PROJ.4 link to new GitHub wiki.
2015-08-25 09:57:04 -04:00
Tim Graham
2a1a085bf1
Fixed #25309 -- Corrected that ATOMIC_REQUESTS applies per view not per request.
2015-08-25 09:53:22 -04:00
Claude Paroz
9324935c3e
Fixed #25295 -- Restored 'no active translation' after language override
...
Thanks David Nelson Adamec for the report and Tim Graham for the review.
2015-08-25 10:32:10 +02:00
Maxime Lorant
4ce433e811
Fixed #25302 -- Prevented BrokenLinkEmailsMiddleware from reporting 404s when Referer = URL.
2015-08-24 19:35:49 -04:00
Tommy Beadle
d3fdaf907d
Fixed #23727 -- Inhibited the post_migrate signal when using serialized_rollback.
...
When using a TransactionTestCase with serialized_rollback=True,
after creating the database and running its migrations (along with
emitting the post_migrate signal), the contents of the database
are serialized to _test_serialized_contents.
After the first test case, _fixture_teardown() would flush the
tables but then the post_migrate signal would be emitted and new
rows (with new PKs) would be created in the django_content_type
table. Then in any subsequent test cases in a suite,
_fixture_setup() attempts to deserialize the content of
_test_serialized_contents, but these rows are identical to the
rows already in the database except for their PKs. This causes an
IntegrityError due to the unique constraint in the
django_content_type table.
This change made it so that in the above scenario the post_migrate
signal is not emitted after flushing the tables, since it will be
repopulated during fixture_setup().
2015-08-24 08:59:20 -04:00
Aymeric Augustin
491d01b7e9
Tweak some examples.
...
"Area man/woman" is confusing to people not familiar with the
conventions of American journalism (like me).
2015-08-22 20:25:42 +02:00
Aymeric Augustin
0eb846605e
Recommend relative imports within Django components.
...
django-developers thread:
https://groups.google.com/d/msg/django-developers/11XvmVdx58w/sFrF0pL8LTgJ
2015-08-22 19:58:44 +02:00
Tim Graham
26dcf739ea
Forwardported release note for refs #25040 .
2015-08-22 08:50:49 -04:00
Tim Graham
d3bc86ec11
Fixed #25284 -- Documented removal of implicit QuerySet __in lookups.
2015-08-21 11:04:22 -04:00
Tim Graham
6c6eb8a691
Refs #24914 -- Added docs for more auth mixin methods.
2015-08-20 17:57:47 -04:00
Tim Graham
333cbdcd2d
Fixed #24951 -- Fixed AssertionError in delete queries involving a foreign/primary key.
...
Thanks Anssi Kääriäinen for help.
2015-08-20 08:14:16 -04:00
Tim Graham
bda408f60b
Fixed #25153 -- Moved 'polls' first in tutorial's INSTALLED_APPS.
2015-08-19 18:59:42 -04:00
Marc
f9de197268
Recommended the JavaScript Cookie library instead of jQuery cookie.
...
jQuery cookie is no longer maintained in favor of the JavaScript
cookie library. This also removes the jQuery dependency.
2015-08-19 10:04:01 -04:00
Tim Graham
47201371d2
Refs #24451 -- Corrected Django version for {% cycle %} deprecation.
2015-08-19 08:37:27 -04:00
Markus Holtermann
f33607ce0b
Fixed style issues in testing docs
2015-08-19 12:18:10 +10:00
Tim Graham
84335e3d1f
Added stub release notes for 1.8.5.
2015-08-18 19:52:45 -04:00
Anton Strogonoff
20787b5c29
Used consistent capitalization and hyphenation of "class-based views" in docs.
2015-08-18 19:07:10 -04:00
Tim Graham
068a80d717
Added today's issue to the security archive.
2015-08-18 13:46:47 -04:00
Tim Graham
8cc41ce7a7
Fixed DoS possiblity in contrib.auth.views.logout()
...
Thanks Florian Apolloner and Carl Meyer for review.
This is a security fix.
2015-08-18 08:03:43 -04:00
Tim Graham
b0ab74dfca
Added stub release notes for security releases.
2015-08-18 08:03:39 -04:00
Anton Strogonoff
d35f184b20
Limited line length in docs/ref/contrib/messages.txt example.
2015-08-17 07:44:04 -04:00
Caio Ariede
dad8434d6f
Fixed #25180 -- Prevented varchar_patterns_ops and text_patterns_ops indexes for ArrayField.
2015-08-15 10:02:08 -04:00
Valentina Mukhamedzhanova
1f7b25c1a7
Fixed #24986 -- Added support for annotations in DISTINCT queries.
2015-08-15 08:23:32 -04:00
Tim Graham
5b5a27942b
Fixed #25268 -- Tweaked wording in docs/ref/forms/api.txt
2015-08-14 08:27:38 -04:00
Adam Brenecki
52a190b657
Fixed #24988 -- Documented passing a dictionary of ValidationErrors to ValidationError
2015-08-13 14:17:02 -04:00
Sambhav Satija
d0bd533043
Fixed #25254 -- Added JsonResponse json_dumps_params parameter.
2015-08-12 10:39:07 -04:00
Tim Graham
290145e661
Corrected indentation of JsonResponse docs.
2015-08-12 10:27:57 -04:00
Doug Beck
b7508896fb
Fixed #24257 -- Corrected i18n handling of percent signs.
...
Refactored tests to use a sample project.
Updated extraction:
* Removed special handling of single percent signs.
* When extracting messages from template text, doubled all percent signs
so they are not interpreted by gettext as string format flags. All
strings extracted by gettext, if containing a percent sign, will now
be labeled "#, python-format".
Updated translation:
* Used "%%" for "%" in template text before calling gettext.
* Updated {% trans %} rendering to restore "%" from "%%".
2015-08-12 10:23:34 -04:00
Tim Graham
d772d812cf
Updated memcached library links to point to PyPI.
2015-08-11 21:20:32 -04:00
Brendan Hayward
c9fb4f3c45
Fixed #25205 -- Removed doc references to deprecated GeoManager class.
2015-08-11 10:14:44 -04:00
Tim Graham
56ed80ac2a
Fixed typo in docs/ref/contrib/gis/geoquerysets.txt
2015-08-11 09:33:06 -04:00
Claude Paroz
f2e4c7aca4
Removed unnecessary comma in docs
2015-08-10 16:02:14 +02:00
Tim Graham
5980b05c1f
Fixed #25160 -- Moved unsaved model instance data loss check to Model.save()
...
This mostly reverts 5643a3b51b
and
81e1a35c36
.
Thanks Carl Meyer for review.
2015-08-10 08:51:32 -04:00
Tim Graham
787cc7aa84
Refs #25236 -- Discouraged use of ifequal/ifnotequal template tags.
2015-08-08 08:23:33 -04:00
Tim Graham
7080cef7bf
Corrected some inconsistent headings in docs/ref/templates/builtins.txt.
2015-08-08 08:23:32 -04:00
Claude Paroz
e9c5c39631
Updated various links in docs
2015-08-08 13:57:15 +02:00
Claude Paroz
64982cc2fb
Updated Wikipedia links to use https
2015-08-08 12:02:32 +02:00
Claude Paroz
18f3d4c1bd
Updated Transifex links in docs
2015-08-08 11:33:28 +02:00
mlavin
69db1c7455
Fixed #25231 -- Added recording of squashed migrations in the migrate command.
...
Ensured squashed migrations are recorded as applied when the
migrate command is run and all of the original migrations
have been previously applied.
2015-08-07 17:59:18 -04:00
Tim Graham
a7b7f27c05
Fixed #25233 -- Fixed HStoreField.has_changed() handling of initial values.
...
Thanks Simon Charette for review.
2015-08-07 13:26:17 -04:00
Caio Ariede
ec9004728e
Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql.
2015-08-07 09:33:17 -04:00
Tim Graham
16a8d01308
Fixed #25229 -- Clarified how an iterable works with @permission_required
2015-08-05 17:13:45 -04:00
Sergey Kolosov
244404227e
Fixed #22404 -- Added a view that exposes i18n catalog as a JSON
...
Added django.views.i18n.json_catalog() view, which returns a JSON
response containing translations, formats, and a plural expression
for the specified language.
2015-08-05 09:05:21 -04:00
Tim Graham
e8cd65f829
Fixed #25213 -- Discouraged use of QuerySet.extra()
...
Thanks Anssi Kääriäinen for the draft text and Simon Charette
for review.
2015-08-05 08:01:11 -04:00
Tim Graham
97fa7fe961
Fixed #25212 -- Documented the RawSQL expression.
2015-08-05 07:54:54 -04:00
Tim Graham
28cb272a72
Fixed #25224 -- Fixed typo in docs/ref/contrib/flatpages.txt
2015-08-04 14:45:15 -04:00
Alasdair Nicol
6d7a9d96fe
Fixed password_reset signature in docs
2015-08-04 13:54:32 -04:00
Caio Ariede
3862c568ac
Fixed #25136 -- Documented Count('X', distinct=True) in aggregate topic guide.
2015-08-04 10:46:04 -04:00
Matt Robenolt
4dcfbd7923
Fixed #25211 -- Added HttpRequest.get_port() and USE_X_FORWARDED_PORT setting.
2015-08-04 09:50:57 -04:00
Curtis Maloney
9f73009e98
Fixed #25215 -- Solved reference to forms.HStoreField in declaration of HStoreField
...
Correct test which was using the model field in a test form.
2015-08-04 19:15:22 +10:00
Tim Graham
a6acfc3183
Refs #17914 -- Discouraged using reverese() with callables.
2015-08-03 08:34:19 -04:00
Caio Ariede
98eb91171d
Fixed #25207 -- Misspelled word in documentation: dialogue
2015-08-01 19:17:35 -04:00
Matt Robenolt
514fee82a1
Removed obsolete note about sentry/raven not handling WSGI properly.
...
2.0.7 was released in 2012.
2015-08-01 19:10:41 -04:00
Rigel Di Scala
3bdaaf6777
Fixed #25146 -- Allowed method_decorator() to decorate classes.
2015-08-01 08:38:03 -04:00
Tim Graham
f93e7f5674
Fixed #24690 -- Added a warning about mutable defaults for ArrayField/JSONField.
2015-08-01 07:46:30 -04:00
Adam Chainz
0abb06930f
Fixed #25176 -- Prevented TestCase.setUpTestData() exception from leaking transaction.
2015-08-01 07:33:22 -04:00
Tim Graham
c3b66dafdd
Improved link to the supported versions section of the download page.
2015-07-31 12:25:37 -04:00
Flavio Curella
1e2362ca0f
Refs #25184 -- Started deprecation for contrib.gis.geoip.
2015-07-31 10:09:06 -04:00
Flavio Curella
7f0953ce1f
Fixed #25184 -- Added support for MaxMind GeoLite2 database format
2015-07-31 09:45:03 -04:00
Tim Graham
6bb4f07372
Clarified assertRaisesMessage() behavior with respect to the message.
2015-07-31 09:19:27 -04:00
Tim Graham
faa2a0f662
Fixed #25174 -- Moved some details of CheckMessage to the reference guide.
2015-07-31 08:21:34 -04:00
Tim Graham
70912e137d
Fixed #25168 -- Documented how to avoid foreign key constraint error after upgrading to 1.8.
2015-07-31 08:19:39 -04:00
Tim Graham
5d0961fdfc
Fixed #25202 -- Fixed typo in docs/topics/auth/customizing.txt
2015-07-31 07:33:38 -04:00
Alasdair Nicol
b792c4804b
Removed unnecessary F() from Func expressions docs
2015-07-31 01:40:35 +01:00
elky
35901e64b0
Fixed #24444 -- Updated contrib.admin to use django-flat-theme
2015-07-30 15:18:22 -04:00
Tim Graham
e176de2512
Fixed #25199 -- Fixed dead link to HTMLdoc.
2015-07-30 13:25:29 -04:00
Tim Graham
d27e0f04a6
Fixed #25190 -- Deprecated callable_obj parameter to assertRaisesMessage().
...
Thanks Aymeric Augustin for review.
2015-07-30 10:12:41 -04:00
Piper Merriam
537818af87
Fixed #25185 -- Added support for functools.partial serialization in migrations
2015-07-29 10:15:50 -04:00
Tim Graham
ae32f32498
Fixed #25178 -- Added DEFAULT_FROM_EMAIL to deployment checklist.
2015-07-28 09:44:08 -04:00
Simon Charette
6a46f23957
Refs #18556 -- Fixed a typo in the related manager add() method docs.
2015-07-27 22:50:13 -04:00
Tim Graham
adc0c4fbac
Fixed #18556 -- Allowed RelatedManager.add() to execute 1 query where possible.
...
Thanks Loic Bistuer for review.
2015-07-28 09:28:25 +07:00
Flavio Curella
c2e70f0265
Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField
2015-07-27 18:28:13 -04:00
Tim Graham
87d55081ea
Fixed #25159 -- Removed brackets from class/function/method signatures in docs.
...
Thanks hellbeast for the initial patch.
2015-07-27 10:32:47 -04:00
Akis Kesoglou
29465d438e
Fixed #25142 -- Added PermissionRequiredMixin.has_permission() to allow customization.
2015-07-27 10:23:56 -04:00
Marten Kenbeek
bc7923beff
Fixed #24127 -- Changed the default current_app to the current namespace.
...
Changed the url template tag to use request.resolver_match.namespace as a
default for the current_app argument if request.current_app is not set.
2015-07-27 09:14:48 -04:00
jorgecarleitao
7c642cafbb
Fixed typo in docs/ref/middleware.txt
2015-07-27 07:15:49 -04:00
Tim Graham
217f173be0
Fixed #25166 -- Clarified how auth permissions are created.
...
Thanks Baptiste Mispelon for report and review.
2015-07-25 09:30:54 -04:00
Tim Graham
e3d1f2422c
Fixed malformed Sphinx directives.
2015-07-25 06:37:51 -04:00
Alasdair Nicol
600fb7c51b
Fixed #25161 -- Encouraged users to install the latest release in docs
2015-07-24 13:36:08 -04:00
Claude Paroz
c296e55dc6
Fixed #22258 -- Added progress status for dumpdata when outputting to file
...
Thanks Gwildor Sok for the report and Tim Graham for the review.
2015-07-24 18:37:55 +02:00
Tim Graham
03aec35a12
Converted tabs to spaces in topics/auth/default.txt
2015-07-24 11:48:57 -04:00
Matt Johnson
e063ac2fae
Fixed #12768 -- Fixed QuerySet.raw() regression on FK with custom db_column.
2015-07-23 18:07:38 -04:00
Tim Graham
8eeb566aca
Fixed #25149 -- Replaced window.__admin_utc_offset__ with a data attribute.
2015-07-22 17:09:52 -04:00
James Bennett
5281f8b635
Fixed #25156 -- Mentioned django.setup() in the settings overview for standalone Django use.
2015-07-21 17:10:17 -04:00
Federico Capoano
59c279e5e5
Added PostgreSQL non-durable settings hint in docs.
...
Following discussion on django-developers:
https://groups.google.com/d/topic/django-developers/IkRgMxTTzPQ/discussion
2015-07-21 13:38:25 -04:00
Tim Graham
b60375d4bb
Fixed #25129 -- Made model instance defaults work with migrations (refs #24919 ).
2015-07-21 09:19:40 -04:00
lukasz.wojcik
927b30a6ab
Fixed #24126 -- Deprecated current_app parameter to auth views.
2015-07-21 08:26:41 -04:00
Tim Graham
5fd83db255
Normalized indentation and line lengths in docs/topics/auth/default.txt.
2015-07-21 08:11:28 -04:00
Claude Paroz
1da170a203
Fixed #25141 -- Diminished GDAL dependence during geojson serialization
...
Only require GDAL if contained geometries need coordinate transformations.
Thanks drepo for the report and Tim Graham for the review.
2015-07-20 20:22:29 +02:00
Tim Graham
f5e9d67907
Refs #16860 -- Moved password_changed() logic to AbstractBaseUser.
...
Thanks Carl Meyer for review.
2015-07-20 13:44:26 -04:00
Ali Vakilzade
ecf4ed246a
Fixed signature of ModelAdmin.get_paginator() in docs.
2015-07-20 08:07:31 -04:00
Edward Henderson
f8cc464452
Fixed #16501 -- Added an allow_unicode parameter to SlugField.
...
Thanks Flavio Curella and Berker Peksag for the initial patch.
2015-07-17 13:48:58 -04:00
Tim Graham
adffff79a3
Allowed installing closure with pip for admin JavaScript compression.
2015-07-17 13:22:34 -04:00
Konrad Świat
2f6bdab159
Fixed #25125 -- Updated docs on cookie naming conventions.
...
Thanks Tim Graham for the review and kezabelle for the report.
2015-07-17 07:57:01 -04:00
Claude Paroz
1ef4aeab40
Fixed #25078 -- Added support for disabled form fields
...
Thanks Keryn Knight and Tim Graham for the reviews.
2015-07-16 19:36:56 +02:00
Tim Graham
1fed8dd715
Fixed #25120 -- Deprecated egg template loader.
2015-07-16 09:32:42 -04:00
Rafał Selewońko
8e306967de
Fixed typo in docs/topics/i18n/translation.txt
2015-07-16 07:31:30 -04:00
Tim Graham
59c3a140eb
Refs #24219 -- Removed inaccurate sentence after move of SelectDateWidget.
2015-07-15 09:57:55 -04:00
Tim Graham
f46f1737aa
Fixed typo in SelectDateWidget docs.
2015-07-15 09:55:44 -04:00
rroskam
ed514caed2
Fixed #24966 -- Added deployment system check for empty ALLOWED_HOSTS.
2015-07-15 09:18:58 -04:00
Thomas Stephenson
035b0fa60d
Fixed #24716 -- Deprecated Field._get_val_from_obj()
...
The method duplicates the functionality of Field.value_from_object()
and has the additional downside of being a privately named public
API method.
2015-07-14 09:13:22 -04:00
Tim Graham
64f731e77d
Added 1.4.22 release notes.
2015-07-14 07:28:55 -04:00
Tim Graham
84bc4f6cdd
Fixed #25121 -- Added a warning that filtering sensitive information from error reporting isn't bulletproof
2015-07-14 07:12:21 -04:00
Vlastimil Zíma
8f8c54f70b
Fixed #25099 -- Cleaned up HttpRequest representations in error reporting.
2015-07-13 19:22:39 -04:00
Daniel Roseman
24620d71f2
Fixed #25079 -- Added warning if both TEMPLATES and TEMPLATE_* settings are defined.
...
Django ignores the value of the TEMPLATE_* settings if TEMPLATES is also
set, which is confusing for users following older tutorials. This change
adds a system check that warns if any of the TEMPLATE_* settings have
changed from their defaults but the TEMPLATES dict is also non-empty.
Removed the TEMPLATE_DIRS from the test settings file; this was marked
for removal in 1.10 but no tests fail if it is removed now.
2015-07-13 17:50:22 -04:00
Tim Graham
b49e3ab92c
Documented templates system check type.
2015-07-13 17:29:08 -04:00
Andrei Kulakov
db97a88495
Fixed #24375 -- Added Migration.initial attribute
...
The new attribute is checked when the `migrate --fake-initial` option
is used. initial will be set to True for all initial migrations (this
is particularly useful when initial migrations are split) as well as
for squashed migrations.
2015-07-13 15:57:40 -04:00
Razvan Andrei Ionescu
97bc875234
Fixed #25117 -- Added Romanian char map for Javascript slug generation
2015-07-13 13:31:12 -04:00
Tim Graham
276356b36d
Added 'bookmarklet' to spelling word list.
2015-07-13 08:48:56 -04:00
Ben Spaulding
83f6373030
Fixed #25116 -- Removed long-broken admindocs bookmarklets
...
These were broken back in commit 64e11a6
.
2015-07-13 08:18:58 -04:00
Chris McCollister
d62194a260
Fixed #24984 -- Added link to Jinja2 static tag instructions in staticfiles docs.
2015-07-13 07:38:18 -04:00
Alex Gaynor
4e9d5ba4b6
Updated where I live.
2015-07-12 09:33:20 -05:00
Matthew Madurski
0b02ce54cf
Fixed #25103 -- Corrected versionadded for FileResponse
2015-07-10 13:47:58 -04:00
Tim Graham
074706c64d
Added a link to running the unit tests to new contributors page.
2015-07-10 11:02:25 -04:00
Tim Graham
074a82f49b
Fixed #25082 -- Documented where to register system checks.
2015-07-10 10:37:25 -04:00
Nick Sweeting
f0857c09fb
Fixed #25083 -- Added SessionAuthenticationMiddleware to auth installation docs
2015-07-10 08:40:57 -04:00
Claude Paroz
2e05ef4e18
Added release note for the UUID serialization backport
...
Refs #25019 .
2015-07-10 09:00:19 +02:00
Claude Paroz
846cb6fef7
Added stub release notes for 1.8.4
2015-07-10 08:51:16 +02:00
Tim Graham
7b6d3104f2
Fixed #25048 -- Documented that runservers strips headers with underscores.
...
refs 316b8d4974
2015-07-09 09:10:27 -04:00
Tim Graham
3d650e80ad
Added today's security issues to the archive.
2015-07-08 17:41:48 -04:00
Shai Berger
17d3a6d804
Fixed catastrophic backtracking in URLValidator.
...
Thanks João Silva for reporting the problem and Tim Graham for finding the
problematic RE and for review.
This is a security fix; disclosure to follow shortly.
2015-07-08 15:23:03 -04:00
Tim Graham
014247ad19
Prevented newlines from being accepted in some validators.
...
This is a security fix; disclosure to follow shortly.
Thanks to Sjoerd Job Postmus for the report and draft patch.
2015-07-08 15:23:03 -04:00
Carl Meyer
df049ed77a
Fixed #19324 -- Avoided creating a session record when loading the session.
...
The session record is now only created if/when the session is modified. This
prevents a potential DoS via creation of many empty session records.
This is a security fix; disclosure to follow shortly.
2015-07-08 15:23:03 -04:00
Tim Graham
125eaa19b2
Added security release note stubs.
2015-07-08 15:23:03 -04:00
Tim Graham
bdfce4db21
Removed a confusing sentence in tutorial 5.
2015-07-08 15:11:40 -04:00
Luke Plant
f87e552d98
Corrected example code for get_query_set upgrade in 1.6 release notes
...
The conditional setting of `get_query_set` is required for correct behaviour
if running Django 1.8. The full gory details are here:
http://lukeplant.me.uk/blog/posts/handling-django%27s-get_query_set-rename-is-hard/
2015-07-08 10:58:07 +01:00
Chris Bainbridge
e5cfa394d7
Refs #23882 -- Added detection for moved files when using inotify polling
...
Commit 15f82c7
("used pyinotify as change detection system when
available") introduced a regression where editing a file in vim with
default settings (writebackup=auto) no longer causes the dev server
to be restarted. On a write, vim moves the monitored file to a backup
path and then creates a new file in the original. The new file is not
monitored as it has a different inode. Fixed this by also watching for
inotify events IN_DELETE_SELF and IN_MOVE_SELF.
2015-07-07 12:23:04 -04:00
David Wolever
0d71349773
Fixed #22804 -- Added warning for unsafe value of 'sep' in Signer
...
Thanks Jaap Roes for completing the patch.
2015-07-07 11:44:37 -04:00
Alexey Sveshnikov
bc98bc56a5
Fixed #25059 -- Allowed Punycode TLDs in URLValidator
2015-07-06 15:08:43 -04:00
Tim Graham
a871cf422d
Fixed #25051 -- Clarified return type of {% now %} tag.
2015-07-04 08:46:49 -04:00
Sylvain Fankhauser
f5d5867a4a
Fixed #24877 -- Added middleware handling of response.render() errors.
2015-07-03 12:06:40 -04:00
Rigel Di Scala
b91a2a499f
Fixed #23190 -- Made Paginator.page_range an iterator
2015-07-03 11:34:34 -04:00
Luke
fd869cceac
Fixed mistake in Model.from_db() example.
2015-07-03 09:08:22 -04:00
Tim Graham
0e3193a386
Updated mock note since Django no longer works with Python 3.2.
2015-07-03 08:24:58 -04:00
Tim Graham
ca58181bac
Fixed #25056 -- Documented minimum version of jinja2 for testing.
2015-07-03 08:20:53 -04:00
Jan Pazdziora
a570701e02
Fixed #25029 -- Added PersistentRemoteUserMiddleware for login-page-only external authentication.
2015-07-02 17:38:10 -04:00
William Schwartz
9a5cfa05a0
Fixed #24997 -- Enabled bulk_create() on proxy models
2015-07-02 13:53:51 -04:00
Curtis
11cac1bd8e
Fixed #4960 -- Added "strip" option to CharField
2015-07-01 17:47:05 -04:00
Jon Dufresne
b44dee16e6
Fixed #20916 -- Added Client.force_login() to bypass authentication.
2015-07-01 13:01:08 -04:00
Matthew Somerville
839edcebb3
Fixed #21695 -- Added asvar option to blocktrans.
...
Thanks Bojan Mihelac for the initial patch.
2015-07-01 10:03:00 -04:00
Claude Paroz
3d7a713156
Fixed typo in writing migrations docs
2015-07-01 09:16:17 +02:00
Trey Hunner
2d0dead224
DEP 0003 -- Added JavaScript unit tests.
...
Setup QUnit, added tests, and measured test coverage.
Thanks to Nick Sanford for the initial tests.
2015-06-30 21:04:16 -04:00
Jean-Michel Vourgère
b64c0d4d61
Fixed #23658 -- Provided the password to PostgreSQL dbshell command
...
The password from settings.py is written in a temporary .pgpass file
file whose name is given to psql using the PGPASSFILE environment
variable.
2015-06-30 18:21:51 -04:00
Shai Berger
eecd42ea7d
Removed datetime_cast_sql, which is never overridden or used anywhere in Django.
...
Thanks Tim Graham for review.
2015-07-01 00:43:45 +03:00
Andreas Pelme
00a1d4d042
Fixed #21803 -- Added support for post-commit callbacks
...
Made it possible to register and run callbacks after a database
transaction is committed with the `transaction.on_commit()` function.
This patch is heavily based on Carl Meyers django-transaction-hooks
<https://django-transaction-hooks.readthedocs.org/ >. Thanks to
Aymeric Augustin, Carl Meyer, and Tim Graham for review and feedback.
2015-06-30 14:51:00 -04:00
Tim Graham
9f0d67137c
Fixed #25038 -- Reverted incorrect documentation about inspectdb introspecting views.
...
This reverts commit bd691f4586
(refs #24177 ).
2015-06-30 14:23:29 -04:00
Luke Plant
aef2a0ec59
Fixed #25018 -- Changed simple_tag to apply conditional_escape() to its output.
...
This is a security hardening fix to help prevent XSS (and incorrect HTML)
for the common use case of simple_tag.
Thanks to Tim Graham for the review.
2015-06-29 08:16:19 -04:00
Trey Hunner
ec4f219ecb
Fixed #22463 -- Added code style guide and JavaScript linting (EditorConfig and ESLint)
2015-06-27 16:36:26 -04:00
Tim Graham
f59667c121
Fixed #25033 -- Added context_processors.auth to documented admin dependencies.
2015-06-27 14:27:03 -04:00
Noam
e291fc4757
Fixed #25031 -- Fixed a regression in the unordered_list template filter.
2015-06-27 09:37:41 -04:00
sujayskumar
2e70bf3785
Fixed #25017 -- Allowed customizing the DISALLOWED_USER_AGENTS response
2015-06-27 08:46:23 -04:00
Jason Hoos
a50b66da30
Fixed #24958 -- Fixed inline forms using UUID-PK parents with auto-PK children.
2015-06-26 09:09:09 -04:00
薛丞宏
d3e12c9017
Fixed #25016 -- Reallowed non-ASCII values for ForeignKey.related_name on Python 3.
2015-06-26 08:30:05 -04:00
Marten Kenbeek
6364df6887
Refs #24127 -- Added documentation for HttpRequest.current_app.
2015-06-25 19:54:50 +02:00
Tim Graham
aed437d567
Updated release process for new release schedule.
2015-06-25 11:36:17 -04:00
Tim Graham
aaacaeb096
Renamed RemovedInDjangoXYWarnings for new roadmap.
...
Forwardport of ae1d663b79
from stable/1.8.x plus more.
2015-06-24 16:08:20 -04:00
Daniel Wiesmann
c078021555
Refs #24840 -- Added GDALRaster Warp and transform methods
...
Thanks to Tim Graham for the review.
2015-06-24 18:31:22 +02:00
Tim Graham
c45fbd060a
Added white-space: pre-wrap; to docs code blocks to match docs.dp.com.
2015-06-22 15:56:06 -04:00
Wim Feijen
514b69cb9e
Updated indentation of example template in docs/topics/i18n/translation.txt.
2015-06-22 15:42:09 -04:00
Ola Sitarska
f1635ba433
Added Ola Sitarska to the team page.
2015-06-22 15:30:20 -04:00
Tim Graham
5ae0dd6abf
Fixed #25001 -- Doc'd caveat about collectstatic and removing INSTALLED_APPS.
...
Thanks aRkadeFR for the initial patch.
2015-06-22 12:36:38 -04:00
Tim Graham
256aebbdaa
Simplified wording of Python support policy.
2015-06-22 12:07:53 -04:00
Bipin Suresh
34047b23e2
Fixed #24983 -- Clarified contrib.sites Site.domain is fully qualified.
2015-06-22 09:39:54 -04:00
Tim Graham
7f155a0703
Refs #25006 -- Added a '6 p.m.' option to the admin's time picker.
2015-06-22 07:24:57 -04:00
Rolo
e7b4bd48c7
Fixed #24970 -- Added --managers and --admins options to the sendtestemail management command.
2015-06-22 07:21:26 -04:00
Claude Paroz
1c90a3dcca
Fixed #24985 -- Added note about possible invalid feed content
...
Thanks Michael Wood for the report and Tim Graham for the review.
2015-06-21 20:53:01 +02:00
Tim Graham
4a66564888
Fixed #25010 -- Documented APP_DIRS default in startproject's settings.py
2015-06-20 19:28:17 -04:00
Marten Kenbeek
738c0de300
Fixed #14200 -- Added a fallback if HttpRequest.urlconf is None.
...
Made BaseHandler fall back to settings.ROOT_URLCONF if
HttpRequest.urlconf is set to None, rather than raising
ImproperlyConfigured.
2015-06-20 18:52:33 -04:00
Claude Paroz
ffdf507ec0
Added GDAL 2.0 support
2015-06-20 14:40:50 +02:00
Claude Paroz
9368f51e12
Fixed #20197 -- Made XML serializer fail loudly when outputting unserializable chars
...
Thanks Tim Graham for the review.
2015-06-19 20:54:46 +02:00
Daniel Wiesmann
b769bbd4f6
Fixed #23804 -- Added RasterField for PostGIS.
...
Thanks to Tim Graham and Claude Paroz for the reviews and patches.
2015-06-19 14:36:43 -04:00
Markus Holtermann
d3d66d4722
Fixed #24940 -- Made model managers hashable
...
Thanks Federico Jaramillo Martínez for the report and Tim Graham for the
test and review.
2015-06-19 19:02:01 +02:00
Carl Meyer
200e06a5ee
Merge pull request #4890 from oinopion/add-tomek-to-team
...
Added Tomek Paczkowski bio to the team page
2015-06-19 11:01:31 -06:00
Tomek Paczkowski
e64ed92b44
Added Tomek Paczkowski bio to the team page
2015-06-19 17:20:54 +01:00
johannes.linke
27c839e0fc
Fixed #24881 -- Clarified Meta.order_with_respect_to documentation
2015-06-19 07:01:54 -04:00
Carl Meyer
06747ee790
Tweak my bio.
2015-06-18 10:30:25 -06:00
Nick Pope
b3d5dc6932
Fixed #24834 -- Fixed get_current_site() when Host header contains port.
...
When the Host header contains a port, looking up the Site record fails
as the host will never match the domain.
2015-06-18 10:18:12 -04:00
Tim Graham
7f1168e387
Removed support for Python 3.3.
2015-06-18 08:36:50 -04:00
Markus Holtermann
e5cb4e1411
Fixed #24914 -- Added authentication mixins for CBVs
...
Added the mixins LoginRequiredMixin, PermissionRequiredMixin and
UserPassesTestMixin to contrib.auth as counterparts to the respective
view decorators.
The authentication mixins UserPassesTestMixin, LoginRequiredMixin and
PermissionRequiredMixin have been inspired by django-braces
<https://github.com/brack3t/django-braces/ >
Thanks Raphael Michel for the initial patch, tests and docs on the PR
and Ana Balica, Kenneth Love, Marc Tamlyn, and Tim Graham for the
review.
2015-06-17 23:19:10 +02:00
ana-balica
2f615b10e6
Fixed #24829 -- Allowed use of TemplateResponse in view error handlers.
2015-06-17 17:11:50 -04:00
Tim Graham
ebd183a18c
Fixed outdated Python version support info in docs/topics/install.txt
2015-06-17 11:27:25 -04:00
Tim Graham
58665dded0
Removed usage of string-based url() in auth docs.
2015-06-17 09:45:03 -04:00
Andriy Sokolovskiy
cf6ce279c7
Fixed #24948 -- Fixed crash when uploading bitmap images in forms.ImageField
2015-06-16 14:37:58 -04:00
Tim Graham
fbc618c13c
Refs #24987 -- Documented that Client.login() rejects inactive users.
2015-06-16 12:46:23 -04:00
Mounir Messelmeni
e6dd7f995a
Fixed #24971 -- Made startapp generate an apps.py
2015-06-16 07:08:04 -04:00
Markus Amalthea Magnuson
fb1ba4d63e
Fixed #24943 -- Updated contributing tutorial to use virtualenv
2015-06-15 18:38:16 -04:00
Adam Brenecki
65296b3be3
Fixed #24972 -- Fixed removing unique_together indexes on MySQL.
2015-06-15 17:28:13 -04:00
Adam Chainz
d34d39ade7
Fixed #24894 -- Added contrib.postgres.functions.TransactionNow
2015-06-15 14:03:17 -04:00
Tim Graham
4b600ed244
Removed django.utils.functional.total_ordering()
2015-06-15 13:15:24 -04:00
Tim Graham
ccfb5c7408
Removed obsolete literals_to_xrefs.py script.
2015-06-15 10:22:18 -04:00
Brian King
bfb5b7150f
Fixed #24912 -- Fixed prefetch_related failure for UUIDField primary keys
...
This resolves a problem on databases besides PostgreSQL when using
prefetch_related with a source model that uses a UUID primary key.
2015-06-15 09:37:38 -04:00
Moritz Sichert
296919e7a5
Fixed #24965 -- Made LiveServerTestCase.live_server_url accessible from class
2015-06-12 17:44:54 -04:00
Carson Gee
e93e0c03b2
Fixed #24963 -- Added File.seekable() on Python 3.
2015-06-12 10:17:21 -04:00
Tim Graham
b34d16b78d
Added ALLOWED_HOSTS and SERVER_EMAIL details to deployment checklist.
2015-06-11 13:41:24 -04:00
Nick Smith
b9bf61ce61
Used PEP 8 style indentation in forms docs.
2015-06-11 12:21:53 -04:00
Tim Graham
55b3bd8468
Refs #16860 -- Minor edits and fixes to password validation.
2015-06-10 07:41:01 -04:00
Rivo Laks
a0047c6242
Fixed #24769 -- Cast optparse verbosity argument to an integer for better backwards compatibility.
...
Using `BaseCommand.options_list` makes Django use the legacy optparse
parser, which does not set the verbosity attribute correctly. Now the
verbosity argument is always cast to int. Regression in 8568638
(#19973 ).
Initial report and patch from blueyed.
2015-06-09 19:03:23 -04:00
Tim Graham
90c59db7a3
Forwardported release notes for refs #24903 .
2015-06-09 17:57:21 -04:00
Daniel Roseman
fd0949181f
Fixed #24961 -- Added links to all auth docs pages from index.
2015-06-09 12:41:39 -04:00
argaen
1725d00991
Fixed import in docs/ref/contrib/syndication.txt
2015-06-09 12:36:34 -04:00
Matt Deacalion Stevens
77f3d7adb1
Clarified the default form widgets for model number fields in docs
2015-06-09 12:33:01 -04:00
Nik Nyby
f67127e0af
Fixed typos in docs/topics/python3.txt
2015-06-09 10:36:46 -04:00
Tim Graham
9f825b9e28
Fixed #24956 -- Fixed typo in docs/ref/forms/widgets.txt
2015-06-08 15:19:16 -04:00
Marten Kenbeek
1e82094f1b
Fixed #21927 -- Made application and instance namespaces more distinct.
...
Made URL application namespaces be set in the included URLconf and
instance namespaces in the call to include(). Deprecated other ways
to set application and instance namespaces.
2015-06-08 15:12:20 -04:00
Raphael Michel
39937de7e6
Fixed #24929 -- Allowed permission_required decorator to take any iterable
2015-06-08 13:44:39 -04:00
Marissa Zhou
8b1f39a727
Fixed #24796 -- Added a hint on placement of SecurityMiddleware in MIDDLEWARE_CLASSES.
...
Also moved it in the project template.
2015-06-08 12:32:38 -04:00
Alasdair Nicol
1f5b067710
Fixed #24952 -- Fixed example SQL in Func() expressions docs
2015-06-08 15:14:15 +01:00
Trey Hunner
788071e22d
Moved jQuery to a vendor/jquery subdirectory.
2015-06-07 22:23:42 +02:00
Erik Romijn
1daae25bdc
Fixed #16860 -- Added password validation to django.contrib.auth.
2015-06-07 19:31:20 +02:00
David Bannon
f4416b1a8b
Fixed #24915 -- Added stricter session key validation
...
Changed _session_key attribute to a property and implemented basic
validation in the setter. The session key must be 'truthy' and
at least 8 characters long. Otherwise, the value is set to None.
2015-06-06 20:04:20 -04:00
Sergei Maertens
eaf4d8c0d8
Fixed #24922 -- Added system check for templates setting
...
If `'loaders'` is present in the `TEMPLATES` options together with
`APP_DIRS` set to `True`, the template engine raises an exception. This
conflict is now detected by the system check templates.E001.
2015-06-06 19:40:26 -04:00
Marten Kenbeek
bc77eb6d08
Fixed #24906 -- Fixed ResolverMatch.app_name for nested namespaces.
...
Set ResolverMatch.app_name to the full path of nested application
namespaces.
2015-06-06 10:44:43 -04:00
Alasdair Nicol
1ea87c8c79
Fixed #24910 -- Added createsuperuser support for non-unique USERNAME_FIELDs
...
Clarified docs to say that a non-unique USERNAME_FIELD is permissable
as long as the custom auth backend can support it.
2015-06-06 09:33:02 -04:00
Matthew Somerville
a391b17ad2
Fixed #23516 -- Added caching of include tag Template objects
...
This also speeds up for loops that render the same template
multiple times.
2015-06-06 09:25:11 -04:00
Andriy Sokolovskiy
08232ef84d
Fixed #24744 - Fixed relabeled_clone for the Transform
2015-06-06 09:04:53 -04:00
Mark Henwood
dee1bcd08a
Fixed #24882 -- Documented Migration.run_before
2015-06-06 09:00:04 -04:00
Marc Tamlyn
d58816bd6b
Merge pull request #4818 from dracos/24937-ranging-to-victory
...
Fixed #24937 -- fix serialization of Date(Time)RangeField.
2015-06-06 13:41:00 +01:00
Markus Amalthea Magnuson
3fd754f12d
Fixed #24907 -- Updated contributing tutorial with a more recent example ticket.
2015-06-06 08:36:50 -04:00
Matthew Somerville
2926559cce
Fixed #24937 -- fix serialization of Date(Time)RangeField.
...
Use the DjangoJSONEncoder so that datetime and date are encoded
appropriately.
2015-06-05 22:01:42 +01:00
Mark Lavin
541f4ea546
Fixed #24924 -- Join promotion for multiple Case expressions
2015-06-05 12:22:43 -04:00
Tim Graham
6b41834855
Minor edits to Greatest/Least docs; refs #24767 .
2015-06-05 11:40:10 -04:00
Andriy Sokolovskiy
286d0e6ab1
Refs #24833 -- Forwardported some of "Fixed Case expressions with exclude()."
...
Partial forwardport of 469f1e362b
from stable/1.8.x
as the issue was already fixed in master.
2015-06-05 11:21:31 -04:00
Yamila Moreno
cbe4efcbc1
Fixed #22571 -- Added clarification about auto_now_add=True
2015-06-05 09:56:02 -04:00
Tim Graham
2fbea621e6
Capitalized "Python" in docs.
2015-06-05 08:24:53 -04:00
Russell Keith-Magee
5c35b4a8c9
Added release notes for feature added in fe21fb81
2015-06-05 11:42:58 +01:00
Ian Foote
14dead04ac
Fixed #24925 -- Document using Coalesce on MySQL
...
Add warning for using Coalesce with python values on MySQL and document
workaround.
2015-06-05 11:18:58 +01:00
Ian Foote
4ab53a558a
Fixed #24767 -- Added Greatest and Least expressions
...
Greatest and Least are row-level Function versions of Min and Max.
2015-06-05 11:15:33 +01:00
Russell Keith-Magee
fe21fb810a
Merge pull request #4757 from sergei-maertens/ticket_18166
...
Fixed #18166 -- Added ability to pass kwargs to the form constructor in a formset.
2015-06-05 11:10:28 +01:00
Yamila Moreno
f954c51720
Fixed #24926 -- Removed outdated information from deployment
2015-06-05 12:03:29 +02:00
Matthew Somerville
2dc93bb10a
Fixed #22316 -- Added time filters to TimeField on SQLite.
...
This was implemented for non-SQLite backends in 1.7 (as a
side effect of #16187 ).
2015-06-04 22:27:13 -04:00
Raphael Michel
6700c90935
Fixed #19210 -- Added leap year support to django.utils.timesince()
2015-06-04 21:36:12 -04:00
Loek van Gent
0207bdd2d4
Fixed #24474 -- Allowed configuring the admin's empty change list value.
2015-06-04 21:06:26 -04:00
Matthew Somerville
40f0a84cb1
Fixed #24159 -- Made compilemessages run across all apps.
...
Updated the command to match the documentation, which states it
runs over all .po files.
2015-06-04 21:02:02 -04:00
Marc Tamlyn
7bda2d8ebc
Fixed #24837 -- field__contained_by=Range
...
Provide `contained_by` lookups for the equivalent single valued fields
related to the range field types. This acts as the opposite direction to
rangefield__contains.
With thanks to schinckel for the idea and initial tests.
2015-06-04 19:29:59 +01:00
Alasdair Nicol
5c98223f39
Fixed #24191 -- Documented Form.changed_data
...
Thanks rhertzog and Björn Påhlsson for the suggestion.
2015-06-04 13:51:26 -04:00
Raphael Michel
5c125f63f7
Fixed #24728 -- Renamed mime_type to content_type for syndication feeds
...
Renamed the mime_type properties of RssFeed and Atom1Feed to
content_type and start deprecation for the old names.
2015-06-04 13:24:18 -04:00
Raphael Michel
3e9b5bfd9c
Fixed #7060 -- Added a note about race conditions to the tutorial
2015-06-04 09:40:59 -04:00
Sergei Maertens
238e2ac369
Fixed #18166 -- Added form_kwargs support to formsets.
...
By specifying form_kwargs when instantiating the formset, or overriding
the `get_form_kwargs` method on a formset class, you can pass extra
keyword arguments to the underlying `Form` instances.
Includes tests and documentation update.
2015-06-04 15:13:55 +02:00
Steadman
dfdcb3ca22
Improved wording in writing documentation docs.
2015-06-04 11:58:32 +01:00
Edin Sarajlic
40f2325df6
Added migrations directory to file structure in tutorial
2015-06-04 10:59:36 +02:00
Carl Meyer
492537ac18
Fixed #24628 -- Fixed applied status for squashed migrations.
2015-06-02 16:15:13 -06:00
Adam Chainz
23048d186c
Fixed #24866 -- Added Now() database function
2015-06-02 17:59:01 -04:00
Tomáš Ehrlich
002b3d87b5
Fixed #24230 -- Added translated language name for i18n template tag/filter.
2015-06-02 16:04:01 -04:00
Tim Graham
9ca0961b8a
Added headings to i18n template tags and filters.
2015-06-02 15:51:00 -04:00
Carl Meyer
84522c0d16
Fixed #24895 -- Fixed loading a pair of squashed migrations with a dependency.
2015-06-02 12:07:54 -06:00
zauddelig
262d4db8c4
Fixed #24897 -- Allowed using choices longer than 1 day with DurationField
2015-06-02 12:39:34 -04:00
Andriy Sokolovskiy
2913d6b77d
Fixed #24831 -- Fixed pickling queryset with prefetch_related() after deleting objects.
2015-06-02 09:54:53 -04:00
Tim Graham
e1e6399c2c
Fixed #24893 -- Fixed lack of unique constraint when changing a field from primary_key=True to unique=True
2015-06-02 09:25:47 -04:00
Tim Graham
5ab8680983
Fixed #24892 -- Fixed quoting of SQL when renaming a field to AutoField in PostgreSQL
2015-06-02 09:13:55 -04:00
Simeon J Morgan
0b5fb8e72c
Fixed #24896 -- Doc'd clickjacking protection doesn't overwrite X-Frame-Options header.
2015-06-02 09:01:38 -04:00
Jon Dufresne
44f3ee7716
Fixed #9596 -- Added date transform for DateTimeField.
2015-06-02 08:49:10 -04:00
Maximiliano
bf07ba523a
Simplified wording in QuerySet.update() docs.
2015-06-01 09:42:23 -04:00
Przemysław Suliga
d29ed3f355
Fixed #24880 -- Added more explicit docs on select_for_update() on SQLite.
2015-06-01 08:53:12 -04:00
Tim Graham
c954931abd
Refs #24811 -- Fixed syntax error in CREATE EXTENSION example query.
2015-05-31 06:24:08 -04:00
Marc Tamlyn
33ea472f69
Fixed #24604 -- Added JSONField to contrib.postgres.
2015-05-30 23:10:30 +01:00
Marc Tamlyn
74fe4428e5
Add HasAnyKeys lookup for HStoreField.
2015-05-30 21:39:45 +01:00
Curtis
c005a6620e
Optimise the rest of the PNGs in docs
2015-05-29 15:22:40 +10:00
Curtis
44eef25463
Optimise tutorial images
2015-05-29 14:56:38 +10:00
João Luiz Lorencetti
3653466bdf
Fixed #24732 -- Reordered tutorial to cover basics before bells and whistles.
2015-05-28 14:07:39 -04:00
Tim Graham
ad0f0daf8c
Fixed #24851 -- Fixed crash with reverse one-to-one relation in ModelAdmin.list_display
...
Forwardport of 2456276b02
from stable/1.8.x
2015-05-28 10:52:50 -04:00
Andriy Sokolovskiy
80ad5472ce
Fixed #24817 -- Prevented loss of null info in MySQL field renaming.
2015-05-28 10:07:52 -04:00
Paweł Marczewski
300e8baf94
Fixed #24847 -- Prevented items set on a RequestContext from being lost.
2015-05-27 10:04:57 -04:00
Tim Graham
70be31bba7
Fixed #24836 -- Made force_text() resolve lazy objects.
2015-05-27 09:48:53 -04:00
Kevin Marsh
10945ebeb8
Removed unused import in example code in docs/topics/auth/default.txt
2015-05-27 13:26:20 +01:00
I am Clinton
14f20c1fdc
Fixed typos in docs/ref/forms/widgets.txt
2015-05-26 10:47:37 -04:00
Tim Graham
f4cb350c79
Added release notes for refs #24844 .
2015-05-25 21:03:41 -04:00
Paweł Marczewski
801a84ae32
Fixed #24835 -- Fixed QuerySet.exists() after an annotation with Count()
...
QuerySet.exists() incorrectly handled query.group_by = True
case (grouping by all select fields), causing GROUP BY
expressions to be wiped along with select fields.
2015-05-25 20:46:20 -04:00
Paweł Marczewski
4df7e8483b
Fixed #24788 -- Allowed Forms to specify a prefix at the class level.
2015-05-25 20:23:31 -04:00
Marten Kenbeek
d73176a842
Fixed #24848 -- Fixed ValueError for faulty migrations module.
...
Added apps to unmigrated apps if the migrations module is a file
or a folder missing __init__.py.
Thanks to Ernest0x for the bug report.
2015-05-25 13:47:50 -04:00
I am Clinton
73b5b0b4a5
Minor edits to docs/ref/forms/validation.txt
2015-05-25 13:19:21 -04:00
Villiers Strauss
614bec41b5
Fixed #24841 -- Made BaseRangeField.prepare_value() call base_field's prepare_value()
2015-05-25 12:06:55 -04:00
I am Clinton
a6b77abff7
Fixed typos in docs/ref/forms/fields.txt
2015-05-25 10:48:30 -04:00
Andy McKay
4525a0c466
Fixed #24773 -- Added a json() method on test client responses.
2015-05-25 10:42:30 -04:00
Tim Graham
46ce72e8d2
Added oss-security@lists.openwall.com to security release announcements.
2015-05-25 08:31:51 -04:00
I am Clinton
0b0bb6100d
Fixed typos in HTTP decorator docs.
2015-05-25 07:38:08 -04:00
Tim Graham
9ef2615d49
Fixed #24811 -- Added details on installing PostgreSQL extensions.
2015-05-23 15:38:30 -04:00
Alexander Sosnovskiy
04e8d890ae
Fixed #16891 -- Made Model/QuerySet.delete() return the number of deleted objects.
2015-05-22 13:27:16 -04:00
I am Clinton
9c8a2ab81d
Fixed mistakes in docs/topics/forms/formsets.txt examples.
2015-05-22 11:29:10 -04:00
Chris Schur
70faaccc3e
Fixed settings docs to match list/tuple changes in #24149 .
2015-05-22 09:40:55 -04:00
Tim Graham
e11a08ee15
Fixed #24839 -- Removed references to deprecated contrib.webdesign.
2015-05-22 09:39:14 -04:00
Tim Graham
00d763a4fb
Fixed typo in docs/topics/auth/default.txt
2015-05-22 06:48:59 -04:00
Laurent Peuch
21efb5eb74
Enhanced registration/login.html example template.
2015-05-21 20:45:51 -04:00
I am Clinton
32f0c8f796
Cosmetic edits and minor fixes to docs/ref/contrib/admin/index.txt
2015-05-21 20:23:26 -04:00
Andrei Kulakov
fc3409b093
Fixed #24813 -- Documented {% include %} debug behavior variance
2015-05-21 19:51:41 -04:00
Tim Graham
016d8cfbe2
Removed obsolete distros@vs.openwall.org security notification.
2015-05-21 19:22:58 -04:00
garwoodpr
99ec80f84a
Cosmetic edits and minor corrections to docs/ref/django-admin.txt.
2015-05-21 19:19:57 -04:00
garwoodpr
5edf25bddd
Cosmetic edits and minor corrections to docs/ref/settings.txt.
2015-05-21 18:58:41 -04:00
Preston Timmons
655f524915
Fixed #17085 , #24783 -- Refactored template library registration.
...
* Converted the ``libraries`` and ``builtins`` globals of
``django.template.base`` into properties of the Engine class.
* Added a public API for explicit registration of libraries and builtins.
2015-05-21 09:12:06 -05:00
Tim Graham
7b8008a078
Added stub release notes for 1.8.3.
2015-05-20 14:17:59 -04:00
Tim Graham
c940940fe4
Added today's security issue to archive.
2015-05-20 14:04:56 -04:00
Tim Graham
ebe994a42c
Added release date for 1.8.2.
2015-05-20 13:48:06 -04:00
Tim Graham
088579638b
Fixed incorrect session.flush() in cached_db session backend.
...
This is a security fix; disclosure to follow shortly.
Thanks Sam Cooke for the report and draft patch.
2015-05-20 13:48:06 -04:00
Simon Charette
c15b0c2792
Fixed #24652 -- Disallowed query execution in SimpleTestCase subclasses.
...
Thanks to Tim and Anssi for the review.
2015-05-20 12:50:41 -04:00
Anssi Kääriäinen
bc87061a3c
Fixed #24705 -- Fixed negated Q objects in expressions.
...
Avoided split_exclude() for Q when used as an expression.
2015-05-20 09:41:04 -04:00
latyas(懒)
8b106cfaa0
Fixed typo in docs/ref/contrib/admin/index.txt
2015-05-20 08:13:56 -04:00
Tim Graham
fb94e7b8cf
Fixed #24784 -- Fixed visibility regression in admin's FK widget.
2015-05-19 13:01:48 -04:00
I am Clinton
f3b51f5193
Made minor edits to docs/intro/tutorial01.text
2015-05-19 12:32:23 -04:00
Claude Paroz
1046c8afec
Fixed #24739 -- Documented translation fallback change
...
Refs #24503 .
2015-05-18 18:40:37 +02:00
Tim Graham
a0175724b0
Added docs for assertRaisesMessage as context manager.
2015-05-18 10:04:18 -04:00
I am Clinton
e4f0e5a981
Fixed typos in docs/ref/request-response.txt
2015-05-18 09:45:33 -04:00
Tim Graham
307acc745a
Fixed #24630 -- Clarified docs about RunPython transactions.
...
Thanks Markus Holtermann for review.
2015-05-17 18:50:18 -04:00
Tim Graham
fc1eea59c0
Fixed typo in docs/topics/http/sessions.txt
2015-05-17 18:35:14 -04:00
Aymeric Augustin
da2c6959c8
Dropped the needs_datetime_string_cast feature.
...
It has been superseded by the converter infrastructure.
2015-05-17 10:23:13 +02:00
Aymeric Augustin
ed83881e64
Fixed #23820 -- Supported per-database time zone.
...
The primary use case is to interact with a third-party database (not
primarily managed by Django) that doesn't support time zones and where
datetimes are stored in local time when USE_TZ is True.
Configuring a PostgreSQL database with the TIME_ZONE option while USE_TZ
is False used to result in silent data corruption. Now this is an error.
2015-05-17 09:40:28 +02:00
Aymeric Augustin
54026f1e8d
Renamed value_to_db_xxx to adapt_xxxfield_value.
...
This mirrors convert_xxxfield_value nicely, taking advantage of the
adapter/converter terminology which is commonly used by DB-API modules.
2015-05-17 09:39:34 +02:00
Aymeric Augustin
d9521f66b1
Removed global timezone-aware datetime adapters.
...
Refs #23820 .
Fixed #19738 .
Refs #17755 . In order not to introduce a regression for raw queries,
parameters are passed through the connection.ops.value_to_db_* methods,
depending on their type.
2015-05-17 09:38:48 +02:00
Aymeric Augustin
ec186572e6
Removed global timezone-aware datetime converters.
...
Refs #23820 .
2015-05-17 09:36:23 +02:00
Piotr Jakimiak
70e3e2e08e
Fixed #24774 -- Made contrib.site's Site.domain field unique
2015-05-16 08:43:42 -04:00
Kamran Mackey
4c2197db32
Updated the Python shell example to use generic version numbers.
2015-05-16 08:35:58 -04:00
Claude Paroz
3226050358
Fixed #24791 -- Added fallback when 'postgres' database isn't available
...
Thanks Carl Meyer and Tim Graham for the reviews.
2015-05-15 18:44:20 +02:00
Bo Lopker
2dee853ed4
Fixed #24799 -- Fixed session cookie deletion when using SESSION_COOKIE_DOMAIN
2015-05-15 11:23:41 -04:00
Claude Paroz
ae635cc365
Fixed #24757 -- Recreated MySQL index when needed during combined index removal
...
Thanks Thomas Recouvreux for the report and Tim Graham for the tests and
review.
2015-05-15 17:07:14 +02:00
I am Clinton
dce004ab72
Minor edits to docs/topics/http/urls.txt
2015-05-14 19:31:30 -04:00
Tim Graham
3c8fe5dddf
Fixed #24751 -- Fixed HStoreField isnull lookup.
2015-05-13 10:31:59 -04:00
Tim Graham
81d4ce4a6d
Refs #24743 -- Clarified migrations performance note in 1.8.1 release notes.
2015-05-13 10:11:05 -04:00
Piotr Jakimiak
ca51c55915
Fixed broken link in settings docs
2015-05-13 07:02:01 -04:00
Charles Dee Rice
4f3c444241
Fixed #24789 -- Fixed wrong positional args order in doc example
...
Arguments shown in example code (signal, sender, instance) appeared to
be the incorrect positional arguments for a post_save signal (which
might start as: sender, instance, created), as documented:
https://docs.djangoproject.com/en/1.8/ref/signals/#post-save
2015-05-13 10:14:33 +02:00
Abhaya Agarwal
9de9c24017
Fixed #24105 -- Called Storage.get_valid_name() when upload_to is callable
2015-05-12 20:08:22 -04:00
Abhaya Agarwal
7c7b855106
[1.8.x] Refs #24698 , #24712 -- Forwardported ForeignKey.get_db_prep_value() test and release notes.
...
Fixed in master by b68212f539
.
Forwardport of 290c9d6654
from stable/1.8.x
2015-05-12 19:42:42 -04:00
I am Clinton
ec74dba2ab
Light edits to docs/topics/forms/index.txt
2015-05-12 09:16:13 -04:00
Claude Paroz
70779d9c1c
Fixed #24733 -- Passed the triggering exception to 40x error handlers
...
Thanks Tim Graham for the review.
2015-05-11 22:02:14 +02:00
Riccardo Magliocchetti
bd53db5eab
Fixed #24553 -- Added the list of available applications to AdminSite.each_context()
2015-05-11 12:07:36 -04:00
Anssi Kääriäinen
adc57632bc
Fixed #24748 -- Fixed incorrect GROUP BY on MySQL in some queries
...
When the query's model had a self-referential foreign key, the
compiler.get_group_by() code incorrectly used the self-referential
foreign key's column (for example parent_id) as GROUP BY clause
when it should have used the model's primary key column (id).
2015-05-11 11:42:27 -04:00
Anssi Kääriäinen
be9d645346
Fixed #24766 -- Added join promotion for Case expressions
2015-05-11 11:16:16 -04:00
Tim Graham
8e86d9d3df
Fixed #24780 -- Removed outdated discussion of signals and custom users.
2015-05-11 09:10:30 -04:00
Ian Foote
c21b832c12
Fixed typo in docs/topics/testing/tools.txt
2015-05-09 18:03:25 -04:00
David Krisch
1a62f19707
Fixed #24763 -- Moved DoesNotExist exception to model docs.
2015-05-08 13:05:50 -04:00
Ian Foote
756a727252
Fixed typo in docs/ref/models/expressions.txt
2015-05-07 20:15:24 -04:00
Michael Blatherwick
3baebf52aa
Fixed typo in 1.8 release notes.
2015-05-07 08:52:06 -04:00
Preston Timmons
adff499e47
Fixed #24119 , #24120 -- Formalized debug integration for template backends.
2015-05-06 17:33:47 -05:00
wdmgsm
10f7cfeb2d
Fixed #24520 -- Documented Widget.supports_microseconds
2015-05-06 13:31:36 -04:00
Sławomir Ehlert
64ed8cdc9f
Fixed typos in docs/ref/contrib/gis/geoquerysets.txt
2015-05-06 09:58:42 -04:00
Dan Watson
fe914341c8
Fixed #24564 -- Moved AbstractBaseUser and BaseUserManager so they can be used without auth in INSTALLED_APPS
2015-05-05 12:03:48 -04:00
Anssi Kääriäinen
7b05d2fdae
Fixed #24752 -- query crash when reusing Case expressions
...
Case expressions weren't copied deep enough (self.cases list was
reused resulting in an error).
2015-05-05 11:38:12 -04:00
Abhaya Agarwal
9096e2b5f7
Fixed #24736 -- Documented the Sitemap.limit attribute
2015-05-05 09:18:21 -04:00
Tim Graham
17b1f7886c
Used a simpler word that doesn't fail the spelling checker.
2015-05-04 10:55:03 -04:00
Aymeric Augustin
81f7651728
Added release notes for previous commit.
2015-05-04 07:42:31 +02:00
Preston Timmons
a2c3c2a1e2
Added my bio.
2015-05-02 15:29:41 -05:00
José Padilla
b0bd1f0e19
Fixed typo in translation import statement
2015-05-02 20:18:34 +02:00
Luis Del Giudice
69ddc1b3da
Fixed #24693 -- Added label and label_lower property to Model._meta
2015-05-02 16:58:18 +02:00
Tim Graham
3cb386b8c2
Added stub release notes for 1.8.2.
2015-05-01 16:52:19 -04:00
Tim Graham
06aaed41a4
Added dates to release notes.
2015-05-01 16:24:39 -04:00
Tim Graham
3c4fca271b
Fixed #24724 -- Fixed GIS initialization crash on Windows.
2015-05-01 15:47:34 -04:00
Tim Graham
2c3ce26beb
Fixed #24676 -- Fixed help text positioning in ``contrib.admin`` filter_* widgets.
2015-05-01 15:32:05 -04:00
Dave Hodder
08c980d752
Updated capitalization in the word "JavaScript" for consistency
2015-05-01 13:26:42 -04:00
daphshez
57202a112a
Fixed #23271 -- Fixed makemessages crash/test failure for some locales.
2015-05-01 10:27:28 -04:00
Tim Graham
be66173ad7
Forwardport of 1.8.1 release notes.
2015-04-30 09:55:18 -04:00
Markus Holtermann
63f9b633f9
Fixed #24725 -- Allowed renaming of target models in ManyToMany relations
...
This is a regression caused by introducing rendered migration states in
1aa3e09c20
and the _meta refactoring in fb48eb0581
.
Thanks to Danilo Bargen for reporting the issue and Marten Kenbeek and
Tim Graham for triaging the bug and providing the initial test case.
2015-04-30 13:27:29 +02:00
Dmitry Medvinsky
cf34ee68f0
Added translation.override() context manager to docs.
2015-04-29 21:22:52 -04:00
Tim Graham
2b086229a2
Fixed #24665 -- Clarified model field flag defaults.
2015-04-29 20:35:22 -04:00
Baptiste Mispelon
683ece0ec8
Used full variable names instead of abbreviation in examples
...
Thanks to Andrew Ingram for the report.
2015-04-29 17:21:57 +02:00
Mounir
25b52d04f6
Fixed typo in docs/topics/i18n/translation.txt
2015-04-28 12:52:36 -04:00
Markus Bertheau
4a438e400b
Fixed #13008 -- Added more Cache-Control headers to never_cache() decorator.
2015-04-28 12:07:02 -04:00
Tim Graham
82162b4499
Fixed typo in 1.8.1 release notes.
2015-04-28 10:55:56 -04:00
Aric Coady
9c2d8cde77
Fixed #24719 -- Restored the ability to use interators as queryset related object filters.
2015-04-28 10:51:27 -04:00
Tim Graham
4870b304f2
Removed initial data from flush docs since it's removed; refs #24711 .
2015-04-27 13:20:38 -04:00
Tim Graham
0f2e82b9ec
Fixed #24704 -- Clarified system check interaction with runserver.
2015-04-25 15:06:17 -04:00
Tim Graham
2d76b61dc2
Fixed #24649 -- Allowed using Avg aggregate on non-numeric field types.
2015-04-25 13:06:14 -04:00
Tim Graham
26996e2d55
Fixed #24499 -- Dropped support for PostGIS 1.5.
2015-04-25 12:21:16 -04:00
Markus Holtermann
faad6070ee
Fixed #24701 -- Converted model manager names to unicode in migrations
...
Thanks to Reto Aebersold for reporting the issue and Tim Graham and
Claude Paroz for the review.
2015-04-25 18:17:06 +02:00
Adam Zapletal
0cf7477ed8
Fixed a typo and formatting consistency in testing tools docs
...
I changed "appears" to "appear" and emphasized the word "not" to match
the rest of the document.
2015-04-25 12:22:53 +02:00
Michal Čihař
76d26d8922
Fixed #24063 -- Allowed locale variants supported by gettext.
...
The locale code can contain a variant after @, so allowed that.
2015-04-24 20:31:16 -04:00
Nik Nyby
9d6914da66
Added missing comma in LocMemCache example.
2015-04-24 20:29:07 -04:00
Andrei Kulakov
8a1824d465
Fixed #24643 -- Added get_context_data() method to FormMixin
2015-04-24 20:17:29 -04:00
Josh Smeaton
143255c8bb
Fixed #22598 -- Allowed make_aware() to work with ambiguous datetime
2015-04-24 13:55:40 -04:00
Marcus Pennington
269a5dbdd3
Fixed #24700 -- Added dash to slug regex in http docs
2015-04-24 17:57:29 +01:00
Tim Graham
8efea1b8d5
Fixed #24526 -- Combined django.request/security loggers with the root logger.
...
Thanks Carl Meyer for review.
2015-04-24 11:07:42 -04:00
Nicolas Noé
37682368a6
Fixed #24656 -- Added missing imports to query expressions doc.
2015-04-24 10:54:19 -04:00
Daniel Harding
ad31bc0565
Updated startproject MIDDLEWARE_CLASSES in docs.
2015-04-24 09:32:40 -04:00
Alasdair Nicol
b9e972b961
Fixed #24695 -- Tidied up a couple of regexes in the CBV docs
...
Thanks datakid for the report
2015-04-24 09:23:28 -04:00
Tim Graham
618bc4e653
Documented INSTALLED_APPS requirement for HStoreField.
2015-04-24 08:25:33 -04:00
Richard Eames
dd99f57710
Fixed #24613 -- Added example to QuerySet.defer() documentation
2015-04-22 19:18:57 -04:00
Preston Timmons
8ae04e7630
Added docs for new template loader api.
...
Refs #15053 .
2015-04-22 14:49:22 -05:00
Preston Timmons
fc21471526
Fixed #15053 -- Enabled recursive template loading.
2015-04-22 14:49:00 -05:00
Claude Paroz
1b1b58bc7b
Documented GeoQuerySet replacement by functions
2015-04-22 19:54:17 +02:00
Claude Paroz
ea27e26b09
Deprecated legacy GeoManager/GeoQuerySet methods
2015-04-22 19:54:17 +02:00
Tim Graham
1418f75304
Fixed #24684 -- Typo in docs/topics/forms/modelforms.txt
2015-04-22 09:31:10 -04:00
Tim Graham
6ea9819f89
Clarified "AbstractUser.last_login allows null values" in 1.8 release notes.
2015-04-22 08:48:01 -04:00
Claude Paroz
6e8cb75e3e
Fixed #24672 -- Clarified note about installing postgis_topology
...
Thanks Serhiy Zahoriya for the suggestion and Tim Graham for the
review.
2015-04-21 17:54:38 +02:00
Steve Hiemstra
258d81acbe
Fixed #24682 -- Corrected a few generic editing view links
2015-04-21 10:26:19 -04:00
Markus Holtermann
b93690c465
Fixed #24573 -- Considered new related models for reloading
...
Thanks tttomekkk for the report.
2015-04-21 11:35:45 +02:00
Marten Kenbeek
1a1f16d67d
Fixed #24591 -- Optimized cloning of ModelState objects.
...
Changed ModelState.clone() to create a shallow copy of self.fields
and self.managers.
2015-04-20 19:53:21 -04:00
Tim Graham
c331eeb89c
Forwardported 1.8.1 release notes.
2015-04-20 19:26:31 -04:00
Tim Graham
ffe83d16bd
Fixed #24659 -- Clarified docs of smtp.EmailBackend parameters.
2015-04-20 15:46:31 -04:00
Simon Charette
37e23c6060
Fixed #24674 -- Documented the correct NullBooleanField formfield.
...
Thanks to knbk for the report.
2015-04-20 15:18:41 -04:00
Jon Dufresne
b5e0eede40
Fixed #22394 -- Refactored built-in datetime lookups to transforms.
2015-04-20 15:11:11 -04:00
Anton
f5fbddf22f
Fixed typo in docs/topics/class-based-views/intro.txt
2015-04-20 14:11:21 -04:00
Tim Graham
e15c55e2bf
Fixed #24668 -- Amended ModelAdmin.save_formset() example for #10284 .
...
Thanks Carsten Fuchs.
2015-04-20 10:45:05 -04:00
Neal Todd
d84f01ff08
Amended get_all_related_objects() backwards compatible replacement.
2015-04-20 09:50:17 -04:00
Marco Santamaria
bae72bdd2a
Fixed #11078 -- documentation update.
2015-04-19 16:24:14 +02:00
Tim Graham
e9fdecf984
Removed DateTimeQuerySet from docs.
...
Obsolete since refs #23867 .
2015-04-18 10:14:22 -04:00
Claude Paroz
8097e54832
Fixed #23879 -- Allowed model migration skip based on feature/vendor
...
Thanks Carl Meyer for the report and review, and Tim Graham for the
review.
2015-04-18 15:17:49 +02:00