Custom Workflows
Any custom logic
try:
from _init import * # DEV env
except ImportError:
from configurations.workflow_env import * # PROD env
def count_delivery_records():
print("Delivery records:", custom_models.Delivery.objects.all().count())
if __name__ == '__main__':
count_delivery_records()Last updated