Ticket #1703: forms.txt.3.diff

File forms.txt.3.diff, 965 bytes (added by polarcowz@…, 13 years ago)

Patch to correct the use of "meta" in the model.

  • forms.txt

     
    2222        (4, 'Secret Hideout'),
    2323    )
    2424
    25     class Place(meta.Model):
    26         name = meta.CharField(maxlength=100)
    27         address = meta.CharField(maxlength=100, blank=True)
    28         city = meta.CharField(maxlength=50, blank=True)
    29         state = meta.USStateField()
    30         zip_code = meta.CharField(maxlength=5, blank=True)
    31         place_type = meta.IntegerField(choices=PLACE_TYPES)
     25    class Place(models.Model):
     26        name = models.CharField(maxlength=100)
     27        address = models.CharField(maxlength=100, blank=True)
     28        city = models.CharField(maxlength=50, blank=True)
     29        state = models.USStateField()
     30        zip_code = models.CharField(maxlength=5, blank=True)
     31        place_type = models.IntegerField(choices=PLACE_TYPES)
    3232
    3333        class Admin:
    3434            pass
Back to Top