Giter Site home page Giter Site logo

djinn / django-achievements Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ogirardot/django-achievements

2.0 1.0 0.0 156 KB

Django app to handle user achievements and reward them with points

License: BSD 3-Clause "New" or "Revised" License

Shell 14.76% Python 85.24%

django-achievements's Introduction

django-achievements - Django App for user achievements

Version: 0.0.3 beta
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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.