commands.reset_notifications_db¶
This module defines a Django management command to delete all existing notifications.
Classes¶
A Django management command to delete all existing notifications. |
Module Contents¶
- class commands.reset_notifications_db.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]¶
Bases:
django.core.management.base.BaseCommandA Django management command to delete all existing notifications.
If running inside a Docker container, the command deletes notifications without user confirmation. Otherwise, it prompts the user for confirmation.