Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

from django.db import models 

from djcelery.models import TaskMeta 

 

''' 

NOTES: 

    url entries should be unique -- a single url maps to a single task_id in a one-to-one fashion 

''' 

class URLtoTaskID(models.Model): 

    url = models.TextField(verbose_name='Polling Url') 

    task_id = models.TextField(verbose_name='task_id from celery_taskmeta')