summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2013-09-06adds fix and test for when a template is not specified at all to render(). ↵Ian Wilson
fixes #21058. by jambonrose and ianawilson
2013-09-06Fixed #20821 -- Added tooltips to Admin SelectBox widgetRudy Mutter
The Admin widget, which can be used to filter multiple selects can sometimes be too narrow and hide information such as user permissions. This commit adds tooltips to the select options so that a user can hover over and see the hidden text.
2013-09-06Merge pull request #1575 from mburst/ticket_21049Andrew Godwin
Fixed #21049 -- Fixed autoreload for Python 3
2013-09-06Moved get_serializer() call in dumpdata command.Roberto Aguilar
Moved the get_serializer() call within the condition that checks public serializers. This will allow exceptions other than SerializerDoesNotExist to be raised in order to provide the caller with useful information, e.g when pyyaml is not installed.
2013-09-06Added yaml directly into BUILTIN_SERIALIZERS.Roberto Aguilar
The serializer definitely exists, but the dependent yaml module may not be installed. The register_serializer() function will catch exceptions and will stub in a fake serializer object that will raise the exception when the serializer is used.
2013-09-06Adding 'sqlmigrate' command and quote_parameter to support it.Andrew Godwin
2013-09-06Fixed #21043 -- Made resolve() handle reverse_lazy objects.Dan Johnson
Thanks Keryn Knight for the report.
2013-09-06Fixed #21049 -- Fixed autoreload for Python 3Max Burstein
Changed th system module values check to return a list. In Python 3 it returns a dict_view which could occassionally produce a runtime error of "dictionary changed size during iteration".
2013-09-06Merge branch 't20812'Florian Apolloner
2013-09-06Fixed #4287 -- Fixed NaN and +/- Infinity handling in FloatFieldDaniel Langer
NaN, +Inf, and -Inf are no longer valid values for FloatFields.
2013-09-06Fixed #11857 -- Added missing 'closed' property on TemporaryFile class.Christopher Adams
- TemporaryFile now minimally mocks the API of the Python standard library class tempfile.NamedTemporaryFile to avoid AttributeError exceptions. - The symbol django.core.files.NamedTemporaryFile is actually assigned as a different class on different operating systems. - The bug only occurred if Django is running on Windows, hence why it was hard to diagnose.
2013-09-06fixes #19988, allow html in ordinal for humanizeGarry Polley
2013-09-06Migration autodetector now corerctly deals with proxy modelsAndrew Godwin
2013-09-06Added AdminSite attributes for easily changing admin title.Adrian Holovaty
AdminSite now has overridable site_header, site_title and index_title attributes. Changed each admin view to pass these to the context (in a new AdminSite.each_context() method). The intent here is to make it easier to override these things in the common case, instead of having to override a template, which is a bigger burden.
2013-09-06Fixed awkward indentation in admin URLconfsAdrian Holovaty
2013-09-06Fixed #20812 -- Error out if __unicode__/__str__ doesn't return a text type.Florian Apolloner
2013-09-06Project/ModelState now correctly serialize multi-model inheritanceAndrew Godwin
2013-09-06Fixed #10164 -- Made AutoField increase monotonically on SQLiteChris Wilson
Thanks malte for the report.
2013-09-06Fix SchemaEditor.__exit__ to handle exceptions correctlyAndrew Godwin
2013-09-06Add --list option to migrate commandAndrew Godwin
2013-09-06Make db.migrations ignore South-style migrations.Andrew Godwin
2013-09-06Fixed #21052 -- Small performance optimization.Aymeric Augustin
2013-09-06Fixed #18719 -- Made force_bytes more consistent with force_text.Aymeric Augustin
2013-09-06Fixed #20977 -- Fixed writing migrations to disk on Python 3Markus Holtermann
2013-09-06Fixed #16096 -- Added origin attribute to template instances.Preston Timmons
Thanks jdunck for the suggestion.
2013-09-06Fixed #21015 -- Fixed MigrationLoader when importlib.import_module returns a ↵Loic Bistuer
file module or an empty directory.
2013-09-06Fixed #21014 -- Fixed gobbled ImportError in MigrationLoader.Loic Bistuer
2013-09-05Fixed #21035 -- Changed docs to treat the acronym SQL phonetically.Eric Boersma
The documentation and comments now all use 'an' to refer to the word SQL and not 'a'.
2013-09-05Took advantage of django.utils.six.moves.urllib.*.Aymeric Augustin
2013-09-05Fixed #21000 -- Made cached_db session backend respect SESSION_CACHE_ALIASCHI Cheng
2013-09-05Fixed #20918 -- Tidied up implementation of custom assertionsersran9
1. Moved common logic between assertContains and assertNotContains into a separate function _assert_contains() 2. Moved common logic between assertTemplateUsed and assertTemplateNotUsed into a separate function _assert_templateused() Thanks Marc Tamlyn for the report and review.
2013-09-04Tested exc_type instead of exc_value in __exit__.Aymeric Augustin
exc_value might be None even though there's an exception, at least on Python 2.6. Thanks Thomas Chaumeny for the report. Fixed #21034. Forward-port of a8624b2 from 1.6.x.
2013-09-04Updated six to version 1.4.1.Aymeric Augustin
2013-09-04Fixed #21010 -- Changed ModelState to only copy _meta.local_fields.Loic Bistuer
2013-09-03Fixed "indentation is not a multiple of four" pep8 issues.Tim Graham
2013-09-03Fixed #21026 -- Corrected help for manage.py test command.Carl Meyer
2013-09-03Fixed #21003 -- Ensured geometry widget return value has SRIDClaude Paroz
Thanks Mathieu Leplatre for the report and initial patch.
2013-09-03Isolated map creation JS codeClaude Paroz
2013-09-03Prevented rendering attrs to be squashed in OSMWidgetClaude Paroz
2013-09-03Fixed syntax error in OSMWidgetClaude Paroz
2013-09-02Fixed gis test to run on non gis-enabled settingsClaude Paroz
Refs #20998.
2013-09-02Fixed #20998 -- Allow custom (de)serialization for GIS widgetsClaude Paroz
Thanks Mathieu Leplatre for the report and the initial patch.
2013-09-02Used six.moves.zip_longest, new in six 1.4.0.Aymeric Augustin
2013-09-02Replaced "not PY3" by "PY2", new in six 1.4.0.Aymeric Augustin
2013-09-02Updated the bundled version of six to 1.4.0.Aymeric Augustin
2013-09-01Remove usage of deprecated module_name model option introduced in 1c0c879be3.Ramiro Morales
2013-08-31Fixed #21008 -- Made MigrationWriter handle Promise objects.Loic Bistuer
2013-08-31Fixed #17074 -- Improved first field detection in admin add formClaude Paroz
Thanks Kidwind for the report and Julien Phalip for the initial patch.
2013-08-31Updated Selenium-based tests after e909ceae9b.Ramiro Morales
2013-08-31Made django.test.testcases not depend on staticfiles contrib app.Ramiro Morales
Do this by introducing a django.contrib.staticfiles.testing.StaticLiveServerCase unittest TestCase subclass. Fixes #20739.