how to set up a calculated field in Django?

2019-10-21 Thread Eileen Bauer
Hi, i have the following items in my model: mother_alive = models.IntegerField(choices=YES_NO_CHOICES, blank=True, null=True, default=1) father_alive = models.IntegerField(choices=YES_NO_CHOICES, blank=True, null=True, default=1) and I'd like to set up a generated field for them so I'd

Changed SelectDateWidget to SelectMonthDayWidget; tried to run it in command line.

2019-06-03 Thread Eileen Bauer
Hi, I'm a newbie and I want to change the Django SelectDateWidget to SelectMonthDayWidget because I can't use the year in my application. I had been getting another error (which I don't recall right now) on the statement that started 'html['month']' so, I decided to convert it to command line