1
0
mirror of https://github.com/django/django.git synced 2024-11-18 07:26:04 +00:00
Commit Graph

20398 Commits

Author SHA1 Message Date
Ryan Hall
8f98732379 Added Ryan Hall to AUTHORS. Refs #24554 2015-04-01 19:05:32 -04:00
Tim Graham
9cc29bbbca Fixed spelling in docs/internals/howto-release-django.txt 2015-04-01 19:05:16 -04:00
Krzysztof Gogolewski
2350b78dab Fixed typo in 1.9 release notes. 2015-04-01 19:00:50 -04:00
Tim Graham
8583a60547 Documented that only wheel files are uploaded to PyPI for prereleases. 2015-04-01 16:41:04 -04:00
Tim Graham
bf63de5824 Fixed typo in docs/internals/howto-release-django.txt 2015-04-01 16:41:04 -04:00
Aymeric Augustin
8520551478 Pointed Jinja2 users to Babel instead of makemessages. 2015-04-01 22:37:11 +02:00
Tim Graham
1b605838bf Added stub release notes for 1.8.1. 2015-04-01 16:08:15 -04:00
Tim Graham
61d6c5d02e Added release date for Django 1.8. 2015-04-01 15:30:32 -04:00
Claude Paroz
a2e56db8a7 Removed unused import in makemessages 2015-04-01 20:01:12 +02:00
Claude Paroz
3f4e778402 Refs #24500 -- Avoided locale.getpreferredencoding in makemessages
Fixes a regression introduced in 53c2cf1e.
2015-04-01 19:57:48 +02:00
Claude Paroz
2112b7d789 Adapted form regression test to new translations 2015-04-01 19:51:50 +02:00
Claude Paroz
88dfe544f6 Fetched updated contrib translations from Transifex
Forward port of 5483c66f85 from stable/1.8.x
2015-04-01 19:51:50 +02:00
Claude Paroz
7dad681e2e Fetched updated core translations from Transifex
Forward port of d1b206daf8 from stable/1.8.x
2015-04-01 19:51:49 +02:00
Claude Paroz
dda1f7bff7 Removed source strings from translated po files
Forward port of 05a781a47 from stable/1.8.x
2015-04-01 19:51:49 +02:00
Tim Graham
a184a99123 Refs #24538 -- Simplified a test per Aymeric's feedback. 2015-04-01 13:08:43 -04:00
Preston Timmons
0808ccce38 Fixed #23441, #24555 -- Improved the behavior of InclusionNode.
This change:

* Makes the InclusionNode cache-safe by removing render-time side effects
  to its nodelist.
* Ensures the render_context stack is properly scoped and reset by updating
  the render call to use Template.render rather than Nodelist.render.
2015-04-01 13:02:19 -04:00
Tim Heap
4ea1909d3c Fixed #24538 -- Allowed self in Jinja context
Rendering a Jinja template with self in the context threw an error.
While self is a reserved variable in Jinja, including self in the
context is not an error, so Django should respect that.
2015-04-01 12:26:57 -04:00
Joost Rijneveld
48ddc66219 Fixed typo in docs/ref/templates/builtins.txt 2015-03-31 21:20:03 -04:00
Kostochko Dmitriy
d026eb6366 Fixed typo in docs/topics/cache.txt 2015-03-31 21:15:56 -04:00
Markus Holtermann
3e7d9d05ac Refs #24554 -- Prevented rendering of unused migrations
Thanks Claude Paroz and Tim Graham for the review
2015-04-01 02:00:34 +02:00
Markus Holtermann
57dc8dd3fa Fixed #24554 -- Sped up migrations by rendering initial apps when they are first needed
Calling Migration.mutate_state() now also allows to do in_place
mutations in case an intermediate state is thrown away later.

