19 lines
819 B
Python
19 lines
819 B
Python
from django.contrib.auth.models import User
|
|
from django.db import models
|
|
from django.db.models.signals import post_save
|
|
from django.dispatch import receiver
|
|
# Create your models here.
|
|
|
|
|
|
# class Alliance(models.Model):
|
|
# id = models.IntegerField(primary_key=True)
|
|
# name = models.CharField(max_length=255, blank=True, null=True)
|
|
# creator_id = models.IntegerField(blank=True, null=True)
|
|
# creator_corporation_id = models.IntegerField(blank=True, null=True)
|
|
# ticker = models.CharField(max_length=20, blank=True, null=True)
|
|
# date_founded = models.DateTimeField(blank=True, null=True)
|
|
# executor_corporation_id = models.IntegerField(blank=True, null=True)
|
|
# updated = models.DateTimeField(auto_now=True)
|
|
#
|
|
# class Corporation(models.Model):
|
|
# id = models.IntegerField(primary_key=True) |