Skip to content

Commit bc42fcb

Browse files
committed
Merge pull request #6 from ployst/migrations
Migrations
2 parents 830f0c5 + 98a6928 commit bc42fcb

6 files changed

Lines changed: 27 additions & 1 deletion

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# -*- coding: utf-8 -*-
2+
# Generated by Django 1.9.2 on 2016-02-05 10:25
3+
from __future__ import unicode_literals
4+
5+
from django.db import migrations, models
6+
7+
8+
class Migration(migrations.Migration):
9+
10+
initial = True
11+
12+
dependencies = [
13+
]
14+
15+
operations = [
16+
migrations.CreateModel(
17+
name='Token',
18+
fields=[
19+
('key', models.CharField(editable=False, max_length=50, primary_key=True, serialize=False)),
20+
('label', models.CharField(help_text='\n A label to distinguish between tokens.\n May be e.g. the provider/client name.\n ', max_length=200)),
21+
],
22+
),
23+
]

drfutils/migrations/__init__.py

Whitespace-only changes.

drfutils/tests/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@
1616
'NAME': 'drfutil-tests.db',
1717
}
1818
}
19+
20+
ROOT_URLCONF = 'drfutils.tests.urls'

drfutils/tests/urls.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
urlpatterns = []

release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
VERSION=$1
44

5-
sed s/{{VERSION}}/$VERSION/ setup.py.tmpl > setup.py
5+
sed s/{{VERSION}}/$VERSION/ setup.tmpl.py > setup.py
66

77
python setup.py sdist bdist_wheel upload
File renamed without changes.

0 commit comments

Comments
 (0)