Bas Peschier
b4382b7055
Fixed #16362 -- Allowed lookaround assertions in URL patterns.
2015-03-23 09:00:07 -04:00
Varun Sharma
74f8110e74
Added test for LogEntry.get_edited_object(); refs #24244 .
2015-03-23 08:51:43 -04:00
Bas Peschier
23a5d64f40
Fixed #13525 -- Added tests and docs for nested parameters in URL patterns.
...
When reversing, only outer parameters are used if captured parameters are
nested. Added tests to check the edge cases and documentation for the
behavior with an example to avoid it.
2015-03-23 08:43:01 -04:00
Berker Peksag
f2e4d39a71
Switched to use assertEqual instead of assertEquals.
2015-03-22 10:56:51 -04:00
Iacopo Spalletti
87fed94440
Fixed #23814 -- Pointed localflavor documentation to external package
...
Edited localflavor doc to point to the external package documentation,
leaving just the 'How to migrate' section in Django.
2015-03-22 15:31:54 +01:00
Alain IVARS
82ec05fcc9
Refs #18586 -- Split up tests/m2m_signals
2015-03-22 13:21:08 +01:00
Josh Smeaton
02a2943e4c
Fixed #24485 -- Allowed combined expressions to set output_field
2015-03-22 17:36:55 +11:00
Josh Smeaton
127b3873d0
Fixed #24508 -- Made annotations commutative
2015-03-22 17:28:42 +11:00
Claude Paroz
a6bada1ee0
Revert "Removed unneeded app_label definitions in gis_tests"
...
This reverts commit e0cc36f615
.
The problem is the following:
* With non-gis backends, gis_tests sub apps are not discovered
(see runtests.py)
* Consequently, the app_label is inferred from the gis_tests
AppConfig
* Then models with same names in different sub apps conflict
because of same model_name/app_label pair.
2015-03-21 16:59:30 +01:00
Claude Paroz
e0cc36f615
Removed unneeded app_label definitions in gis_tests
2015-03-21 16:10:24 +01:00
Pakal
53c2cf1e7b
Fixed #24500 -- Fixed makemessages encoding problems retrieving gettext version.
2015-03-21 09:08:51 -04:00
Jon Dufresne
966a29c2b8
Fixed #24479 -- Added system check to prevent both ordering and order_wrt.
2015-03-21 08:16:28 -04:00
Jon Dufresne
e304e13448
Removed double pop from meta_attrs.
2015-03-21 08:16:28 -04:00
Aymeric Augustin
2444c231e1
Added Alex Hill to AUTHORS.
2015-03-21 10:31:36 +01:00
Alex Hill
880393a902
Explicitly disable FK constraints in SQLite editor
2015-03-21 10:31:07 +01:00
Alex Hill
6c58e53d5d
Safer table alterations under SQLite
...
Table alterations in SQLite require creating a new table and copying
data over from the old one. This change ensures that no Django model
ever exists with the temporary table name as its db_table attribute.
2015-03-21 10:31:07 +01:00
Claude Paroz
9e83f30cd3
Fixed #24515 -- Fixed DjangoTranslation plural handling
2015-03-21 10:27:30 +01:00
Karl Hobley
aea02ddfb7
Fixed #24490 -- Set LogEntry.change_message when adding an object.
2015-03-20 18:25:06 -04:00
Tim Graham
a3e75f6bed
Removed unused imports.
2015-03-20 17:57:11 -04:00
David Seddon
6770b7ecd2
Refs #14645 -- Documented bug with exclude() and multi-value relations
2015-03-20 17:49:07 -04:00
Moritz Sichert
d94449f37a
Removed spaces after 'function' in jsi18n
2015-03-20 17:28:29 -04:00
Moritz Sichert
6bb2175ed6
Fixed #22106 -- Allowed using more than one instance of javascript_catalog per project.
2015-03-20 17:27:41 -04:00
Claude Paroz
556eb67701
Fixed #23520 -- Explained that custom plural forms should be avoided
...
Thanks aruseni for the report.
2015-03-20 20:43:11 +01:00
Claude Paroz
ba37ac749e
Adapted sendtestemail to be more argparse-ish
2015-03-20 20:40:35 +01:00
Daniel Wiesmann
0d9b018e07
Fixed gis test failures when numpy isn't installed.
...
Thanks to Bas Peschier for pointing this out. Refs #23804 .
2015-03-20 13:42:55 -04:00
Tim Graham
4a5d967dfe
Removed unused import.
2015-03-20 13:31:49 -04:00
Tim Graham
7bf775258e
Used testing domain names in mail tests per rfc2606.
2015-03-20 12:19:14 -04:00
Tim Graham
8219eabbba
Fixed #24503 -- Added docs on LANGUAGE_CODE fallback change in 1.8.
...
Thanks Pakal and Claude.
2015-03-20 12:07:45 -04:00
Loek van Gent
d898ba1bec
Fixed #24419 -- Added sendtestemail management command
2015-03-20 12:03:50 -04:00
Preston Timmons
55f12f8709
Cleaned up the template debug implementation.
...
This patch does three major things:
* Merges the django.template.debug implementation into django.template.base.
* Simplifies the debug implementation.
The old implementation copied debug information to every token and node.
The django_template_source attribute was set in multiple places, some
quite hacky, like django.template.defaulttags.ForNode.
Debug information is now annotated in two high-level places:
* Template.compile_nodelist for errors during parsing
* Node.render_annotated for errors during rendering
These were chosen because they have access to the template and context
as well as to all exceptions that happen during either the parse or
render phase.
* Moves the contextual line traceback information creation from
django.views.debug into django.template.base.Template. The debug views now
only deal with the presentation of the debug information.
2015-03-20 08:58:07 -04:00
Yair Chuchem
eb5ebcc2d0
Fixed #24285 -- Made for_user argument optional for {% get_admin_log %} tag
2015-03-20 08:32:25 -04:00
Loek van Gent
35b3158d52
Fixed #24417 -- Added ModelAdmin.get_list_select_related()
2015-03-19 08:52:28 -04:00
Jon Walsh
8d90489fe0
Fixed typo in escape_filter() docstring.
2015-03-19 07:21:38 -04:00
Tim Graham
e40581870a
Added today's security issues to archive.
2015-03-18 20:36:50 -04:00
Tim Graham
011a54315e
Made is_safe_url() reject URLs that start with control characters.
...
This is a security fix; disclosure to follow shortly.
2015-03-18 19:20:07 -04:00
Tim Graham
1c83fc88d6
Fixed an infinite loop possibility in strip_tags().
...
This is a security fix; disclosure to follow shortly.
2015-03-18 19:20:07 -04:00
Tim Graham
9ddfe9b301
Added stub release notes for security releases.
2015-03-18 19:20:07 -04:00
Karl Hobley
81e1a35c36
Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed.
2015-03-18 19:00:09 -04:00
Tim Graham
02d78bb1a8
Fixed build failure introduced by refs #23757 .
2015-03-18 18:46:06 -04:00
Claude Paroz
65129aac07
Fixed #23757 -- Added 3D introspection support to Spatialite backend
...
Thanks Tim Graham for the review.
2015-03-18 19:27:44 +01:00
Tim Graham
b4a56ed4f5
Refs #24483 -- Added a test for deconstruction of Field.choices
2015-03-18 13:39:52 -04:00
Claude Paroz
a0c2eb46dd
Fixed #23960 -- Removed http.fix_location_header
...
Thanks Carl Meyer for the report and Tim Graham for the review.
2015-03-18 18:22:50 +01:00
Bas Peschier
0339844b70
Fixed #24476 -- Added context manager/decorator for overriding script prefix.
...
Tests were using an undocumented keyword argument for easily overriding
script prefix while reversing. This is now changed into a test utility
which can be used as decorator or context manager.
2015-03-18 13:03:25 -04:00
Moritz Sichert
6bff343989
Refs #24469 -- Fixed escaping of forms, fields, and media in non-Django templates.
2015-03-18 09:11:01 -04:00
Claude Paroz
465edf2bb2
Updated translation catalogs
...
Strings are frozen in anticipation of the Django 1.8 release.
Forward port of 1cd2584c98
from stable/1.8.x
2015-03-18 09:31:00 +01:00
Claude Paroz
debf521d49
Removed translations from contrib.messages
...
The only one translatable string will be handled in the core catalog.
Forward port of 1bb712d79c
from stable/1.8.x
2015-03-18 09:30:20 +01:00
Tim Graham
d9a30ed190
Updated location of database backend data_types attribute in docs.
2015-03-17 20:03:07 -04:00
Tim Graham
53d11c6821
Updated links to latest version of PostGIS docs.
2015-03-17 18:34:15 -04:00
Tim Graham
c5c8751147
Refs #24487 -- Added upgrade tips about removal of SortedDict.
...
Thanks Pascal Chambon for the initial patch.
2015-03-17 13:41:11 -04:00
Tim Graham
64b9393ae2
Updated location of gis_tests in docs.
2015-03-17 11:35:11 -04:00