Skip to content
Commits on Mar 7, 2014
  1. @agonzalezro

    Merge pull request #6 from agonzalezro/non-existent-instances

    agonzalezro committed
    Create non-existent instances
Commits on Feb 28, 2014
  1. @agonzalezro

    Create non-existent instances is create=True

    agonzalezro committed
    It's possible that the object related with the cache model that we are
    trying to access doesn't exist yet.
    
    If we had created our caching model with create=True, example:
    
        cache_relation(User.settings, create=True)
    
    the instance for User.settings is going to be created in caste that it
    was not found.
    
    Added some spaces to be Flake8 compliant.
Commits on Apr 5, 2012
  1. @lamby
Commits on Mar 11, 2012
  1. @lamby

    Document this.

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
Commits on Jan 30, 2012
  1. @icohen @lamby
Commits on Jan 19, 2012
  1. @lamby

    O middleware! my middleware! our fearful typo is done

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
Commits on Sep 8, 2011
  1. @lamby

    Make this copy-pastable.

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
Commits on Jul 8, 2011
  1. @lamby

    Some attempt at multidb support.

    lamby committed
    We don't namespace instances by their database though so this could cause
    coherency problems if you duplicate your tables across databases.
    
    Signed-off-by: Chris Lamb <chris@playfire.com>
  2. @lamby

    Blindly set instance._state.db to fix ForeignKey/m2m issues. Closes GH-1

    lamby committed
    .
    
    Signed-off-by: Chris Lamb <chris@playfire.com>
Commits on Jun 23, 2011
  1. @lamby

    Entirely the wrong directory.

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
  2. @lamby

    Add cache templatetags.

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
  3. @lamby

    Forgot to save..

    lamby committed
  4. @lamby

    Add links to docs.

    lamby committed
  5. @lamby

    Better titles.

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
  6. @lamby

    Nicer title.

    lamby committed
  7. @lamby

    Rename project to django-cache-toolbox.

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
  8. @lamby

    Add a whole bunch of docs.

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
  9. @lamby

    This won't work as the primary key is wrong.

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
  10. @lamby

    Typo.

    lamby committed
  11. @lamby

    Rename cache_key => instance_key.

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
  12. @lamby

    Tidy

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
  13. @lamby

    Import cache_backed_auth.

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
  14. @lamby

    Rename to 'timeout'

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
  15. @lamby

    Allow global settings to override.

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
  16. @lamby

    Set default duration in one place.

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
  17. @lamby

    Use duration when caching relations.

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
  18. @lamby

    Clear relation caches on delete too.

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
  19. @lamby

    Split cache_model and cache_relation into separate modules.

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
  20. @lamby

    Split out core utilities into 'core' module.

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
  21. @lamby

    Drop the class decorator as it's silly and rename clear_cache_on_save.

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
  22. @lamby

    Split out the post_save, post_delete & get_cached patching into method.

    lamby committed
    This is all awfully named, but will fix later.
    
    Signed-off-by: Chris Lamb <chris@playfire.com>
Commits on Jun 20, 2011
  1. @lamby

    Pass through duration.

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
  2. @lamby

    We can now cache instances a bit easier.

    lamby committed
    The Model.get_cached(pk) interface is clunky - I wonder if we can set
    helper methods on all foreign keys of that object.
    
    Signed-off-by: Chris Lamb <chris@playfire.com>
  3. @lamby

    Prevent problems with caching instances with DNImageField

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
  4. @lamby

    Document the primary key skipping.

    lamby committed
    Signed-off-by: Chris Lamb <chris@playfire.com>
Something went wrong with that request. Please try again.