]> git.openstreetmap.org Git - osqa.git/blob - forum/management/commands/sample_command.py
Resolves Jira OSQA-682, do not use the MAX_VOTES_PER_DAT setting, but the can_vote_co...
[osqa.git] / forum / management / commands / sample_command.py
1 from django.core.management.base import NoArgsCommand
2 from forum.models import Comment
3
4 class Command(NoArgsCommand):
5     def handle_noargs(self, **options):
6         objs = Comment.objects.all()
7         print objs