summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2015-05-05Fixed #24752 -- query crash when reusing Case expressionsAnssi Kääriäinen
Case expressions weren't copied deep enough (self.cases list was reused resulting in an error).
2015-05-05Removed empty sitemaps/models.py file.Tim Graham
2015-05-05Extended variable name in handlers/base.pyClaude Paroz
Refs #24733.
2015-05-04Allowed using the sqlite3 backend as much as possible without _sqlite3.Milan Broum
The inner import was dropped during the reorganizing of the database backends in commit 28308078f397d1de36fd0da417ac7da2544ba12d.
2015-05-04Fixes #24727 -- Prevented ClearableFileInput from masking exceptions on Python 2Antonio Garcia-Dominguez
2015-05-03Fixed #24685 -- Fixed check for template name unicity.Aymeric Augustin
Thanks Preston Timmons for the report.
2015-05-02Fixed #24737 -- Removed unnecesary kwargs in UserManager._create_user()Luis Del Giudice
2015-05-02Fixed #24696 -- Made CSRF_COOKIE computation lazy.Jay Cox
Only compute the CSRF_COOKIE when it is actually used. This is a significant speedup for clients not using cookies. Changed result of the “test_token_node_no_csrf_cookie” test: It gets a valid CSRF token now which seems like the correct behavior. Changed auth_tests.test_views.LoginTest.test_login_csrf_rotate to use get_token() to trigger CSRF cookie inclusion instead of changing request.META["CSRF_COOKIE_USED"] directly.
2015-05-02Fixed #23387 -- Kept "Save as new" button after validation errors in admin.Adam Zapletal
When "Save as new" is chosen and errors occur, only show the "Save as new" button and not the other save buttons. Thanks to Tino de Bruijn for doing the real work on this fix.
2015-05-02Optimized two functions slightly.Aymeric Augustin
This avoids calling date.tzinfo.utcoffset(date) twice. It's also robust to cases where that function returns None -- which never happens in practice :-)
2015-05-02Simplified the implementation of timezone.is_aware/naive.Aymeric Augustin
2015-05-02Fixed #24693 -- Added label and label_lower property to Model._metaLuis Del Giudice
2015-05-02Moved migration exception classes to shared moduleMarkus Holtermann
Thanks Aymeric Augustin for the review.
2015-05-01Fixed #24724 -- Fixed GIS initialization crash on Windows.Tim Graham
2015-05-01Fixed #24676 -- Fixed help text positioning in ``contrib.admin`` filter_* ↵Tim Graham
widgets.
2015-05-01Fixed #23271 -- Fixed makemessages crash/test failure for some locales.daphshez
2015-04-30Updated translations from TransifexClaude Paroz
Updates for languages: Indonesian, Belarusian, Persian, and Dutch. Forward port of cb370f8510 from stable/1.8.x
2015-04-30Fixed #24725 -- Allowed renaming of target models in ManyToMany relationsMarkus Holtermann
This is a regression caused by introducing rendered migration states in 1aa3e09c2043 and the _meta refactoring in fb48eb05816b. Thanks to Danilo Bargen for reporting the issue and Marten Kenbeek and Tim Graham for triaging the bug and providing the initial test case.
2015-04-28Fixed #13008 -- Added more Cache-Control headers to never_cache() decorator.Markus Bertheau
2015-04-28Fixed #24719 -- Restored the ability to use interators as queryset related ↵Aric Coady
object filters.
2015-04-26Fixed #24707 -- Improved error reporting for explicitly imported uncallable ↵Harry
views
2015-04-25Fixed #24689 -- Fixed DetailView methods with deferred QuerySet.Artis Avotins
2015-04-25Fixed #24649 -- Allowed using Avg aggregate on non-numeric field types.Tim Graham
2015-04-25Fixed #24499 -- Dropped support for PostGIS 1.5.Tim Graham
2015-04-25Fixed #24701 -- Converted model manager names to unicode in migrationsMarkus Holtermann
Thanks to Reto Aebersold for reporting the issue and Tim Graham and Claude Paroz for the review.
2015-04-25Fixed #24703 -- Changed squashmigrations to use a MigrationLoaderMarten Kenbeek
Changed squashmigrations to not instantiate a MigrationExecutor, but to directly use a MigrationLoader instance instead.
2015-04-24Fixed #24063 -- Allowed locale variants supported by gettext.Michal Čihař
The locale code can contain a variant after @, so allowed that.
2015-04-24Fixed #24643 -- Added get_context_data() method to FormMixinAndrei Kulakov
2015-04-24Delayed GDAL check for OSMGeoAdminClaude Paroz
2015-04-24Rearranged imports in geos filesClaude Paroz
2015-04-24Removed many HAS_GEOS conditional importsClaude Paroz
2015-04-24Lazy loading of GEOS functionsClaude Paroz
2015-04-24Fixed #22598 -- Allowed make_aware() to work with ambiguous datetimeJosh Smeaton
2015-04-24Fixed #24526 -- Combined django.request/security loggers with the root logger.Tim Graham
Thanks Carl Meyer for review.
2015-04-23Fixed failures with older Spatialite versionsClaude Paroz
2015-04-22Improved display of template loader postmortem on debug page.Preston Timmons
This now works for multiple Django engines and recursive loaders. Support for non-Django engines is still pending. Refs #15053.
2015-04-22Fixed #15053 -- Enabled recursive template loading.Preston Timmons
2015-04-22Deprecated legacy GeoManager/GeoQuerySet methodsClaude Paroz
2015-04-22Added MySQL support to GIS functionsClaude Paroz
2015-04-22Added Spatialite support to GIS functionsClaude Paroz
2015-04-22Fixed #24214 -- Added GIS functions to replace geoqueryset's methodsClaude Paroz
Thanks Simon Charette and Tim Graham for the reviews.
2015-04-21Fixed #24681 -- Removed Unicode bug in BrokenLinkEmailMiddlewareOliver A Bristow
2015-04-21Fixed #24573 -- Considered new related models for reloadingMarkus Holtermann
Thanks tttomekkk for the report.
2015-04-21Refs #24354 -- Prevented repointing of relations on superclasses when ↵Matthew Wilkes
migrating a subclass's name change The issue was hidden on 1.8+ until #24573 due to a bug inside the model reloading process. Forwardport of patch from ae87ad005f7b62f5fa5a29ef07443fa1bbb9baf0
2015-04-20Fixed #24591 -- Optimized cloning of ModelState objects.Marten Kenbeek
Changed ModelState.clone() to create a shallow copy of self.fields and self.managers.
2015-04-20Fixed #24654 -- Based ordering circular references detection on columns.Simon Charette
Thanks to Elmar Bucher for the report and Tim for the review.
2015-04-20Fixed #22394 -- Refactored built-in datetime lookups to transforms.Jon Dufresne
2015-04-20Refs #24397 -- Sped up model reloading in ProjectState.Marten Kenbeek
Created bulk_update() context manager on StateApps. Sped up unregistering models in reload_models() by using this context mananger.
2015-04-20Refactored PasswordResetTokenGenerator to be a bit more extensible.Matt Robenolt
2015-04-20Fixed #24664 -- Removed misleading arg name from ↵David Danier
TemporaryFileUploadHandler.new_file