summaryrefslogtreecommitdiffstats
path: root/askbot/management/commands/send_unanswered_question_reminders.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-05 02:10:45 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-05 02:10:45 -0400
commit9c56383cd0525d0e6e5463e1c8a70d2e9d66fd99 (patch)
tree9ee2d285f8b0650485c35c827a0f4375881053b6 /askbot/management/commands/send_unanswered_question_reminders.py
parent54891e1576a3b8ad96fcfa159c5eaf5ab9cd2446 (diff)
downloadaskbot-9c56383cd0525d0e6e5463e1c8a70d2e9d66fd99.tar.gz
askbot-9c56383cd0525d0e6e5463e1c8a70d2e9d66fd99.tar.bz2
askbot-9c56383cd0525d0e6e5463e1c8a70d2e9d66fd99.zip
hopefully fixed the askbot site mounted at a sub-url
Diffstat (limited to 'askbot/management/commands/send_unanswered_question_reminders.py')
-rw-r--r--askbot/management/commands/send_unanswered_question_reminders.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/askbot/management/commands/send_unanswered_question_reminders.py b/askbot/management/commands/send_unanswered_question_reminders.py
index 982dbafb..42ce5119 100644
--- a/askbot/management/commands/send_unanswered_question_reminders.py
+++ b/askbot/management/commands/send_unanswered_question_reminders.py
@@ -7,6 +7,7 @@ from django.utils.translation import ungettext
from askbot import mail
from askbot.utils.classes import ReminderSchedule
from askbot.models.question import Thread
+from askbot.utils.html import site_url
from django.template import Context
DEBUG_THIS_COMMAND = False
@@ -72,7 +73,7 @@ class Command(NoArgsCommand):
}
data = {
- 'site_url': askbot_settings.APP_URL,
+ 'site_url': site_url(''),
'questions': final_question_list,
'subject_line': subject_line
}