Thanks Anssi Kääriäinen for the idea, Ryan Hall for parts of the patch,
and Claude Paroz and Tim Graham for the review
2015-04-01 02:00:05 +02:00
Tim Graham
4e59156c10 Fixed sessions test on Python 3.5; refs #23763.
SimpleCookie.__repr__() changed in
https://hg.python.org/cpython/rev/88e1151e8e02
2015-03-31 08:38:43 -04:00
Tim Graham
56286542db Documented jinja2 install requirement. 2015-03-30 20:56:50 -04:00
Andriy Sokolovskiy
29b4a3f513 Removed duplicate attribute in MySQL DatabaseSchemaEditor. 2015-03-30 19:23:41 -04:00
Tim Graham
845817b039 Fixed #24466 -- Added JavaScript escaping in a couple places in the admin.
Thanks Aymeric Augustin and Florian Apolloner for work on the patch.
2015-03-30 19:07:17 -04:00
Tim Graham
b86abbceb9 Fixed #24115 -- Allowed bcrypt hashers to upgrade passwords on rounds change.
Thanks Florian Apolloner for the review.
2015-03-30 18:52:59 -04:00
Andriy Sokolovskiy
e4cf8c8420 Fixed #24301 -- Added PostgreSQL-specific aggregate functions 2015-03-30 10:44:37 -04:00
Jorge Barata González
931a340f1f Fixed #15590 -- Documented how the path of a FileField can be changed.
Thanks simon29 for report, and freakboy3742, floledermann,
jacob, claudep and collinanderson for discussing the task.
2015-03-30 10:38:30 -04:00
Markus Holtermann
c5cc332bf2 Fixed #24550 -- Added migration operation description to sqlmigrate output
Thanks Tim Graham for the review.
2015-03-30 16:31:20 +02:00
Simon Charette
dc27f3ee0c Fixed #19259 -- Added group by selected primary keys support. 2015-03-29 22:03:30 -04:00
Christopher Luc
8119876d4a Improved docs for timezone handling for auto_now and auto_now_add
Thanks djbug for the report and Aymeric Augustin and Carl Meyer for the
review.
2015-03-29 22:32:05 +02:00
Marten Kenbeek
75430be86f Refs #24366 -- Fixed recursion depth error in migration graph
Made MigrationGraph forwards_plan() and backwards_plan() fall back to an
iterative approach in case the recursive approach exceeds the recursion
depth limit.
2015-03-29 16:08:07 +02:00
Marten Kenbeek
bc83add04c Refs #24366 -- Renamed arguments in MigrationGraph, renamed tests 2015-03-29 16:07:58 +02:00
Markus Holtermann
c7ec3c07e7 Fixed #24537 -- Ignored field order in RenameModel detection
Thanks to David Sanders for the report and test and Simon Charette for
the review.
2015-03-28 20:45:15 +01:00
Tim Graham
ba1665ed75 Fixed skipping of gis_tests when dependencies not installed. 2015-03-28 09:39:09 -04:00
Tim Graham
6de3a1e2c3 Fixed #24541 -- Clarified ModelFormSet's handling of initial data. 2015-03-28 08:54:59 -04:00
Tim Graham
3e132406e3 Fixed syntax highlighting in docs/topics/auth/default.txt 2015-03-28 07:49:03 -04:00
SaeX
19e41a9799 Fixed typo in docs/topics/forms/modelforms.txt 2015-03-28 07:40:38 -04:00
Claude Paroz
c2bfd76ec3 Refs #15779 -- Fixed UserChangeForm regression introduced by 1791a7e75
Thanks Tim Graham for reporting the regression.
2015-03-28 09:24:01 +01:00
Moritz Sichert
1f2abf784a Fixed #24469 -- Refined escaping of Django's form elements in non-Django templates. 2015-03-27 19:46:20 -04:00
Caroline Simpson
dc5b01ad05 Fixed #18773 -- Added logging for template variable resolving
Added a django.template logger without a default handler. Added
logging if there is an exception while resolving variables in a
template.
2015-03-27 19:19:48 -04:00
Tim Graham
0c91a419f8 Dropped support for PostgreSQL 9.0. 2015-03-27 12:10:55 -04:00
Tim Graham
2acf9d099d Fixed #24519 -- Clarified location of templates directory in tutorial 2. 2015-03-27 09:57:58 -04:00
Matt Seymour
98c5370ef6 Fixed #24510 -- Clarified FileField.upload_to docs. 2015-03-26 19:21:12 -04:00
Marco Fucci
4ee08958f1 Fixed #24505 -- Fixed clash with hidden m2m fields.
Added support for multiple m2m fields with the same 'to' model
and with related_name set to '+'.
2015-03-26 19:00:37 -04:00
Bas Peschier
14f28f8233 Rephrased docstrings to assertions and added querystring test. 2015-03-26 09:27:37 -04:00
Bas Peschier
9128762f16 Fixed #19910 -- Added slash to i18n redirect if APPEND_SLASH is set.
This introduces a force_append_slash argument for request.get_full_path()
which is used by RedirectFallbackMiddleware and CommonMiddleware when
handling redirects for settings.APPEND_SLASH.
2015-03-26 09:26:55 -04:00
Bertrand Bordage
3e64f3d0fc Fixed #24531 -- Improved CommaSeparatedIntegerField validation.
`','`, `'1,,1'`, `',1'` etc. are no longer considered as valid
comma-separated integer lists.
2015-03-25 18:49:59 -04:00
Tim Graham
f4cc0c40a8 Added some missing newlines in docs/ref/validators.txt. 2015-03-25 18:32:22 -04:00
Andrei Kulakov
e2bfcab065 Fixed #24394 -- Allowed running tests with empty default dictionary. 2015-03-25 17:56:59 -04:00