Added applications field into EVEPlayerCorporation

This commit is contained in:
2010-04-05 02:42:12 +01:00
parent bd0e292c34
commit 6b8a4e374d
3 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1 @@
SEQUENCE = ['applications-field']

View File

@@ -0,0 +1,7 @@
from django_evolution.mutations import *
from django.db import models
MUTATIONS = [
AddField('EVEPlayerCorporation', 'applications', models.BooleanField, initial=False)
]

View File

@@ -157,6 +157,7 @@ class EVEPlayerCorporation(EVEAPIModel):
logo_color3 = models.IntegerField(blank=True, null=True)
group = models.ForeignKey(Group, blank=True, null=True)
applications = models.BooleanField(blank=False, default=False)
objects = EVEPlayerCorporationManager()