mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 08:38:35 +00:00
Working. survex parsing now 2x as fast
This commit is contained in:
@@ -252,7 +252,7 @@ class SurvexBlock(models.Model):
|
||||
ordering = ("_blockid",)
|
||||
|
||||
def __str__(self):
|
||||
return self.name and str(self.name) or "no_name-#" + str(self.pk) #pk is primary key
|
||||
return self.name and str(self.name) or "no_name-#" + str(self.pk)[:5] #pk is primary key
|
||||
|
||||
def isSurvexBlock(self): # Function used in templates
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user