Here's the code: (it's in models.py)
from django.db import models
from django.newforms import forms, widgets
from datetime import datetime
# Create your models here.
WEEKDAY_CHOICES = (
(0, 'Monday'),
(1, 'Tuesday'),
(2, 'Wednesday'),
(3, 'Thursday'),
(4, 'Friday'),
(5, 'Saturday'),
(6, 'Sunday')
)
class Suite(models.Model):
title = models.CharField(maxlength=200)
environment = models.TextField('URL of environment to test',core=True)
username = models.CharField(maxlength=50,core=True)
password = models.CharField(maxlength=50,blank=True,null=True)
runtime = models.DateTimeField('Scheduled Run Time')
runday = models.CommaSeparatedIntegerField('Run on which
days?',maxlength=20,choices=WEEKDAY_CHOICES,blank=True,null=True)
touch = models.DateTimeField('When was suite last
attempted?',blank=True,null=True)
active = models.BooleanField('Activate suite',default=True)
runnow = models.BooleanField('Run this suite immediately',default=False)
notes = models.TextField('notes',blank=True,null=True)
How do I get it to let me choose more than one day please?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---