fysm-4-1iframespace-accessstablestagetest-hooks
|
Last change
on this file since 493de25 was
aba463b,
checked in by Alex Dehnert <adehnert@…>, 16 years ago
|
|
Whoo, basic FYSM support
|
-
Property mode set to
100644
|
|
File size:
430 bytes
|
| Line | |
|---|
| 1 | import forms.models |
|---|
| 2 | from django.contrib import admin |
|---|
| 3 | |
|---|
| 4 | class FYSMAdmin(admin.ModelAdmin): |
|---|
| 5 | list_display = ( |
|---|
| 6 | 'group', |
|---|
| 7 | 'year', |
|---|
| 8 | 'website', |
|---|
| 9 | 'contact_email', |
|---|
| 10 | ) |
|---|
| 11 | list_display_links = ('group', 'year', ) |
|---|
| 12 | |
|---|
| 13 | class FYSMTagsAdmin(admin.ModelAdmin): |
|---|
| 14 | list_display = ( |
|---|
| 15 | 'name', |
|---|
| 16 | ) |
|---|
| 17 | |
|---|
| 18 | admin.site.register(forms.models.FYSM, FYSMAdmin) |
|---|
| 19 | admin.site.register(forms.models.FYSMTags, FYSMTagsAdmin) |
|---|
Note: See
TracBrowser
for help on using the repository browser.