From 983ffa251241ffa4f99a669fa490d1600700db17 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 9 Feb 2016 18:47:35 +0200 Subject: Fix Django 1.9 deprecation warnings --- servo/migrations/0046_auto_20160209_1458.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 servo/migrations/0046_auto_20160209_1458.py (limited to 'servo/migrations/0046_auto_20160209_1458.py') diff --git a/servo/migrations/0046_auto_20160209_1458.py b/servo/migrations/0046_auto_20160209_1458.py new file mode 100644 index 0000000..dddbdae --- /dev/null +++ b/servo/migrations/0046_auto_20160209_1458.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.2 on 2016-02-09 12:58 +from __future__ import unicode_literals + +import django.core.validators +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('servo', '0045_auto_20151123_2021'), + ] + + operations = [ + migrations.AlterField( + model_name='device', + name='product_line', + field=models.CharField(choices=[(b'IPODCLASSIC', b'iPod Classic'), (b'POWERMAC', b'Power Mac'), (b'APPLETV', b'Apple TV'), (b'IMAC', b'iMac'), (b'OTHER', b'Other Products'), (b'MACBOOKAIR', b'MacBook Air'), (b'DISPLAYS', b'Display'), (b'IPODTOUCH', b'iPod Touch'), (b'MACPRO', b'Mac Pro'), (b'IPODNANO', b'iPod nano'), (b'IPAD', b'iPad'), (b'MACBOOK', b'MacBook'), (b'MACACCESSORY', b'Mac Accessory'), (b'MACMINI', b'Mac mini'), (b'WATCH', b'Apple Watch'), (b'MACBOOKLEGACY', b'MacBook'), (b'SERVERS', b'Server'), (b'BEATS', b'Beats Products'), (b'IPHONE', b'iPhone'), (b'IPHONEACCESSORY', b'iPhone Accessory'), (b'IPODSHUFFLE', b'iPod Shuffle'), (b'MACBOOKPRO', b'MacBook Pro'), (b'IPADACCESSORY', b'iPad Accessory')], default=b'OTHER', max_length=16, verbose_name='Product Line'), + ), + migrations.AlterField( + model_name='user', + name='username', + field=models.CharField(error_messages={'unique': 'A user with that username already exists.'}, help_text='Required. 30 characters or fewer. Letters, digits and @/./+/-/_ only.', max_length=30, unique=True, validators=[django.core.validators.RegexValidator('^[\\w.@+-]+$', 'Enter a valid username. This value may contain only letters, numbers and @/./+/-/_ characters.')], verbose_name='username'), + ), + ] -- cgit v1.2.3