still very much a work in progress

This commit is contained in:
James Turk 2009-08-19 13:04:48 -04:00
parent ef03c3fa74
commit f3cfc80f15
2 changed files with 3 additions and 2 deletions

View File

@ -1,9 +1,10 @@
from django.conf.urls.defaults import *
from django.conf import settings
from django.contrib.contenttypes.models import ContentType
from brainstorm.models import Idea
from brainstorm.feeds import SubsiteFeed
BRAINSTORM_USE_SECRETBALLOT = False
BRAINSTORM_USE_SECRETBALLOT = getattr(settings, 'BRAINSTORM_USE_SECRETBALLOT', False)
feeds = {
'latest': SubsiteFeed,

View File

@ -9,7 +9,7 @@ from django.views.generic import list_detail
from django.views.decorators.http import require_POST
from django.contrib.auth.decorators import login_required
from django.conf import settings
from anthill.ideas.models import Subsite, Idea, Vote
from brainstorm.models import Subsite, Idea, Vote
def idea_list(request, slug, ordering='-total_upvotes'):
ordering_db = {'most_popular': '-score',