Skip to content

Commit

Permalink
TaskState.args+kwargs should be TextField for long arguments. Closes #20
Browse files Browse the repository at this point in the history
.  Thanks to tdcarrol
  • Loading branch information
Ask Solem committed Oct 12, 2010
1 parent bc9610b commit 555c163
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions djcelery/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,8 @@ class TaskState(models.Model):
name = models.CharField(_(u"name"),
max_length=200, null=True, db_index=True)
tstamp = models.DateTimeField(_(u"event received at"), db_index=True)
args = models.CharField(_(u"Arguments"),
max_length=200, null=True)
kwargs = models.CharField(_(u"Keyword arguments"),
max_length=200, null=True)
args = models.TextField(_(u"Arguments"), null=True)
kwargs = models.TextField(_(u"Keyword arguments"), null=True)
eta = models.DateTimeField(_(u"ETA"), null=True,
help_text=u"date to execute")
expires = models.DateTimeField(_(u"expires"), null=True)
Expand Down

0 comments on commit 555c163

Please sign in to comment.