Changed to Django1.7. Django 1.6 no longer supported. To change, upgrade django to 1.7+ and then run manage.py migrate, possibly followed by manage.py migrate --fake for objects and players.
This commit is contained in:
parent
1fc91f85ea
commit
bb36f2cb76
20 changed files with 431 additions and 14 deletions
26
src/server/migrations/0001_initial.py
Normal file
26
src/server/migrations/0001_initial.py
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='ServerConfig',
|
||||
fields=[
|
||||
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
||||
('db_key', models.CharField(unique=True, max_length=64)),
|
||||
('db_value', models.TextField(blank=True)),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Server Config value',
|
||||
'verbose_name_plural': 'Server Config values',
|
||||
},
|
||||
bases=(models.Model,),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue