Dodanie szkieletu dokumentacji.
[wolnelektury.git] / apps / south / tests / fakeapp / migrations / 0001_spam.py
1 from south.db import db
2 from django.db import models
3
4 class Migration:
5     
6     def forwards(self):
7         
8         # Model 'Spam'
9         db.create_table("southtest_spam", (
10             ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
11             ('weight', models.FloatField()),
12             ('expires', models.DateTimeField()),
13             ('name', models.CharField(max_length=255))
14         ))
15     
16     def backwards(self):
17         
18         db.delete_table("southtest_spam")
19