summaryrefslogtreecommitdiff
path: root/django/contrib
AgeCommit message (Collapse)Author
2013-09-17Fixed #21112 -- Make sure sitemaps with no lastmod date work correctly.Simon Charette
Thanks to Matthias Kestenholz for the report and patch.
2013-09-16Added backwards compatability shims for util modules.Tim Graham
refs #17627
2013-09-16Fixed #17627 -- Renamed util.py files to utils.pyTim Graham
Thanks PaulM for the suggestion and Luke Granger-Brown and Wiktor Kołodziej for the initial patch.
2013-09-15Ensure that passwords are never long enough for a DoS.Russell Keith-Magee
* Limit the password length to 4096 bytes * Password hashers will raise a ValueError * django.contrib.auth forms will fail validation * Document in release notes that this is a backwards incompatible change Thanks to Josh Wright for the report, and Donald Stufft for the patch. This is a security fix; disclosure to follow shortly.
2013-09-14Fixed error handling in 3c5775d36f7e431d9691829a78580873111cb714 for ↵Florian Apolloner
non-operational webdrivers.
2013-09-14Delayed initialization of Selenium webdrivers.Florian Apolloner
If setUpClass throws an exception (in this case "Address already in use" if the super call can't find any open port to bind too) tearDownClass is not called. This results in open browser windows from the webdriver, hence we only construct it once we are sure there is no code afterwards which could error out.
2013-09-13Fixed #21060 -- Refactored admin's autodiscover method to make it reusable.Juan Catalano
We want to be able to use it for instance for discovering `tasks.py` modules inside the INSTALLED_APPS. This commit therefore moves the logic to `autodiscover_modules` method in django.utils.module_loading.
2013-09-12Fixed inspectdb test for spatialite >=4Claude Paroz
2013-09-12Add a test for the geo-enabled inspectdb commandClaude Paroz
2013-09-11Fixed #21056 -- AdminSite.app_index no longer blindly accepts any ↵Keryn Knight
app-labelish input.
2013-09-10Fixed #20841 -- Added messages to NotImplementedErrorsGregor MacGregor
Thanks joseph at vertstudios.com for the suggestion.
2013-09-10Fixed #4574 -- Added CSS classes to the admin calendar widget for better ↵Roberto Aguilar
control over styling.
2013-09-10Fixed #7467 -- Added a template block to override the admin welcome message.Tim Graham
Thanks Jeff Kowalczyk for the suggestion and rctay for the patch.
2013-09-09Refactored code and tests that relied on django.utils.tzinfo.Aymeric Augustin
Refs #17262.
2013-09-09Fixed #21063 -- AdminSite app_index should be fail early if the user has no ↵Keryn Knight
permissions.
2013-09-08Removed some more unused local varsAlex Gaynor
2013-09-08Removed a ton of unused local varsAlex Gaynor
2013-09-07Fixed #16869 -- BaseGenericInlineFormSet.save_new should use form's save() ↵Pablo Mouzo
method Thanks mattaustin for the report and Pablo Recio (pyriku) for the patch.
2013-09-07Fixed #21013 -- Ensure that ModelAdmin.get_queryset is considered for the ↵Juan Catalano
admin history view.
2013-09-07Merge pull request #1565 from garrypolley/#19988-ordinal-html-i18n-fixAlex Gaynor
fixes #19988, allow html in ordinal for humanize
2013-09-07Fixed #20836 -- Ensure that the ForeignKey's to_field attribute is properly ↵Julien Phalip
considered by the admin's interface when creating related objects. Many thanks to Collin Anderson for the report and patch and to Peter Sheats for the test.
2013-09-07Add `response_delete` and `render_delete_form` methods to `ModelAdmin`Pablo Mouzo
This make it easier to control the delete flow.
2013-09-07Moved two WSGI-specific functions to the WSGI handler.Aymeric Augustin
They were defined in base when the mod_python handler used them. See bfcecbff.
2013-09-07Fixed regression introduced by a962286, changed ugettext to ugettext_lazy.Loic Bistuer
2013-09-06Fixed a number of flake8 errors -- particularly around unused imports and ↵Alex Gaynor
local variables
2013-09-06Merge pull request #1578 from rmutter/ticket_20821Julien Phalip
Fixed #20821 -- Added tooltips to Admin SelectBox widget
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-06fixes #19988, allow html in ordinal for humanizeGarry Polley
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-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-03Fixed "indentation is not a multiple of four" pep8 issues.Tim Graham
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-01Remove usage of deprecated module_name model option introduced in 1c0c879be3.Ramiro Morales
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.
2013-08-30Fixed #20989 -- Removed useless explicit list comprehensions.Simon Charette
2013-08-29Fixed #20989 -- Removed explicit list comprehension inside dict() and tuple()Tim Graham
Thanks jeroen.pulles at redslider.net for the suggestion and helper script.
2013-08-29Fixed #16433 -- Fixed a help_text/read only field interaction that caused an ↵Tim Graham
admin crash. Thanks chris at cogdon.org for the report and admackin for the patch.
2013-08-29Fixed #20881 -- Removed contrib.auth.models.AbstractUser.get_absolute_url()Tim Graham
The definition is arbitrary and creates a broken "view on site" link in the admin if a project doesn't define such a URL.