Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Django app to handle user achievements and reward them with points

branch: master
README.rst

django-achievements - Django App for user achievements

Version: 0.0.9
Source: http://github.com/ssaboum/django-achievements/

django-achievements is an application allowing you to handle Achievements and link them to users. Apart from defining these two objects the projet aims to provide a framework allowing you to define Achievement classes and callbacks that will be called by an Engine responsible for checking if a specific achievement has been unlocked by a user. You can access this engine from any part of your application and ask it to verify if a precise achievement has been unlocked given a context.

Warning, Warning

This is a very young project, yet i'm using it in production, therefore you can rely on it for being fully operational.

Using django-achievements

To enable django-achievements for your project you need to add achievements to INSTALLED_APPS:

INSTALLED_APPS += ("achievements", )

and execute the database sync command :

./manage.py syncdb

#or if you're using south :
./manage.py syncdb --migrate

That's all. If you want you can also customize the application settings these variables in your settings.py:

ACHIEVEMENT_USE_CELERY = True

Documentation

The documentation is generated using Sphinx and available on :

http://readthedocs.org/docs/django-achievements/en/latest/

Installation

This package is now uploaded on PyPi so all you need to do is to install it using :

pip install django-achievements

License

This software is licensed under the New BSD License. See the LICENSE file in the top distribution directory for the full license text.

Something went wrong with that request. Please try again.