mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-22 22:29:34 +00:00
Remove unneeded admin views, change the display names for some models
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user