Files
2016-11-20 17:03:03 -07:00

7 lines
197 B
Python

from django.core.management.base import BaseCommand
from channels_presence.models import Room
class Command(BaseCommand):
def handle(self, *args, **kwargs):
Room.objects.prune_rooms()