mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Now allows access permissions on a alliance level
This commit is contained in:
@@ -1 +1 @@
|
||||
SEQUENCE = ['applications-field', 'total-sp', 'login-locations', 'director-update']
|
||||
SEQUENCE = ['applications-field', 'total-sp', 'login-locations', 'director-update', 'alliance-group']
|
||||
|
||||
7
eve_api/evolutions/alliance-group.py
Normal file
7
eve_api/evolutions/alliance-group.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from django_evolution.mutations import *
|
||||
from django.db import models
|
||||
|
||||
MUTATIONS = [
|
||||
AddField('EVEPlayerAlliance', 'group', models.ForeignKey, null=True, related_model='auth.Group')
|
||||
]
|
||||
|
||||
@@ -126,6 +126,7 @@ class EVEPlayerAlliance(EVEAPIModel):
|
||||
#executor_character = models.ForeignKey(EVECharacter, blank=True, null=False)
|
||||
member_count = models.IntegerField(blank=True, null=True)
|
||||
date_founded = models.DateField(blank=True, null=True)
|
||||
group = models.ForeignKey(Group, blank=True, null=True)
|
||||
|
||||
objects = EVEPlayerAllianceManager()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user