summaryrefslogtreecommitdiffstats
path: root/askbot/api.py
diff options
context:
space:
mode:
authorAdolfo Fitoria <adolfo.fitoria@gmail.com>2012-08-21 23:14:40 -0600
committerAdolfo Fitoria <adolfo.fitoria@gmail.com>2012-08-21 23:14:40 -0600
commit4dc291874ac195875b5727a9c91c0830e5d7e79d (patch)
tree89c47a66926809d9b4298efe17a7a332f8a80cb4 /askbot/api.py
parentc53f74c7ac9a5b7ad76ee3025466b1e27f9f006c (diff)
downloadaskbot-4dc291874ac195875b5727a9c91c0830e5d7e79d.tar.gz
askbot-4dc291874ac195875b5727a9c91c0830e5d7e79d.tar.bz2
askbot-4dc291874ac195875b5727a9c91c0830e5d7e79d.zip
added dropdown menu to lists groups in the templates, modified the sprite file to make it work better
Diffstat (limited to 'askbot/api.py')
-rw-r--r--askbot/api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/askbot/api.py b/askbot/api.py
index 57d5c1aa..9f37995e 100644
--- a/askbot/api.py
+++ b/askbot/api.py
@@ -9,7 +9,7 @@ from askbot import models
from askbot import const
def get_info_on_moderation_items(user):
- """returns a dictionary with
+ """returns a dictionary with
counts of new and seen moderation items for a given user
if user is not a moderator or admin, returns None
"""
@@ -48,7 +48,7 @@ def get_admin(seed_user_id = None):
if the user is not found, or there are no moderators/admins
User.DoesNotExist will be raised
-
+
The reason this function is here and not on a manager of
the user object is because we still patch the django-auth User table
and it's probably better not to patch the manager