summaryrefslogtreecommitdiff
path: root/django/contrib
AgeCommit message (Collapse)Author
2014-06-14Converted remaining management commands to argparseClaude Paroz
2014-06-13Fixed #22477 -- Removed contrib middleware from the global settings defaults.mlavin
Also added a compatibility check for changed middleware defaults. Forwardport of d94de802d3 from stable/1.7.x
2014-06-13Fixed #7599 -- Added get_user_permissions to ModelBackend.Jorge C. Leitão
Thanks to @gdub for the report and intial patch and @charettes and @timgraham for the review.
2014-06-13Fixed #6327 -- Added has_module_permission method to BaseModelAdminMaxime Turcotte
Thanks chrj for the suggestion.
2014-06-10Fixed #22770 -- Removed create_superuser from post_migrate signals.Tim Graham
Moved logic to syncdb command for backwards compatibility.
2014-06-10Fixed #17431 -- Added send_mail() method to PasswordResetForm.Jorge C. Leitão
Credits for the initial patch go to ejucovy; big thanks to Tim Graham for the review.
2014-06-10Fixed #22792 -- Updated checks for list_display_links in model adminGreg Chapple
2014-06-09Dropped support for SpatiaLite < 2.4.Tim Graham
2014-06-09Added rollback emulation to spatialite backend; refs #22487.Tim Graham
2014-06-09Fixed formtools tests with Python 2Claude Paroz
Fixes #19905 again.
2014-06-09Converted Django scripts to argparseClaude Paroz
Refs #19973.
2014-06-08Gave unique names to SpatialRefSysModels.Aymeric Augustin
Prevented clashes in the app registry. Fixed #22790. Thanks timo for the report.
2014-06-07Silenced some GIS deprecation warnings; refs #22384.Tim Graham
2014-06-06Fixed #22772 -- Defer wizard temporary files deletion.Simon Charette
2014-06-05Fixed #10811 -- Made assigning unsaved objects to FK, O2O, and GFK raise ↵Anubhav Joshi
ValueError. This prevents silent data loss. Thanks Aymeric Augustin for the initial patch and Loic Bistuer for the review.
2014-06-05Fixed #22746 -- Removed background property from pre/code in admin CSS.Konstantin Koroviev
2014-06-03Removed erroneous trailing comma in OLMapWidget.js.Egor Semiguzov
2014-06-03Fixed #22384 -- Deprecated reversing URLs by dotted path.Tim Graham
2014-06-02Revert "Fixed #19303 -- Fixed ModelAdmin.formfield_overrides on fields with ↵Tim Graham
choices" This reverts commit 9d1987d7679165ad3a7c2b713a8a488cc1421905.
2014-06-01Fixed syntax error in ogrinspect.py management command.Fabio Rueda
2014-06-01Merge pull request #2726 from gchp/ticket-20550Aymeric Augustin
Fixed #20550 -- Added ability to preserve test db between runs
2014-05-30Fixed #19905 -- Fixed leakage of file descriptors in form wizard.Florian Apolloner
2014-05-29Fixed #20401 -- ContentTypeManager.get_for_model reads from db_for_read.Antonis Christofides
Thanks Simon Charette and Tim Graham for the reviews.
2014-05-28Fixed several typos in DjangoAlex Gaynor
2014-05-28Fixed #20550 -- Added ability to preserve test db between runsGreg Chapple
2014-05-28Fixed #22714 -- Made contrib.gis use six-provided memoryview typeClaude Paroz
Thanks Tim Graham for the report.
2014-05-24Removed comment forgotten in 3caf957ed5Claude Paroz
2014-05-24Removed GeoWhereNode, obsoleted by GISLookupClaude Paroz
2014-05-22Added array field support for PostgreSQL.Marc Tamlyn
The first part of django.contrib.postgres, including model and two form fields for arrays of other data types. This commit is formed of the following work: Add shell of postgres app and test handling. First draft of array fields. Use recursive deconstruction. Stop creating classes at lookup time. Add validation and size parameter. Add contained_by lookup. Add SimpleArrayField for forms. Add SplitArrayField (mainly for admin). Fix prepare_value for SimpleArrayField. Stop using MultiValueField and MultiWidget. They don't play nice with flexible sizes. Add basics of admin integration. Missing: - Tests - Fully working js Add reference document for django.contrib.postgres.fields.ArrayField. Various performance and style tweaks. Fix internal docs link, formalise code snippets. Remove the admin code for now. It needs a better way of handing JS widgets in the admin as a whole before it is easy to write. In particular there are serious issues involving DateTimePicker when used in an array. Add a test for nested array fields with different delimiters. This will be a documented pattern so having a test for it is useful. Add docs for SimpleArrayField. Add docs for SplitArrayField. Remove admin related code for now. definition -> description Fix typo. Py3 errors. Avoid using regexes where they're not needed. Allow passing tuples by the programmer. Add some more tests for multidimensional arrays. Also fix slicing as much as it can be fixed. Simplify SplitArrayWidget's data loading. If we aren't including the variable size one, we don't need to search like this.
2014-05-20Fixed #22557 -- ManifestStaticFilesStorage did not cleanup deleted files.Denis Cornehl
When using ManifestStaticFilesStorage, deleted static files would be correctly cleaned up by "collectstatic --clear", but the manifest file would still contain the stale entries. Thanks to tedtieken for the report
2014-05-20Removed unused translations in auth testsClaude Paroz
2014-05-19Fixed #22638 -- Changed CookieWizardView to ignore invalid cookiesErik Romijn
2014-05-19Updated translation catalogsClaude Paroz
2014-05-19Fixed #22652 -- Replaced UserModel.objects with UserModel._default_manager.Tim Graham
Thanks alexdlaird for the report.
2014-05-19Removed locale dirs for single-message appsClaude Paroz
Considering that these apps only translate their app name, it's not worth having a whole bunch of po files just for that. The translatable app name for those apps will be integrated in Django core catalog.
2014-05-17Fixed contrib.gis tests breaking in some edge cases.Baptiste Mispelon
The tests would error out with an ImproperlyConfigured error if the user had psycopg installed but not geos. Thanks to mcgohier for the report.
2014-05-17Fixed jenkins breakage, apparently migrations need a models module.Florian Apolloner
Workaround for now, Andrew will look into it.
2014-05-16Fixed #15716 - Authentication backends can short-circuit authorization.Jorge C. Leitão
Authorization backends can now raise PermissionDenied in "has_perm" and "has_module_perms" to short-circuit authorization process.
2014-05-16Fixed #22266 - quote PK before redirecting away from add_view ↵Stas Rudakou
(django.contrib.admin)
2014-05-16Remove old compatibility shims from d.c.gis.Marc Tamlyn
2014-05-15Harmonized some PEP 0263 coding preamblesClaude Paroz
2014-05-15Fixed #17642 -- Added min_num support to modelformsets, inlines, and the admin.Anders Steinlein
Thanks Stephen Burrows for work on the patch as well. Forwardport of 2914f66983a92fcae55673c517dd8d01e8c238c4 from stable/1.7.x
2014-05-14Added additional checks in is_safe_url to account for flexible parsing.Erik Romijn
This is a security fix. Disclosure following shortly.
2014-05-11Fixed #20936 -- When logging out/ending a session, don't create a new, empty ↵Matt Robenolt
session. Previously, when logging out, the existing session was overwritten by a new sessionid instead of deleting the session altogether. This behavior added overhead by creating a new session record in whichever backend was in use: db, cache, etc. This extra session is unnecessary at the time since no session data is meant to be preserved when explicitly logging out.
2014-05-10Fixed #21685 -- Displayed app verbose name in admindocs model indexClaude Paroz
2014-05-07Restored site header text in password reset view.Ramiro Morales
It's the one shown when the optional integration described in https://docs.djangoproject.com/en/dev/ref/contrib/admin/#adding-a-password-reset-feature is used. Follow-up to commits 6f470650d0 and 1d42a86ec7, together they fix different small UI regressions after a962286b74. Refs #21293.
2014-04-26Fix many many typos in comments throughout the codebaseAlex Gaynor
2014-04-25Fixed #22515 -- Fixed the object_id of the LogEntry that's created after a ↵Tim Graham
user password change in the admin. Thanks ross at servercode.co.uk for the report.
2014-04-23Added Spatialite support to the new migration frameworkClaude Paroz
Refs #22451.
2014-04-23Used migration framework in GIS test tearDownClaude Paroz