import django.contrib.postgres.fields.ranges
from django.db import migrations, models
import psycopg2.extras
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='RangeTestModel',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('a', django.contrib.postgres.fields.ranges.DateTimeRangeField(default=None, null=True)),
('b', django.contrib.postgres.fields.ranges.DateTimeRangeField(default=(None, None))),
('c', django.contrib.postgres.fields.ranges.DateTimeRangeField(default=psycopg2.extras.DateTimeTZRange(None, None, '[]'))),
],
),
]