mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 20:19:30 +00:00
renamed django app folder to backend
This commit is contained in:
10
backend/task/models.py
Normal file
10
backend/task/models.py
Normal file
@@ -0,0 +1,10 @@
|
||||
"""task model"""
|
||||
|
||||
from django.db import models
|
||||
from django_celery_beat.models import PeriodicTask
|
||||
|
||||
|
||||
class CustomPeriodicTask(PeriodicTask):
|
||||
"""add custom metadata to task"""
|
||||
|
||||
task_config = models.JSONField(default=dict)
|
||||
Reference in New Issue
Block a user