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!

Darwin
  • 1,695
  • 1
  • 19
  • 29

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,908
  • 1
  • 12
  • 13