add admin and a bit of documentation

This commit is contained in:
Jan Dittberner 2015-01-04 20:22:47 +01:00
parent 3eef84d373
commit 8697f84381
3 changed files with 34 additions and 1 deletions

View file

@ -2,6 +2,8 @@ Changelog
========= =========
* :feature:`-` add mysqltasks and pgsqltasks * :feature:`-` add mysqltasks and pgsqltasks
* :feature:`-` add :py:mod:`userdbs` app to allow management of user databases
via :py:mod:`mysqltasks` and :py:mod:`pgsqltasks`
* :feature:`-` add new app :py:mod:`taskresults` that takes care of handling * :feature:`-` add new app :py:mod:`taskresults` that takes care of handling
asynchronous `Celery`_ results asynchronous `Celery`_ results
* :feature:`-` add new task :py:func:`osusers.tasks.delete_ldap_group` (needs * :feature:`-` add new task :py:func:`osusers.tasks.delete_ldap_group` (needs

View file

@ -199,3 +199,21 @@ provides some functionality that is common to all gnuviechadmin subprojects.
------------------------------------- -------------------------------------
.. automodule:: taskresults.models .. automodule:: taskresults.models
:py:mod:`userdbs` app
=====================
.. automodule:: userdbs
:py:mod:`admin <userdbs.admin>`
-------------------------------
.. automodule:: userdbs.admin
:py:mod:`models <userdbs.models>`
---------------------------------
.. automodule:: userdbs.models

View file

@ -1,3 +1,16 @@
"""
Admin functionality for the :py:mod:`userdbs.models` models.
"""
from __future__ import absolute_import
from django.contrib import admin from django.contrib import admin
# Register your models here. from .models import (
DatabaseUser,
UserDatabase,
)
admin.site.register(DatabaseUser)
admin.site.register(UserDatabase)