Remove unneeded admin views, change the display names for some models

This commit is contained in:
2011-08-10 14:48:17 +01:00
parent 50869e71d9
commit 5b7d66f059
4 changed files with 7 additions and 46 deletions

View File

@@ -17,8 +17,8 @@ class EVEPlayerAlliance(EVEAPIModel):
class Meta:
app_label = 'eve_api'
ordering = ['date_founded']
verbose_name = 'Player Alliance'
verbose_name_plural = 'Player Alliances'
verbose_name = 'Alliance'
verbose_name_plural = 'Alliances'
def __unicode__(self):
if self.name:

View File

@@ -86,8 +86,8 @@ class EVEPlayerCharacter(EVEAPIModel):
class Meta:
app_label = 'eve_api'
verbose_name = 'Player Character'
verbose_name_plural = 'Player Characters'
verbose_name = 'Character'
verbose_name_plural = 'Characters'
permissions = (
("can_view_all_characters", "Can view any character profile"),

View File

@@ -69,8 +69,8 @@ class EVEPlayerCorporation(EVEAPIModel):
class Meta:
app_label = 'eve_api'
verbose_name = 'Player Corporation'
verbose_name_plural = 'Player Corporations'
verbose_name = 'Corporation'
verbose_name_plural = 'Corporations'
def __unicode__(self):
if self.name: