Modify ↓
Ticket #1077 (closed defect: duplicate)
Migration for an empty model
| Reported by: | i@… | Owned by: | andrew |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | commands | Version: | 0.7.4 |
| Keywords: | Cc: |
Description
I tried to create an initial migration for an empty model, got
# -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
pass
def backwards(self, orm):
pass
models = {
}
complete_apps = ['core']
with raising IndentationError: expected an indented block.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Fixing patch