Skip to content
Commits on May 18, 2012
  1. Added more tests for deferred model .save()

    Added tests for deferred model foreign key and inheritance cases.
    committed May 18, 2012
  2. Added a failing test for deferred model .save()

    When saving a deferred model, the meta class remember which fields are
    loaded, which not. This causes problems when setting some field to a
    value, as now the meta class remembers that the field is non-deferred.
    Of course, the correct approach would be to have the remembering done
    per instance instead.
    Added a test showing the above mentioned problem.
    committed May 18, 2012
  3. Fixed deferred model .save(using=other_alias)

    Deferred models saved to other database must be fully loaded and then
    saved using normal routes to other databases than the database the
    model was loaded from. That is, in this case using update_fields like
    behavior is not possible.
    committed May 18, 2012
Commits on May 16, 2012
  1. @niwinz
Commits on May 15, 2012
  1. @aaugustin

    Updated installation instructions.

    Django 1.5 requires Python 2.6 or 2.7, and install over a
    previous installation doesn't work.
    aaugustin committed May 15, 2012
  2. @claudep
Commits on May 14, 2012
  1. @aaugustin

    Fixed #10890: added prev/next_week in the context

    of per-week date-based generic views. Thanks ee_lars for the report.
    aaugustin committed May 14, 2012
Commits on May 12, 2012
  1. @claudep

    Replaced im_func and im_self by __func__ and __self__.

    The new names are Python 3 compatible.
    claudep committed May 12, 2012
  2. @claudep
  3. Avoided test failure on MySQL by skipping a failing test

    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.
    committed May 12, 2012
  4. @niwinz

    Fixed #4102 -- Allow update of specific fields in

    Added the ability to update only part of the model's fields in by introducing a new kwarg "update_fields". Thanks
    to all the numerous reviewers and commenters in the ticket
    niwinz committed with May 12, 2012
Commits on May 11, 2012
  1. @adrianholovaty
  2. @claudep

    Fixed #18301 -- Fixed url name in password reset example.

    Thanks nicknnn for the report.
    claudep committed May 11, 2012
  3. @aaugustin

    Fixed #18281 -- Misleading wording in the tutorial.

    Thanks bhp for the report.
    aaugustin committed May 11, 2012
  4. @tylerball @claudep
Commits on May 10, 2012
  1. @aaugustin

    Fixed #17518 -- CSS glitch in StackedInline.

    Thanks sebastian for the report and patch.
    aaugustin committed May 10, 2012
  2. @aaugustin

    Fixed #16335 -- Clarified an unintuitive behavior.

    The DTL will perform dict lookup before method lookup, which yields
    an unexpected result for defaultdicts.
    aaugustin committed May 10, 2012
  3. @aaugustin

    Fixed #17798 -- Tweaked the CA localflavor.

    Thanks shelldweller.
    aaugustin committed May 10, 2012
  4. @aaugustin

    Fixed #17950 -- Warned about usability limits of ModelChoiceField.

    Thanks poirier for the report.
    aaugustin committed May 10, 2012
  5. @aaugustin
  6. @aaugustin
  7. @claudep

    Replaced by next(foo).

    This new syntax for next() has been introduced in Python 2.6 and is
    compatible with Python 3.
    claudep committed May 10, 2012
  8. @jezdez

    Set the post process cache when finished instead of one by one.

    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.
    jezdez committed May 10, 2012
Commits on May 9, 2012
  1. Fix proxy model Query.remove_inherited_models()

    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.
    committed May 9, 2012
Commits on May 8, 2012
  1. @alex

    Merge pull request #50 from duilio/master

    Make Comment._get_userinfo properly reentrant.
    alex committed May 8, 2012
  2. @duilio
Commits on May 7, 2012
  1. Merge pull request #48 from akaariai/pull_38_fix

    Fixed total_ordering for Python < 2.7.2
    committed May 7, 2012
  2. Fixed total_ordering for Python < 2.7.2

    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
    committed May 7, 2012
  3. @charettes

    Made model fields comparable to other objects

    Fixed #17851 -- Added __lt__ and @total_ordering to models.Field,
    made sure these work correctly on other objects than Field, too.
    charettes committed with May 7, 2012
  4. @claudep

    Imported zip from future_builtins instead of itertools.izip.

    In Python 3, itertools.izip is not available any more (behaviour
    integrated in standard zip).
    claudep committed May 7, 2012
Commits on May 6, 2012
  1. @aaugustin
Commits on May 5, 2012
  1. @claudep

    Used io.BytesIO also for ContentFile.

    io.StringIO would force the content to be Unicode, which would be
    slightly backwards incompatible.
    claudep committed May 5, 2012
  2. @claudep

    Replaced cStringIO.StringIO by io.BytesIO.

    Also replaced StringIO.StringIO by BytesIO in some other appropriate
    places. StringIO is not available in Python 3.
    claudep committed May 5, 2012
  3. @alex
  4. @claudep

    Commented on a line that inadvertantly slipped in commit 865cd35

    Ignoring __pycache__ directories fixes #17393 and prepare testing
    with Python 3.
    claudep committed May 5, 2012
Something went wrong with that request. Please try again.