diff options
author | Dan McGee <dan@archlinux.org> | 2013-12-14 11:15:42 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-12-14 11:15:42 -0600 |
commit | d83e0842053b3a4a4dfb31f373d34ecf1e0c5ce2 (patch) | |
tree | 9870735d3c025627e219771840a1375fc4a02a9c /mirrors/admin.py | |
parent | ecece25814042d262bb7a102b9cbe48fc9c87db4 (diff) |
Add Flyspray Bug field to mirror model
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/admin.py')
-rw-r--r-- | mirrors/admin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mirrors/admin.py b/mirrors/admin.py index e35d9ce7..17365486 100644 --- a/mirrors/admin.py +++ b/mirrors/admin.py @@ -54,7 +54,7 @@ class MirrorAdminForm(forms.ModelForm): model = Mirror fields = ('name', 'tier', 'upstream', 'admin_email', 'alternate_email', 'public', 'active', 'isos', 'rsync_user', 'rsync_password', - 'notes') + 'bug', 'notes') upstream = forms.ModelChoiceField( queryset=Mirror.objects.filter(tier__gte=0, tier__lte=1), @@ -67,6 +67,7 @@ class MirrorAdmin(admin.ModelAdmin): 'isos', 'admin_email', 'alternate_email') list_filter = ('tier', 'active', 'public') search_fields = ('name', 'admin_email', 'alternate_email') + readonly_fields = ('created',) inlines = [ MirrorUrlInlineAdmin, MirrorRsyncInlineAdmin, |