1. 08 Nov, 2013 1 commit
    • Fix object creation with reverse M2M when related_name unspecified · b7b57ade
      It seems that field.related_query_name() does not return the related_name
      for reverse M2M relations when related_name is not explicitly set in the M2M field
      definition.
      
      So, change to use obj.get_accessor_name(), where obj is an instance of
      RelatedObject, as are returned by a model's
      _meta.get_all_related_many_to_many_objects(), or as in the tuples returned by
      _meta.get_all_m2m_objects_with_model().
      Ben Pietravalle committed
  2. 06 Nov, 2013 2 commits
  3. 05 Nov, 2013 1 commit
  4. 02 Nov, 2013 3 commits
  5. 31 Oct, 2013 2 commits
  6. 29 Oct, 2013 2 commits
  7. 25 Oct, 2013 1 commit
  8. 24 Oct, 2013 12 commits
  9. 22 Oct, 2013 7 commits
  10. 21 Oct, 2013 8 commits
  11. 20 Oct, 2013 1 commit
    • paginator should validate page and provide default · 63e6a3b4
      - use the standard paginator.validate_number method rather
        strict_postive_int.
      - support optional paginator method, default_page_number, to get the default
        page number rather than hard-coding it to 1
      - this allows supporting non-integer based pagination which can be an
        important performance tweak on extermely large datasets or high request
        loads
      - relatively thorough unit tests of the changes
      Ross McFarland committed