Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yamila-moreno/django-openbadges
Django application to make openbadges assertions
https://github.com/yamila-moreno/django-openbadges
Last synced: 4 days ago
JSON representation
Django application to make openbadges assertions
- Host: GitHub
- URL: https://github.com/yamila-moreno/django-openbadges
- Owner: yamila-moreno
- License: other
- Created: 2013-07-01T15:09:56.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-07-10T21:11:44.000Z (over 11 years ago)
- Last Synced: 2024-04-17T01:23:43.077Z (9 months ago)
- Language: Python
- Size: 129 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Django OpenBadges
=================Django application to integrated with Mozilla OpenBadges system
(http://openbadges.org/). Every time, a award is given to a user, an assertion
(OBI compliant) is created.To use this app, it's necessary to configure in the django settings:
.. code-block:: python
INSTALLED_APPS = [
...
"openbadges",
...
]
BADGES_BASE_URL = 'http://localhost/'Base url where assertions will be available. When a user loads a badge to his
backpack, OBI checks the assertion url is correct.How works?
----------To generate the assertion, we use some functions attached to post_save signals:
.. code-block:: python
copy_image_to_award()
Inserts the assertion url to the badge image.
.. code-block:: python
save_identity_for_user()
Copies the actual user data to the assertion for future consistency.
.. code-block:: python
create_identity_for_user()
As the assertion identity hash contains the email information, if the email
changes, the identity should also change.