Metadata-Version: 1.1
Name: django-last-used
Version: 0.1
Summary: Keep track of last used objects on a django app
Home-page: http://bitbucket.org/ferranp/django-last-used
Author: Ferran Pegueroles
Author-email: ferran@pegueroles.com
License: GPL
Description: ================
        django-last-used
        ================
        
        Keep track of last used objects in a django app.
        
        Installation
        ============
        
        #. Install with ``pip install django-last-used"`` or ddd ``"last_used"`` directory to your Python path.
        #. Add ``"last_used"`` to the ``INSTALLED_APPS`` tuple found in
           your settings file.
        #. Run ``manage.py syncdb`` to create the new tables
        
        Usage
        =====
        
        For save used objects::
        
            import last_used
        
            # save used object
            last_used.use(object=item, user=user)
        
            # save with a key
            last_used.use(object=article, user=user, key="read")
        
            last_used.use(object=article, user=user, key="seen")
        
        
        For get last used objects::
        
            import last_used
        
            # get last used
            last_used_articles = last_used.get(model=Article, user=user)
        
            # get with a key
            last_read_articles = last_used.get(model=Article, user=user, key="read")
        
        
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
