summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-09-08 17:54:28 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-09-08 17:54:28 -0400
commitb9b1cd31fa80a5b75fa9274b9a2f26e13bd829a4 (patch)
tree765bfdeb53efba4c89e2022c3a517021c4216594
parent51609c68c3ee63dbd7951f0b84ed18f6be295ebb (diff)
downloadaskbot-b9b1cd31fa80a5b75fa9274b9a2f26e13bd829a4.tar.gz
askbot-b9b1cd31fa80a5b75fa9274b9a2f26e13bd829a4.tar.bz2
askbot-b9b1cd31fa80a5b75fa9274b9a2f26e13bd829a4.zip
re-compiled messages and completely removed debug_toolbar from dependencies
-rw-r--r--askbot/deps/livesettings/locale/en/LC_MESSAGES/django.mobin455 -> 367 bytes
-rw-r--r--askbot/deps/livesettings/locale/it/LC_MESSAGES/django.mobin1596 -> 1582 bytes
-rw-r--r--askbot/deps/livesettings/locale/tr/LC_MESSAGES/django.mobin1265 -> 1242 bytes
-rw-r--r--askbot/locale/en/LC_MESSAGES/django.mobin455 -> 24987 bytes
-rw-r--r--askbot/middleware/view_log.py11
-rw-r--r--setup.py2
6 files changed, 7 insertions, 6 deletions
diff --git a/askbot/deps/livesettings/locale/en/LC_MESSAGES/django.mo b/askbot/deps/livesettings/locale/en/LC_MESSAGES/django.mo
index d39b62e8..c2bc0b94 100644
--- a/askbot/deps/livesettings/locale/en/LC_MESSAGES/django.mo
+++ b/askbot/deps/livesettings/locale/en/LC_MESSAGES/django.mo
Binary files differ
diff --git a/askbot/deps/livesettings/locale/it/LC_MESSAGES/django.mo b/askbot/deps/livesettings/locale/it/LC_MESSAGES/django.mo
index 0be9abe7..05c50952 100644
--- a/askbot/deps/livesettings/locale/it/LC_MESSAGES/django.mo
+++ b/askbot/deps/livesettings/locale/it/LC_MESSAGES/django.mo
Binary files differ
diff --git a/askbot/deps/livesettings/locale/tr/LC_MESSAGES/django.mo b/askbot/deps/livesettings/locale/tr/LC_MESSAGES/django.mo
index 8227d215..d56ad423 100644
--- a/askbot/deps/livesettings/locale/tr/LC_MESSAGES/django.mo
+++ b/askbot/deps/livesettings/locale/tr/LC_MESSAGES/django.mo
Binary files differ
diff --git a/askbot/locale/en/LC_MESSAGES/django.mo b/askbot/locale/en/LC_MESSAGES/django.mo
index d39b62e8..39c2b011 100644
--- a/askbot/locale/en/LC_MESSAGES/django.mo
+++ b/askbot/locale/en/LC_MESSAGES/django.mo
Binary files differ
diff --git a/askbot/middleware/view_log.py b/askbot/middleware/view_log.py
index cf612ad2..d3e2d2f1 100644
--- a/askbot/middleware/view_log.py
+++ b/askbot/middleware/view_log.py
@@ -51,11 +51,12 @@ class ViewLogMiddleware(object):
if settings.DEBUG == True:
#todo: dependency!
- from debug_toolbar.views import debug_media as debug_media_view
- if view_func == debug_media_view:
- return
- else:
- view_str = view_func.__name__
+ try:
+ from debug_toolbar.views import debug_media as debug_media_view
+ if view_func == debug_media_view:
+ return
+ except ImportError:
+ pass
if request.user.is_authenticated():
user_name = request.user.username
diff --git a/setup.py b/setup.py
index daf076be..30b4ff9f 100644
--- a/setup.py
+++ b/setup.py
@@ -75,7 +75,7 @@ if 'WIN_PLATFORM' in locals() and sys.platform in WIN_PLATFORMS:
print '**************************************************************'
print '* *'
print '* Thanks for installing Askbot. *'
-print '* To start deploying type: >startforum *'
+print '* To start deploying type: >python startforum *'
print '* Please take a look at the manual askbot/doc/INSTALL *'
print '* And please do not hesitate to ask your questions at *'
print '* at http://askbot.org *'