0

In django, I need a textfield and a button in django admin, but I don't want to save that textfield in database. For example I have a textfield named age. I need to a textfield to enter birthday.By clicking on button I will calculate age and assign to age field. This is only a example!

namjoo
  • 1,372
  • 1
  • 12
  • 20

1 Answers1

1

Possible by using custom ModelAdmin with a custom Form but this can be done automatically while saving the object

here is Custom ModelAdmim Form

Mohamed ElKalioby
  • 1,433
  • 1
  • 11
  • 12