##// END OF EJS Templates
Add rhodecode link
Add rhodecode link

File last commit:

r2123:be532800 default
r2149:0a18125a default
Show More
sync_with_server.py
13 lines | 321 B | text/x-python | PythonLexer
from django.core.management import BaseCommand
from boards.models.source import SyncSource
__author__ = 'neko259'
class Command(BaseCommand):
help = 'Send a sync or get request to the servers.'
def handle(self, *args, **options):
for source in SyncSource.objects.all():
source.run_sync()