medor.www
clone your own copy | download snapshot

Snapshots | iceberg

Inside this repository

0010_auto_20151008_1154.py
text/x-python

Download raw (966 bytes)

# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
        ('publish', '0009_auto_20151008_1115'),
    ]

    operations = [
        migrations.CreateModel(
            name='License',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('name', models.CharField(max_length=1024, blank=True)),
                ('short_name', models.CharField(max_length=20, blank=True)),
                ('url', models.URLField(blank=True)),
            ],
            options={
            },
            bases=(models.Model,),
        ),
        migrations.AddField(
            model_name='article',
            name='license',
            field=models.ForeignKey(blank=True, to='publish.License', null=True),
            preserve_default=True,
        ),
    ]