Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Nov 26, 2015
  1. Add changelog for #67

  2. Merge pull request #67 from hstanev/master

    Check if migrations are allowed for the model before applying it
Commits on Nov 10, 2015
  1. @hstanev
Commits on Nov 1, 2015
  1. @jlemaes

    Django 1.9 support

    jlemaes committed
Commits on Aug 31, 2015
  1. Merge pull request #61 from DMOJ/static-patch

    Use django.contrib.staticfiles instead of STATIC_URL.
    That fixes statics to work with CachedStaticFilesStorage
Commits on Aug 26, 2015
  1. @quantum5

    Made statics work with CachedStaticFilesStorage

    quantum5 committed
    STATIC_URL and the `load static` doesn't work with CachedStaticFilesStorage.
    Only the tag from `load staticfiles` does.
Commits on Aug 13, 2015
  1. Add changelog for #59

Commits on Aug 6, 2015
  1. @appden

    Update to support Django 1.9

    appden committed
    Django 1.9 removes ReverseManyRelatedObjectsDescriptor in favor of using ManyRelatedObjectsDescriptor with `reverse` argument passed into it (though the meaning of reverse has been reversed, hah).
    It also adds a set() method to RelatedManager that handles setting all the new related objects. It tries to be more efficient by only adding and removing the ones necessary instead of clearing them all and adding them again. The old behavior is maintained by passing the `clear` keyword argument, which is what we now do.
  2. Release 1.0.2

  3. Add changelog for #56

  4. @appden

    Fix bug where order is wrong after adding objects

    appden committed with
    This problem was caused by using the count of the objects in the intermediary join table as the starting sort value. This was insufficient because deleting objects would not update the sort values.
    So imagine with a fresh database, you added 5 objects then deleted 3. The max sort value would be 4 (the 5th object would use the count prior to adding, hence 4), but when you add a new object, its sort value would be 2 (current count of intermediary objects), NOT 5!
    This fixes that by querying for the maximum sort value in use by the source object's intermediary objects and using that as the starting sort value.
    Since bulk_create() was introduced in Django 1.4 and there is a dummy atomic() implementation (that actually was not being used), there is no need to use a different implementation to create intermediary objects on Django 1.5. Also, this ensures the right database is being used for the transaction, which was not the case before.
Commits on Jun 18, 2015
  1. Bumping to 1.0.1

  2. Adding changelog for #54.

  3. @johnraz

    Make hidding trick js dependent

    johnraz committed
Commits on Jun 17, 2015
  1. Version 1.0!

Commits on Jun 13, 2015
  1. @johnraz

    Fixed performance when there is a lot of item in the m2m relation and a

    johnraz committed
    visual glitch.
    Formerly the jQuery code was looping through all the potential <input> elements
    that could be added to the m2m relationship in order to find the parent
    <ul> elements. It is now done this other way around, we only loop
    through <ul> elements that have <input> child with the `sortedm2m`
    We are also hidding the <ul> until it gets fully prepared, to avoid to have
    a bad flicker when initially loading the page.
Something went wrong with that request. Please try again.