Changes from server.
[cas.git] / src / accounts / migrations / 0001_initial.py
1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
3
4 from django.db import models, migrations
5
6
7 class Migration(migrations.Migration):
8
9     dependencies = [
10     ]
11
12     operations = [
13         migrations.CreateModel(
14             name='Service',
15             fields=[
16                 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
17                 ('ordering', models.IntegerField()),
18                 ('name', models.CharField(max_length=255)),
19                 ('url', models.URLField()),
20                 ('image', models.ImageField(upload_to='accounts/service/')),
21             ],
22             options={
23                 'ordering': ('ordering',),
24             },
25             bases=(models.Model,),
26         ),
27     ]