Mercurial > public > sg101
annotate forums/migrations/0002_auto_20151214_2000.py @ 1151:f56798c96ec2
WIP convert downloads to V3 design.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 13 Dec 2016 21:56:21 -0600 |
parents | 5ba2508939f7 |
children |
rev | line source |
---|---|
bgneal@1028 | 1 # -*- coding: utf-8 -*- |
bgneal@1028 | 2 from __future__ import unicode_literals |
bgneal@1028 | 3 |
bgneal@1028 | 4 from django.db import migrations, models |
bgneal@1028 | 5 |
bgneal@1028 | 6 |
bgneal@1028 | 7 class Migration(migrations.Migration): |
bgneal@1028 | 8 |
bgneal@1028 | 9 dependencies = [ |
bgneal@1028 | 10 ('forums', '0001_initial'), |
bgneal@1028 | 11 ] |
bgneal@1028 | 12 |
bgneal@1028 | 13 operations = [ |
bgneal@1028 | 14 migrations.AlterField( |
bgneal@1028 | 15 model_name='category', |
bgneal@1028 | 16 name='groups', |
bgneal@1028 | 17 field=models.ManyToManyField(help_text=b'If groups are assigned to this category, only members of those groups can view this category.', to='auth.Group', blank=True), |
bgneal@1028 | 18 ), |
bgneal@1028 | 19 migrations.AlterField( |
bgneal@1028 | 20 model_name='forum', |
bgneal@1028 | 21 name='moderators', |
bgneal@1028 | 22 field=models.ManyToManyField(to='auth.Group', blank=True), |
bgneal@1028 | 23 ), |
bgneal@1028 | 24 migrations.AlterField( |
bgneal@1028 | 25 model_name='post', |
bgneal@1028 | 26 name='user_ip', |
bgneal@1028 | 27 field=models.GenericIPAddressField(default=b'', null=True, blank=True), |
bgneal@1028 | 28 ), |
bgneal@1028 | 29 ] |