I always struggle to retrieve from database to html text field or date field data when I want to edit these data. Only text field data display. Please advise how to display these fields.
When I use:
value = "{{ list.date_of_birth }}" or
value = "list.gender" for example, I get an empty field and this works for fields other than date and select.
Thank you
-- TUYIZERE Eugene
Msc Degree in Mathematical Science
African Institute for Mathematical Sciences (AIMS Cameroon)
Crystal Garden-Lime, Cameroon
Crystal Garden-Lime, Cameroon
Bsc in Computer Science
UR-Nyagatare Campus
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABxpZHuCH1-vXDiYzpgUrvfZr%2B9a08B-HZNWyiDSdLuwzkq6%2Bw%40mail.gmail.com.
No comments:
Post a Comment