blob: 40debe635146d15ba66d6f86f84894c948097e7b (
plain)
1
2
3
4
5
6
7
|
from django.core.management.base import NoArgsCommand
from askbot.models import Post
class Command(NoArgsCommand):
def handle_noargs(self, **options):
objs = Post.objects.all()
print objs
|