summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Leray <alexandre@alexandreleray.com>2010-11-04 15:05:54 (GMT)
committer Alexandre Leray <alexandre@alexandreleray.com>2010-11-04 15:05:54 (GMT)
commitbcabebd058f388acc127f27d422abf3e816fa8ea (patch)
tree515eaf5b8571be1dddaa93cb3e7a317f3b5c9190
parent18b2c978abbae75755acb63a5d40a8f1497b7ece (diff)
put only 10 latest actions on index
-rwxr-xr-xbrainch/views/misc/index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/brainch/views/misc/index.py b/brainch/views/misc/index.py
index 4b80b95..c24c3cf 100755
--- a/brainch/views/misc/index.py
+++ b/brainch/views/misc/index.py
@@ -28,7 +28,7 @@ def index(request):
repo_list = Repository.objects.all()
# Gets back the user's actions.
- action_list = UserAction.objects.all()[:15]
+ action_list = UserAction.objects.all()[:10]
ctx = {
"repo_list": repo_list,