semvec/pypi-packages huggingface dataset:
django-cache-magic 0.1.0
Django Cache Magic
License: BSD

Django-Cache-Magic
================

Cache magic addresses two common scenarios for caching and cache invalidation
for django models: *instance caching* and *related objects caching*.

Instance caching: Storing instances of objects in your cache layer
as well as your database.

Related objects caching: Storing a collection of objects related to another
object referenced by relational constraints (ForeignKey, ManyToMany, etc.)

Installing
----------
    pip install -e "git+https://github.com/ntucker/django-cache-magic#egg=cachemagic"

Usage
-----
To start autocaching model instances, add a CacheController to your model:

    from django.db import models
    from cachemagic import CacheController

    class myModel(models.Model):
        f1 = models.IntegerField()
        f2 = models.TextField()

        cache = CacheController()

    myModel.cache.get(pk=27)

When using cachemagic, you should avoid django operations that update multiple
rows at once, since these operations typically don't emit the signals that
cachemagic relies on for cache invalidation. This includes methods like
[`Queryset.update`](https://docs.djangoproject.com/en/1.3/ref/models/querysets/#update),
[`Queryset.delete`](https://docs.djangoproject.com/en/1.3/ref/models/querysets/#delete),
and
[`RelatedManager.clear`](https://docs.djangoproject.com/en/1.3/ref/models/relations/#django.db.models.fields.related.RelatedManager.clear)

Find the complete documentation at [django-cache-magic.readthedocs.org](http://django-cache-magic.readthedocs.org/).


Thanks
------
Big thanks to [Travis Fischer](https://github.com/travisfischer) for drafting
a lot of documentation and tests!
django-testimony 0.0.2
A Django app that will create a pluggable django-cms testimony form and content plugin within your project..
License: BSD
Keywords: django,cms,theme

================
django-testimony
================

A Django app that creates django-cms testimony content display plugin on a CMS page.  There is an option for static display of a specified number of testimonials or animated scrollers as well.

Dependencies
============

- django
- django-cms

Getting Started
===============

The easiest way is to use `pip` to install the app in your python environment like so:: 

  pip install django-testimonial
  
Then add the plugin to your Django-CMS project at the bottom of the `settings.py` file. Something like so:: 

  INSTALLED_APPS += ( 'testimony', )

Perform the usual `syncdb` and `migrate` to update your database::

  python manage.py syncdb
  python manage.py migrate

And you are done.  

Usage
=====

Add the plugin to a page and then go to your admin area to add some testimonials.  Mark the ones you want to see as published.  Thats it!

Advanced Usage
==============

You can add or change the templates available in the admin by creating a setting like the following in your `settings.py` file:: 

    if 'testimony' in INSTALLED_APPS:
        TESTIMONY_TEMPLATES = (
            ('testimony/list_default.html', gettext('Default list (stationary)')),
            ('testimony/rotator.html', gettext('Continuous scroll (animated)')),
            ('testimony/vticker.html', gettext('Scroll and pause (animated)')),
            )
    
Whats next?
===========
Adding the testimonial collection form as a plugin, with optional captcha support.
trac-WorkflowActionButtons 0.2
Adds one-click buttons to Trac tickets for workflow operations (closing, reassigning, commenting)
License: BSD
Keywords: trac plugin

This plugin adds a row of "action buttons" to the top of every ticket detail page. These buttons allow you to quickly act on a ticket (with a workflow action like "reassign", "resolve", "reopen", etc) without scrolling down to the Actions section. When a button is pressed, a modal dialog opens up with a small form prompting the user for any additional information (e.g. resolution when resolving the ticket, or new owner when reassigning) and an optional comment.

The plugin does nothing if Javascript is disabled.