summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-05-16Hidden __pycache__ dirs for FilePathField. Refs #17393.Claude Paroz
This will be tested as soon as tests will run under Python 3. Patch taken from Vinay Sajip's Python 3 branch.
2012-05-16Swap out to === for the true comparison to avoid possible coercion issuesTravis Swicegood
2012-05-16Add missing semi-colonsTravis Swicegood
2012-05-16Remove `var` declaration---this variable is already delcared as an argumentTravis Swicegood
2012-05-16Make sure these functions don't bleed into the global scopeTravis Swicegood
This makes sure that all of these functions are assigned to variables assigned to the current scope, rather than the global scope. It also adds a trailing semi-colon to make sure various linters are happy.
2012-05-16Fixing my e-mail duplicates.Boo
2012-05-16Merge pull request #43 from techtonik/patch-1Adrian Holovaty
Fixed #18267 -- document `settings.configured` property.
2012-05-16Fix issue #18267 - document `settings.configured` property.anatoly techtonik
2012-05-16Fixed #17896 -- Added file_hash method to CachedStaticFilesStorage to be ↵Jannis Leidel
able to customize the way the hashed name of a file is created. Thanks to mkai for the initial patch.
2012-05-15Updated installation instructions.Aymeric Augustin
Django 1.5 requires Python 2.6 or 2.7, and setup.py install over a previous installation doesn't work.
2012-05-15Fixed #18019 -- Use threaded runserver only when database supports it.Claude Paroz
2012-05-14Fixed #10890: added prev/next_week in the contextAymeric Augustin
of per-week date-based generic views. Thanks ee_lars for the report.
2012-05-12Replaced im_func and im_self by __func__ and __self__.Claude Paroz
The new names are Python 3 compatible.
2012-05-12Added missing relative imports in test files.Claude Paroz
2012-05-12Avoided test failure on MySQL by skipping a failing testAnssi Kääriäinen
MySQL generates an extra query in inheritance cases when doing an update. This results in a test failure when checking for number of queries in update_only_fields tests. Added a skip temporarily to avoid this test failure. Refs #18304.
2012-05-12Fixed #4102 -- Allow update of specific fields in model.save()Andrei Antoukh
Added the ability to update only part of the model's fields in model.save() by introducing a new kwarg "update_fields". Thanks to all the numerous reviewers and commenters in the ticket
2012-05-12Removed 'return false' in favor of preventDefault.Marc Neuwirth
Moved preventDefault to the top
2012-05-11Fixed typo in utils/archive.py docstringAdrian Holovaty
2012-05-11Fixed #18301 -- Fixed url name in password reset example.Claude Paroz
Thanks nicknnn for the report.
2012-05-11Fixed #18281 -- Misleading wording in the tutorial.Aymeric Augustin
Thanks bhp for the report.
2012-05-11Fixed #18298 -- Marked error strings as translatable in CA localflavor.Tyler Ball
2012-05-10Fixed #17518 -- CSS glitch in StackedInline.Aymeric Augustin
Thanks sebastian for the report and patch.
2012-05-10Fixed #16335 -- Clarified an unintuitive behavior.Aymeric Augustin
The DTL will perform dict lookup before method lookup, which yields an unexpected result for defaultdicts.
2012-05-10Fixed #17798 -- Tweaked the CA localflavor.Aymeric Augustin
Thanks shelldweller.
2012-05-10Fixed #17950 -- Warned about usability limits of ModelChoiceField.Aymeric Augustin
Thanks poirier for the report.
2012-05-10Fixed #18093 -- Added a pk to AnonymousUser.Aymeric Augustin
2012-05-10Fixed #18257 -- Typo in contenttypes docs.Aymeric Augustin
2012-05-10Replaced foo.next() by next(foo).Claude Paroz
This new syntax for next() has been introduced in Python 2.6 and is compatible with Python 3.
2012-05-10Set the post process cache when finished instead of one by one.Jannis Leidel
This should prevent a race condition if running collectstatic is canceled or its cache is accessed from other processes, leaving the cache in a corrupt state.
2012-05-09Fix proxy model Query.remove_inherited_models()Anssi Kääriäinen
Fixed #18248 -- proxy models were added to included_inherited_models in sql.query.Query. The variable is meant to be used for multitable inheritance only. This mistake caused problems in situations where proxy model's query was reused.
2012-05-08Merge pull request #50 from duilio/masterAlex Gaynor
Make Comment._get_userinfo properly reentrant.
2012-05-08Comment._get_userinfo is thread safe nowmaurizio
2012-05-07Merge pull request #48 from akaariai/pull_38_fixAnssi Kääriäinen
Fixed total_ordering for Python < 2.7.2
2012-05-07Fixed total_ordering for Python < 2.7.2Anssi Kääriäinen
The total_ordering in Python versions prior to 2.7.2 is buggy, and this caused infinite recursion for Field comparisons on those versions. Use the borrowed total_ordering for all Python versions prior to 2.7.2. The buggy total_ordering was introduced in commit 5cbfb48b92cb26a335f9c8c0f79d3390290103e2
2012-05-07Made model fields comparable to other objectsSimon Charette
Fixed #17851 -- Added __lt__ and @total_ordering to models.Field, made sure these work correctly on other objects than Field, too.
2012-05-07Imported zip from future_builtins instead of itertools.izip.Claude Paroz
In Python 3, itertools.izip is not available any more (behaviour integrated in standard zip).
2012-05-06Updated time zone FAQ with timezone.localize.Aymeric Augustin
2012-05-05Used io.BytesIO also for ContentFile.Claude Paroz
io.StringIO would force the content to be Unicode, which would be slightly backwards incompatible.
2012-05-05Replaced cStringIO.StringIO by io.BytesIO.Claude Paroz
Also replaced StringIO.StringIO by BytesIO in some other appropriate places. StringIO is not available in Python 3.
2012-05-05Fixed the syntax used for the Python repl examples in docs and docstrings.Alex Gaynor
2012-05-05Commented on a line that inadvertantly slipped in commit 865cd35cClaude Paroz
Ignoring __pycache__ directories fixes #17393 and prepare testing with Python 3.
2012-05-05Made more extensive usage of context managers with open.Claude Paroz
2012-05-04Fixed #18270 -- Corrected variable name in password reset example.Claude Paroz
Thanks schnippi for the report.
2012-05-03Inserted more simplefilter calls to be sure warnings are emitted.Claude Paroz
Thanks to Florian Apolloner for suggesting the patch.
2012-05-03Made warning assertions work with or without -Wall python switchClaude Paroz
2012-05-03Used catch_warnings instead of save/restore methods. Refs #17049.Claude Paroz
2012-05-03Fixed broken URLs introduced in 1adc87cd32.Ramiro Morales
2012-05-03Removed unused file from i18n regression tests.Ramiro Morales
2012-05-03Merge branch 'master' of github.com:django/djangoRamiro Morales
2012-05-03Updated some URLs in the documentation to point to the new repository.Ramiro Morales