Using Piston auth in DRF views. Replacing API views.
[wolnelektury.git] / src / newsletter / migrations / 0001_initial.py
1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
3
4 from django.db import migrations, models
5
6
7 class Migration(migrations.Migration):
8
9     dependencies = [
10     ]
11
12     operations = [
13         migrations.CreateModel(
14             name='Subscription',
15             fields=[
16                 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
17                 ('email', models.EmailField(max_length=254, verbose_name='email address')),
18                 ('active', models.BooleanField(default=True)),
19                 ('created_at', models.DateTimeField(auto_now_add=True)),
20                 ('last_modified', models.DateTimeField(auto_now=True)),
21             ],
22         ),
23     ]