Permalink
Commits on Aug 18, 2012
  1. Improved datetime parsing

    Fixes parsing of ISO 8601 dates containing no colon in the time zone
    offset.
    committed Aug 18, 2012
  2. @andrewgodwin

    Merge pull request #287 from uruz/ticket18791

    Fixed #18791: [py3] Double import of six in django.forms.widgets
    andrewgodwin committed Aug 18, 2012
  3. @andrewgodwin

    Merge pull request #289 from mjtamlyn/slugify-real-function

    Fixed bug in 212b982 -- Removed duplicate code in removetags
    andrewgodwin committed Aug 18, 2012
  4. @andrewgodwin

    Merge pull request #288 from mjtamlyn/date-list-period

    Fixed #3542 -- Add support for changing granularity on ArchiveView.
    andrewgodwin committed Aug 18, 2012
  5. @mjtamlyn
  6. @mjtamlyn

    Fixed #3542 -- Add support for changing granularity on ArchiveView.

    Resolving the concept from a very old ticket in a more class-based-view
    manner.
    mjtamlyn committed Aug 18, 2012
  7. @aaugustin
  8. @uruz
  9. @aaugustin

    [py3] Avoided passing a lazy string to urlparse.

    This causes an exception under Python 3.
    
    Fixed #18776.
    aaugustin committed Aug 18, 2012
  10. @aaugustin

    Introduced force_bytes and force_str.

    This is consistent with the smart_* series of functions and it's going
    to be used by the next commit.
    aaugustin committed Aug 18, 2012
  11. @mjtamlyn @andrewgodwin

    Fixed #17228 -- params context variable is inconsistent

    Remove the params variable from the context and just put the variables
    in directly.
    
    This had not been committed previously as the original pattern was used
    in the functional generic views and we wanted consistency between them,
    but django.views.generic.simple.direct_to_template is now gone so we can
    do it 'right'.
    mjtamlyn committed with andrewgodwin Aug 18, 2012
  12. @mjtamlyn @andrewgodwin

    Fixed #14516 -- Extract methods from removetags and slugify template …

    …filters
    
    Patch by @jphalip updated to apply, documentation and release notes
    added.
    
    I've documented strip_tags as well as remove_tags as the difference
    between the two wouldn't be immediately obvious.
    mjtamlyn committed with andrewgodwin Aug 18, 2012
  13. @mjtamlyn @andrewgodwin

    Fixed #16744 -- Class based view should have the view object in the c…

    …ontext
    
    Updated the most recent patch from @claudep to apply again and updated
    the documentation location.
    mjtamlyn committed with andrewgodwin Aug 18, 2012
  14. @aaugustin

    [py3] Ported django.utils.safestring.

    Backwards compatibility aliases were created under Python 2.
    aaugustin committed Aug 18, 2012
  15. @andrewgodwin

    Merge pull request #283 from mjtamlyn/ipv6-address-validation

    Fixed #18779 -- URLValidator can't validate url with ipv6.
    andrewgodwin committed Aug 18, 2012
  16. @mjtamlyn

    Fixed #18779 -- URLValidator can't validate url with ipv6.

    Validation is reasonably 'soft', as for the ipv4. False positives don't
    matter too much here.
    mjtamlyn committed Aug 18, 2012
  17. @aaugustin

    [py3] Removed gratuitous use of map/lambda

    that causes a test failure on Python 3 because map returns an iterator.
    aaugustin committed Aug 18, 2012
  18. @aaugustin

    [py3] Stopped attempting to translate bytes.

    That goes actively against the goal of cleaning string handling.
    aaugustin committed Aug 18, 2012
  19. @aaugustin

    [py3] Fixed cache tests.

    aaugustin committed Aug 18, 2012
  20. @aaugustin

    [py3] Fixed backends tests.

    aaugustin committed Aug 18, 2012
  21. @aaugustin

    Cleaned up a test slightly.

    We should catch all exceptions in the thread to ensure it doesn't die
    with an unhandled exception. The type of the exception is already
    checked further in the test.
    aaugustin committed Aug 18, 2012
  22. @aaugustin

    [py3] Added compatibility import of thread/_thread

    This commit fixes the auto-reload of the development server.
    
    I should have done that change in ca07fda.
    aaugustin committed Aug 18, 2012
  23. @aaugustin

    [py3] Fixed formtools tests.

    Python 3 adds a new pickle protocol. The tests were updated in a way
    that makes it easy to add another pickle protocol, should Python gain
    one.
    
    Thanks Thomas Pelletier for providing an initial version of this patch.
    aaugustin committed Aug 18, 2012
  24. @aaugustin

    Merge pull request #282 from ptone/patch-1

    Corrected docs on setup of JSONResponseMixin example
    aaugustin committed Aug 18, 2012
  25. @aaugustin
  26. @aaugustin

    [py3] Fixed templates tests.

    aaugustin committed Aug 18, 2012
  27. @aaugustin

    Added a warning about the {% url %} syntax change

    at the point where it bites most beginners.
    
    Refs #18787, #18762, #18756, #18723, #18705, #18689 and several duplicates.
    aaugustin committed Aug 18, 2012
  28. @ramiro

    Made createsuperuser more robust when getting current OS username.

    Under some versions of OS X, failure in getting the default system
    locale during the syncdb operation of the auth app were causing hard to
    diagnose problems afterwards.
    
    No solution based on getpreferredencoding() was chosen because it has
    its own problems with certain combinations of Python and OS X versions
    (e.g. http://bugs.python.org/issue6202).
    
    Thanks prestonsimmons for the report and prestonsimmons and willhardy
    for the initial patch.
    
    Fixes #16017.
    ramiro committed Aug 18, 2012
  29. @ptone

    Update docs/topics/class-based-views/index.txt

    View class does not have a render_to_response method - so does not make sense for this mixin
    ptone committed Aug 18, 2012
Commits on Aug 17, 2012
  1. @claudep
  2. @timgraham

    Merge pull request #271 from morty/patch-1

    Fixed doc comment in django.contrib.admin example to match the code
    timgraham committed Aug 17, 2012
  3. @timgraham
  4. @timgraham

    Merge pull request #261 from issackelly/cbv-full-list

    Create headings and expand CBV docs so that the "Built-In CBV" docs include a full list.
    timgraham committed Aug 17, 2012
  5. @aaugustin

    [py3] Fixed __unicode__ methods missed in d4a0b27

    due to non-standard syntax (a stray comma). Thanks dmishe for the report.
    aaugustin committed Aug 17, 2012
Commits on Aug 16, 2012
  1. @timgraham

    Fixed #17183 - Added a note regarding LocaleMiddleware at the top of …

    …the i18n docs. Thanks krzysiumed for the patch.
    timgraham committed Aug 16, 2012