boardinghouse.contrib.demo.management.commands.cleanup_expired_demos module¶
-
class
boardinghouse.contrib.demo.management.commands.cleanup_expired_demos.
Command
(stdout=None, stderr=None, no_color=False)[source]¶ Bases:
django.core.management.base.BaseCommand
Clean up expired user demos.
Removes the DemoSchema object, and the associated schema from the db for all user demos where the expiry date is in the past.