Permalink
Switch branches/tags
Nothing to show
Commits on May 22, 2012
  1. [2/2] #18343 -- deferred model pk handling in inheritance case

    akaariai committed May 22, 2012
    Assuming an inherited model with parent_ptr_id -> id, doing a deferred
    load and then fetching the id field would cause a database query, even
    if the id field's value is already loaded in the parent_ptr_id field.
  2. [1/2] #18343 -- Cleaned up deferred model implementation

    akaariai committed May 22, 2012
    Generic cleanup and dead code removal in deferred model field loading
    and model.__reduce__().
  3. Fixed #18304 -- Optimized save() when update_can_self_select=False

    akaariai committed May 12, 2012
    Databases with update_can_self_select = False (MySQL for example)
    generated non-necessary queries when saving a multitable inherited
    model, and when the save resulted in update.
  4. Fixed #18167 -- Gave advice on checking Django version in the tutorial.

    claudep committed May 22, 2012
    Thanks smuss for the initial patch.
  5. Fixed #18113 -- Corrected get_template_names docstrings.

    claudep committed May 22, 2012
    Thanks Keryn Knight for the report.
Commits on May 21, 2012
  1. Fixed #18115 - added warning about overlaid install.

    carljm committed May 21, 2012
    Setup.py now warns if it detects that Django is being installed over top
    of a previous installation that was never removed. This should only
    happen when installing with ``python setup.py install``, as pip
    automatically uninstalls before installing a new version and
    easy_install installs as an egg directory.
    
    Also generally updated the installation doc.
Commits on May 20, 2012
  1. Regenerated the minified versions of the admin actions and admin inli…

    jezdez committed May 20, 2012
    …nes JavaScript files forgotten in 04785d2 and f92c7c5 (and previous).
  2. Fixed #18354 -- Performance issue in CBV.

    aaugustin committed May 20, 2012
    Prevented repeating a query twice when the model isn't ordered by
    -date_field (in Meta), allow_empty is False and pagination isn't
    enabled.
Commits on May 19, 2012
  1. Imported reduce from functools for forward compatibility.

    claudep committed May 19, 2012
    In Python 3, reduce has to be imported from functools.
  2. Followed a best practice in the time zones docs.

    aaugustin committed May 19, 2012
    Prevented localize from swallowing non existent or ambiguous
    datetimes.
  3. Marked bytestrings with b prefix. Refs #18269

    claudep committed May 19, 2012
    This is a preparation for unicode literals general usage in
    Django (Python 3 compatibility).
  4. Fixed #18340 -- Fixed formtools form_hmac with Unicode input

    claudep committed May 19, 2012
    Using cPickle, two apparently identical Unicode strings could
    generate different pickled results depending on previous operations
    on those strings.
  5. Merge pull request #81 from glenrobertson/patch-1

    akaariai committed May 19, 2012
    Fixed doc typo on GeoQuerySet.geohash method.
Commits on May 18, 2012
  1. Merge pull request #24 from marcneuwirth/master

    adrianholovaty committed May 18, 2012
    Removed 'return false' in favor of preventDefault in admin JS.
  2. Merge pull request #68 from BooBSD/patch-1

    adrianholovaty committed May 18, 2012
    Fixed e-mail duplicates in the AUTHORS.
  3. Merge pull request #70 from tswicegood/fix-js-scope

    adrianholovaty committed May 18, 2012
    Cleaned up various JavaScript in admin JS.
  4. Merge pull request #79 from stratoukos/master

    adrianholovaty committed May 18, 2012
    Removed mention of djangoproject.com from cbv topic
  5. Cleaned up WSGIRequestHandler get_environ to be Python 3 compatible

    claudep committed May 17, 2012
    headers.type/typeheader attributes are gone in Python 3. Thanks
    Vinay Sajip for the inspiration of his Python 3 branch.
  6. Got rid of old __cmp__methods replaced by rich comparison.

    claudep committed May 18, 2012
    The __cmp__ methods are unsupported in Python 3.
    _doctest.py has been left untouched because it is likely it will
    not be migrated to Python 3.
  7. remove mention of djangoproject.com from cbv topic

    Stratos Moros
    Stratos Moros committed May 18, 2012
    The class based views topic mentions that the djangoproject.com weblog
    is built using the date-based generic views, but looking at the code,
    it actually uses the deprecated pre-1.3 function based generic views.
  8. Fixed #18334 -- Fixed detection of supports_stddev backend feature.

    claudep committed May 18, 2012
    Thanks to Michael Manfre for the report and Anssi Kääriäinen for the
    review.
Commits on May 17, 2012
  1. Small change to a template in the FormWizard docs

    SmileyChris committed May 17, 2012
    Specifically, the template was referred to as a "full example template"
    but didn't {% load i18n %} even though {% trans %} was used.
  2. Added load i18n code to the base wizard form template documentation a…

    jcowgar committed May 17, 2012
    …s it uses the trans tag.
  3. Fixed #18323 -- Refactored date arithmetic

    aaugustin committed May 17, 2012
    in date based generic views, in order to deal properly with both
    DateFields and DateTimeFields.
  4. Fixed #9893 -- Validated the length of file names

    aaugustin committed May 17, 2012
    after the full file name is generated by the storage class.
    
    Thanks Refefer for the report, carsongee for the patch, and
    everyone else involved in the discussion.