From e609552c59d05a41b98e786047d1ff02c1e3ab10 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 1 Nov 2014 12:31:52 -0500 Subject: Add bandwidth field to mirror URLs Not using this anywhere just yet, but suggested by Florian so we can do some more fancy things down the road, like determine bandwidth by country. Signed-off-by: Dan McGee --- mirrors/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mirrors/admin.py') diff --git a/mirrors/admin.py b/mirrors/admin.py index d5c89c2a..16a97ea2 100644 --- a/mirrors/admin.py +++ b/mirrors/admin.py @@ -11,7 +11,7 @@ class MirrorUrlForm(forms.ModelForm): class Meta: model = MirrorUrl - fields = ('url', 'country', 'active') + fields = ('url', 'country', 'bandwidth', 'active') def clean_url(self): # is this a valid-looking URL? -- cgit v1.2.3-54-g00ecf