Fix l10n
[cas.git] / src / accounts / migrations / 0001_initial.py
1 # -*- coding: utf-8 -*-
2 import datetime
3 from south.db import db
4 from south.v2 import SchemaMigration
5 from django.db import models
6
7
8 class Migration(SchemaMigration):
9
10     def forwards(self, orm):
11         # Adding model 'Service'
12         db.create_table(u'accounts_service', (
13             (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
14             ('ordering', self.gf('django.db.models.fields.IntegerField')()),
15             ('name', self.gf('django.db.models.fields.CharField')(max_length=255)),
16             ('url', self.gf('django.db.models.fields.URLField')(max_length=200)),
17             ('image', self.gf('django.db.models.fields.files.ImageField')(max_length=100)),
18         ))
19         db.send_create_signal(u'accounts', ['Service'])
20
21
22     def backwards(self, orm):
23         # Deleting model 'Service'
24         db.delete_table(u'accounts_service')
25
26
27     models = {
28         u'accounts.service': {
29             'Meta': {'ordering': "('ordering',)", 'object_name': 'Service'},
30             u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
31             'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}),
32             'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
33             'ordering': ('django.db.models.fields.IntegerField', [], {}),
34             'url': ('django.db.models.fields.URLField', [], {'max_length': '200'})
35         }
36     }
37
38     complete_apps = ['accounts']