Fix bug #60 on github: Emojis urls problem

remotes/origin/enhancement/email-actions
Jesús Espino 2014-10-03 10:41:15 +02:00
parent 79b1ed2f22
commit e90b8ff670
1 changed files with 3 additions and 1 deletions

View File

@ -27,13 +27,15 @@
import re
from django.conf import settings
from markdown.extensions import Extension
from markdown.preprocessors import Preprocessor
# Grab the emojis (+800) here: https://github.com/arvida/emoji-cheat-sheet.com
# This **crazy long** list was generated by walking through the emojis.png
emojis_path = "http://localhost:8000/static/img/emojis/"
emojis_path = "{}://{}/static/img/emojis/".format(settings.SITES["api"]["scheme"], settings.SITES["api"]["domain"])
emojis_set = {
"+1", "-1", "100", "1234", "8ball", "a", "ab", "abc", "abcd", "accept", "aerial_tramway", "airplane",
"alarm_clock", "alien", "ambulance", "anchor", "angel", "anger", "angry", "anguished", "ant", "apple",