Package madrona :: Package async :: Module models
[hide private]

Source Code for Module madrona.async.models

 1  from django.db import models 
 2  from djcelery.models import TaskMeta 
 3   
 4  ''' 
 5  NOTES: 
 6      url entries should be unique -- a single url maps to a single task_id in a one-to-one fashion 
 7  ''' 
8 -class URLtoTaskID(models.Model):
9 url = models.TextField(verbose_name='Polling Url') 10 task_id = models.TextField(verbose_name='task_id from celery_taskmeta')
11