Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (26 sloc) 1.14 kB
# encoding: 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):
# Adding model 'HelpText'
db.create_table('members_helptext', (
('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
('title', self.gf('django.db.models.fields.CharField')(max_length=128)),
('text', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
))
db.send_create_signal('members', ['HelpText'])
def backwards(self, orm):
# Deleting model 'HelpText'
db.delete_table('members_helptext')
models = {
'members.helptext': {
'Meta': {'object_name': 'HelpText'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'title': ('django.db.models.fields.CharField', [], {'max_length': '128'})
}
}
complete_apps = ['members']
Jump to Line
Something went wrong with that request. Please try again.