update
This commit is contained in:
@ -116,7 +116,7 @@ class SystemSettings(models.Model):
|
||||
|
||||
class Location(models.Model):
|
||||
location_id=models.IntegerField(_('Location id'), blank=True, null=True)
|
||||
location_name=models.CharField(_('Location Name'), max_length=255)
|
||||
location_name=models.CharField(_('Location Name'), max_length=255, default="--- 場所をお願いします --")
|
||||
category=models.CharField(_('Category'), max_length=255, blank=True, null=True)
|
||||
zip=models.CharField(_('Zip code'), max_length=12, blank=True, null=True)
|
||||
address = models.CharField(_('Address'), max_length=512, blank=True, null=True)
|
||||
@ -142,7 +142,7 @@ class Location(models.Model):
|
||||
geom=models.MultiPointField(srid=4326)
|
||||
|
||||
def __str__(self):
|
||||
return str(self.location_id)
|
||||
return self.location_name
|
||||
|
||||
|
||||
class Location_line(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user