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

1 Aug ‘14

Sheila setup a rackspace VM for me to deploy the Django app. It’s the first time I’m using (and learning) Fabric. Issues faced: VM freezed everytime I entered the password. Resolved by setting env.password string in fabric task. Jinja... Continue →