26 lines
592 B
Python
26 lines
592 B
Python
from django.contrib import admin
|
|
from eve_auth import models
|
|
|
|
# Register your models here.
|
|
|
|
|
|
@admin.register(models.Station)
|
|
class StationAdmin(admin.ModelAdmin):
|
|
list_display = ['name']
|
|
|
|
|
|
@admin.register(models.Alliance)
|
|
class AllianceAdmin(admin.ModelAdmin):
|
|
list_display = ['name', 'ticker', 'executor_corporation']
|
|
|
|
|
|
@admin.register(models.Corporation)
|
|
class CorporationAdmin(admin.ModelAdmin):
|
|
list_display = ['name', 'ticker', 'alliance', 'updated']
|
|
|
|
|
|
@admin.register(models.Character)
|
|
class CharacterAdmin(admin.ModelAdmin):
|
|
list_display = ['name', 'corp', 'updated']
|
|
|