Mercurial > public > sg101
comparison gpp/legal/admin.py @ 1:dbd703f7d63a
Initial import of sg101 stuff from private repository.
author | gremmie |
---|---|
date | Mon, 06 Apr 2009 02:43:12 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:900ba3c7b765 | 1:dbd703f7d63a |
---|---|
1 """This file contains the automatic admin site definitions for the legal models""" | |
2 | |
3 from django.contrib import admin | |
4 from legal.models import Policy | |
5 | |
6 class PolicyAdmin(admin.ModelAdmin): | |
7 list_display = ('title', 'policy_type') | |
8 | |
9 admin.site.register(Policy, PolicyAdmin) |