Ticket #28073: 0001_initial.py

File 0001_initial.py, 685 bytes (added by Logan Gunthorpe, 8 years ago)
Line 
1# -*- coding: utf-8 -*-
2from __future__ import unicode_literals
3
4from django.db import models, migrations
5from django.conf import settings
6import timezone_field.fields
7
8
9class Migration(migrations.Migration):
10
11 dependencies = [
12 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
13 ]
14
15 operations = [
16 migrations.CreateModel(
17 name='UserProfile',
18 fields=[
19 ('user', models.OneToOneField(to=settings.AUTH_USER_MODEL)),
20 ('timezone', timezone_field.fields.TimeZoneField(default='America/Edmonton')),
21 ],
22 options={
23 },
24 bases=(models.Model,),
25 ),
26 ]
Back to Top