mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 14:28:09 +00:00
Better labels for objects in admin console
This commit is contained in:
@@ -81,6 +81,11 @@ class SurvexStation(models.Model):
|
||||
else:
|
||||
return r
|
||||
|
||||
class Meta:
|
||||
ordering = ('id',)
|
||||
def __str__(self):
|
||||
return self.name and str(self.name) or 'no name'
|
||||
|
||||
#
|
||||
# Single SurvexBlock
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user