diff options
author | Filipp Lepalaan <filipp@mac.com> | 2016-02-09 18:47:35 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2016-02-09 18:47:35 +0200 |
commit | 983ffa251241ffa4f99a669fa490d1600700db17 (patch) | |
tree | a417d7b45e6288ca2cd26fa3144eb46f5bd26d8a /servo | |
parent | d4cb244ec9491e2a759566ff8eabc499dce4eea7 (diff) | |
download | Servo-983ffa251241ffa4f99a669fa490d1600700db17.tar.gz Servo-983ffa251241ffa4f99a669fa490d1600700db17.tar.bz2 Servo-983ffa251241ffa4f99a669fa490d1600700db17.zip |
Fix Django 1.9 deprecation warnings
Diffstat (limited to 'servo')
-rw-r--r-- | servo/migrations/0046_auto_20160209_1458.py | 26 |
1 files changed, 26 insertions, 0 deletions
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'), + ), + ] |