mirror of
https://github.com/tanrax/django-channels-more-than-present
synced 2026-01-10 07:13:38 +01:00
7 lines
197 B
Python
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()
|