Browse Source

Alterando unicode do municipio

diagnosticos
Starlone (Estagiario) 15 years ago
parent
commit
6ca7a16df2
  1. 2
      sigi/apps/contatos/models.py

2
sigi/apps/contatos/models.py

@ -85,7 +85,7 @@ class Municipio(models.Model):
verbose_name_plural = 'municípios' verbose_name_plural = 'municípios'
def __unicode__(self): def __unicode__(self):
return "%s, %s" % (self.nome, self.uf) return "%s - %s" % (self.nome, self.uf)
def get_google_maps_url(self): def get_google_maps_url(self):
return "http://maps.google.com.br/maps/mm?ie=UTF8&hl=pt-BR&t=h&ll=%s,%s&spn=1.61886,1.812744&z=9&source=embed" % \ return "http://maps.google.com.br/maps/mm?ie=UTF8&hl=pt-BR&t=h&ll=%s,%s&spn=1.61886,1.812744&z=9&source=embed" % \

Loading…
Cancel
Save