23 July ‘14

Modified the form fields today and added a little more design to it. I learnt how to include drop-down fields in Django models.

STATUS_CHOICES = (
        ('New', 'New'),
        ('Assigned', 'Assigned'),
        ('Discard', 'Discard'),
        ('Patch to review', 'Patch under review'),
        ('Resolved', 'Resolved'),
    )
    bugstatus = models.CharField(max_length=100, default='New', choices = STATUS_CHOICES)

    PRIORITY_CHOICES = (
        ('High', 'High'),
        ('Normal','Normal'),
        ('Low', 'Low'),
    )
    bugpriority = models.CharField(max_length=100, default='Unprioritised', choices = PRIORITY_CHOICES)
    ```
 
0
Kudos
 
0
Kudos

Now read this

Ubuntu on VirtualBox? Pain in the arse

I had Ubuntu on VirtualBox already on my Windows 7, but somehow, never really contemplated using it for any serious work. This was mainly because my perception of Virtual machines went like: They are slow They are really slow They might... Continue →