Rearrange the models files into the respective levels, add DB layout for skills storage

This commit is contained in:
2010-12-07 14:50:39 +00:00
parent 86455cc123
commit 59e086e720
8 changed files with 408 additions and 202 deletions

View File

@@ -3,4 +3,24 @@ By importing all of these sub-modules, the models package is transparently
accessible by the rest of the project. This makes it act just as if it were
one monolithic models.py.
"""
from api_player import *
from django.db import models
class EVEAPIModel(models.Model):
"""
A simple abstract base class to set some consistent fields on the models
that are updated from the EVE API.
"""
api_last_updated = models.DateTimeField(blank=True, null=True,
verbose_name="Time last updated from API",
help_text="When this object was last updated from the EVE API.")
class Meta:
abstract = True
from static import *
from account import *
from character import *
from corporation import *
from alliance import *