Tim Graham
c36b60836b
Fixed #24451 -- Deprecated comma-separated {% cycle %} syntax.
2015-03-07 07:42:39 -05:00
Grzegorz Slusarek
668d53cd12
Fixed #21495 -- Added settings.CSRF_HEADER_NAME
2015-03-05 15:03:40 -05:00
Marten Kenbeek
8e744fa150
Stressed authentication should be successful before logging in a user.
2015-03-05 12:17:56 -05:00
Aymeric Augustin
9a4a9a8a49
Improved get_media_prefix template tag example.
2015-03-05 09:14:36 -05:00
Tim Graham
d61ebc8fed
Fixed #19538 -- Removed window.__admin_media_prefix__ from admin templates.
2015-03-05 06:44:16 -05:00
Preston Timmons
70123cf084
Fixed #24399 -- Made filesystem loaders use more specific exceptions.
2015-03-03 21:20:46 +01:00
Ross Brunton
6b28e957df
Fixed #24379 -- Documented that remote user example disables ModelBackend.
2015-03-02 19:53:11 -05:00
Tim Graham
a40a34a4b2
Fixed #13015 -- Clarified language about model instances attached to forms.
2015-03-02 18:44:23 -05:00
Andrew Pinkham
fea45eff5a
Fixed #24439 -- Removed incorrect make_object_list attributes in CBV docs.
2015-03-02 13:33:11 -05:00
Ian Lee
fde4857fb8
Added syntax highlighting for apache code blocks
2015-03-02 12:33:58 -05:00
Alex Shaindlin
dcdef1fe2e
Improved wording in tutorial 1.
2015-02-27 17:53:11 -05:00
Tim Graham
2b19b3a031
Fixed #24359 -- Cleaned up docs/ref/exceptions.html
2015-02-27 13:51:02 -05:00
Tim Graham
71820721a1
Added stub release notes for 1.7.6.
2015-02-25 09:11:19 -05:00
Tim Graham
aca73737da
Added release date for 1.7.5 release.
2015-02-25 08:47:11 -05:00
Tim Graham
d298b1ba50
Reverted "Fixed #24325 -- Documented change in ModelForm.save() foreign key access."
...
This reverts commit 0af3822dc3
.
It's obsoleted by refs #24395 .
2015-02-24 11:50:21 -05:00
Kenneth Kam
e83aba0e2c
Fixed #23762 -- clarified CACHE_MIDDLEWARE_ANONYMOUS_ONLY deprecation in docs
2015-02-23 09:23:07 -05:00
Ian Lee
00fbd8fd52
Broke long lines in code examples.
...
The website only renders code blocks at 96 chars, and therefore
long code lines get wrapped. Manually breaking the lines prevents
the wrapping from occurring.
2015-02-23 07:45:37 -05:00
Emin Mastizada
dda2a3cf4c
Added formats for the Azerbaijani locale.
2015-02-23 07:37:13 -05:00
Michael Manfre
7fa7dd48c4
Fixed signature of BaseDatabaseOperations.date_interval_sql() and document the change.
2015-02-22 23:23:16 -05:00
Tim Graham
b2f331dc68
Updated tutorial to use explicit relative imports.
2015-02-22 14:20:02 -05:00
Tim Graham
ff5e47e7a4
Corrected sqlmigrate output in tutorial 1.
2015-02-22 12:29:01 -05:00
Tim Graham
7901eccf2e
Fixed #24371 -- Cautioned against trying to switch databases.
2015-02-22 10:11:18 -05:00
Sean Wang
eba6dff581
Fixed #24358 -- Corrected code-block directives for console sessions.
2015-02-22 09:35:39 -05:00
Loic Bistuer
bed504d70b
Fixed #24351 , #24346 -- Changed the signature of allow_migrate().
...
The new signature enables better support for routing RunPython and
RunSQL operations, especially w.r.t. reusable and third-party apps.
This commit also takes advantage of the deprecation cycle for the old
signature to remove the backward incompatibility introduced in #22583 ;
RunPython and RunSQL won't call allow_migrate() when when the router
has the old signature.
Thanks Aymeric Augustin and Tim Graham for helping shape up the patch.
Refs 22583.
2015-02-20 21:34:09 +07:00
Tim Graham
dd0b487872
Fixed typo in path to is_safe_url()
2015-02-20 09:21:39 -05:00
Tim Graham
d28bcba209
Fixed typo in docs/internals/contributing/triaging-tickets.txt
2015-02-20 07:26:16 -05:00
Marc Tamlyn
32d4db66b9
Update converters to take a consistent set of parameters.
...
As suggested by Anssi. This has the slightly strange side effect of
passing the expression to Expression.convert_value has the expression
passed back to it, but it allows more complex patterns of expressions.
2015-02-20 11:35:52 +00:00
Tim Graham
dbacbc729a
Simplified and updated committing code guidelines.
2015-02-19 20:36:24 -05:00
Tim Graham
0adf766e16
Fixed #23811 -- Added a guide for using git bisect.
2015-02-19 20:18:52 -05:00
Aymeric Augustin
1bfcc950ab
Set context.template instead of context.engine while rendering.
...
This opens more possibilities, like accessing context.template.origin.
It also follows the chain of objects instead of following a shortcut.
2015-02-19 22:08:11 +01:00
Tim Graham
32b67b3fd1
Added an import to docs/topics/testing/advanced.txt example.
2015-02-17 13:53:20 -05:00
Tim Graham
3adc5f1ee6
Fixed #24335 -- Bumped required psycopg2 version to 2.4.5 (2.5 for contrib.postgres).
2015-02-16 18:07:27 -05:00
Tim Graham
35f0cae19d
Fixed #24350 -- Freshened up database install topic section.
2015-02-16 14:56:38 -05:00
Tim Graham
f3bc7c5447
Removed a note about old versions of MySQLdb.
2015-02-16 14:28:41 -05:00
Carl Meyer
e35c70bef4
Fixed #23892 -- Clarified compatibility policy for migrations.
2015-02-16 10:11:47 -05:00
Aymeric Augustin
15b711b5ee
Deprecated TEMPLATE_DEBUG setting.
2015-02-15 20:47:04 +01:00
Aymeric Augustin
9fbd302f91
Documented how to set up the Jinja2 environment.
...
This may also help with "Why do context processors not work in Jinja2
templates?" etc.
2015-02-15 20:43:34 +01:00
Aymeric Augustin
76356d963c
Fixed #24318 -- Set the transaction isolation level with psycopg >= 2.4.2.
2015-02-14 18:51:11 +01:00
Claude Paroz
1379165b35
Fixed #24144 -- Documented that GEOSGeometry.envelope can return a point
...
Thanks Manel Clos for the report.
2015-02-14 16:20:11 +01:00
Tim Graham
0af3822dc3
Fixed #24325 -- Documented change in ModelForm.save() foreign key access.
2015-02-14 08:08:05 -05:00
Claude Paroz
1791a7e75a
Fixed #15779 -- Allowed 'add' primary key in admin edition
...
Thanks Marwan Alsabbagh for the report, and Simon Charette and
Tim Graham for the reviews.
2015-02-14 11:19:55 +01:00
Loic Bistuer
18c0aaa912
Fixed #24289 -- Reversed usage of Field.many_to_one and one_to_many.
...
Thanks Carl Meyer and Tim Graham for the reviews and to all involved
in the discussion.
2015-02-14 02:28:24 +07:00
Tim Graham
b4caa91c8b
Added missing parameter to each_context() in doc example.
2015-02-13 10:39:22 -05:00
Joe Simpson
648e516b8d
Added each_context() and a template tip to custom admin view docs.
2015-02-13 10:34:17 -05:00
Markus Holtermann
f287bec583
Fixed #24184 -- Prevented automatic soft-apply of migrations
...
Previously Django only checked for the table name in CreateModel
operations in initial migrations and faked the migration automatically.
This led to various errors and unexpected behavior. The newly introduced
--fake-initial flag to the migrate command must be passed to get the
same behavior again. With this change Django will bail out in with a
"duplicate relation / table" error instead.
Thanks Carl Meyer and Tim Graham for the documentation update, report
and review.
2015-02-13 14:29:59 +01:00
Loic Bistuer
00a889167f
Fixed #24295 -- Allowed ModelForm meta to specify form field classes.
...
Thanks Carl Meyer and Markus Holtermann for the reviews.
2015-02-13 19:13:05 +07:00
Tim Graham
e8cf4f8abe
Fixed #24332 -- Fixed contrib.sites create_default_site() when 'default' DATABASES is empty.
2015-02-13 07:01:28 -05:00
Tim Graham
a93c5fb2bf
Forwardported item in 1.7.5 release notes.
2015-02-12 14:05:52 -05:00
Thomas Güttler
e519ee1d35
Clarified timeout=0 in cache docs.
2015-02-12 10:32:26 -05:00
Josh Smeaton
e2d6e14662
Refs #14030 -- Improved expression support for python values
2015-02-12 08:46:25 +11:00