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/migrations/0002_mirrorurl_bandwidth.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 mirrors/migrations/0002_mirrorurl_bandwidth.py (limited to 'mirrors/migrations/0002_mirrorurl_bandwidth.py') diff --git a/mirrors/migrations/0002_mirrorurl_bandwidth.py b/mirrors/migrations/0002_mirrorurl_bandwidth.py new file mode 100644 index 00000000..f0118199 --- /dev/null +++ b/mirrors/migrations/0002_mirrorurl_bandwidth.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('mirrors', '0001_initial'), + ] + + operations = [ + migrations.AddField( + model_name='mirrorurl', + name='bandwidth', + field=models.FloatField(null=True, verbose_name=b'bandwidth (mbits)', blank=True), + preserve_default=True, + ), + ] -- cgit v1.2.3