SQLite Import moved to mgmt command for Heroku
This commit is contained in:
parent
92445132fe
commit
ffbfdce5b2
12 changed files with 80 additions and 132 deletions
19
ccdb/projects/migrations/0003_grant_projects.py
Normal file
19
ccdb/projects/migrations/0003_grant_projects.py
Normal file
|
@ -0,0 +1,19 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('projects', '0002_initial_grant'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='grant',
|
||||
name='projects',
|
||||
field=models.ManyToManyField(to='projects.Project', related_name='grants'),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue