comparison countdown/migrations/0001_initial.py @ 1081:ecb8f07d937b

Added countdown application.
author Brian Neal <bgneal@gmail.com>
date Sun, 24 Apr 2016 12:27:26 -0500
parents
children
comparison
equal deleted inserted replaced
1080:db8f5b3204b7 1081:ecb8f07d937b
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='Event',
15 fields=[
16 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
17 ('name', models.CharField(max_length=64)),
18 ('url', models.URLField()),
19 ('event_date', models.DateTimeField()),
20 ('is_active', models.BooleanField(db_index=True)),
21 ],
22 ),
23 ]