OpenSlides/openslides/agenda/admin.py
Oskar Hahn 22ef402a50 use django-mptt to ordner the Agenda
http://django-mptt.github.com
you have to run:
pip install django-mptt
2012-02-20 00:14:54 +01:00

19 lines
414 B
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
openslides.agenda.admin
~~~~~~~~~~~~~~~~~~~~~~~
Register app for admin site.
:copyright: 2011 by the OpenSlides team, see AUTHORS.
:license: GNU GPL, see LICENSE for more details.
"""
from django.contrib import admin
from mptt.admin import MPTTModelAdmin
from openslides.agenda.models import Item
admin.site.register(Item, MPTTModelAdmin)