#49 Show link to the marker on the map in the e-mail notification

Fusionné
jocelyn a fusionné 1 commits à partir de vross/master vers FFDN/master il y a 7 ans
vross a commenté il y a 7 ans

See the initial request on issue 36

I did this on my local version of wifi-with-me. Some results with the good old pdb:

(Pdb) context
{'contrib_url': 'http://example.com/wifi/map/#6', 'contrib': <Contrib: #6 test>}

(Pdb) body.render(context).encode("utf-8")
b'Nouvelle demande de la part de test\n\n\xc3\x80 retrouver sur http://example.com/wifi/map/#6\n\nBien \xc3\xa0 toi,\n\nWifi-with-me\n'

@jocelyn: Is it more or less what you expected?

See the initial request on [issue 36](/issues/36) I did this on my local version of wifi-with-me. Some results with the good old pdb: ``` (Pdb) context {'contrib_url': 'http://example.com/wifi/map/#6', 'contrib': <Contrib: #6 test>} (Pdb) body.render(context).encode("utf-8") b'Nouvelle demande de la part de test\n\n\xc3\x80 retrouver sur http://example.com/wifi/map/#6\n\nBien \xc3\xa0 toi,\n\nWifi-with-me\n' ``` @jocelyn: Is it more or less what you expected?
jocelyn a commenté il y a 7 ans
Propriétaire

Merging, because itworks® :).

However, when #50 will be merged, we would better use the get_absolute_url() method it introduces.

Thanks !

Merging, because itworks® :). However, when #50 will be merged, we would better use the `get_absolute_url()` method it introduces. Thanks !
Cette Pull Request a été fusionnée avec succès !
Connectez-vous pour rejoindre cette conversation.
Aucun jalon
Pas d'assignataire
2 Participants
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.