Simple twitter test command
This commit is contained in:
parent
53bb9ef699
commit
26df8e0294
|
@ -0,0 +1,11 @@
|
|||
from django.core.management.base import BaseCommand
|
||||
from django.core.management import call_command
|
||||
from mhackspace.core.tasks import twitter_message
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = 'Build test data for development environment'
|
||||
|
||||
def handle(self, *args, **options):
|
||||
twitter_message('Test twitter message')
|
||||
print("Sent Message via twitter")
|
Loading…
Reference in New Issue