Monday, November 26, 2018

Human Readable Values

Screenshot.png

Hi

I'm new to DJango and have a question about how to display some model data in a human readable form.  I have three fields, one is an IP Address <django.db.models.fields.IPAddressField> and two are <django.db.models.fields.IntegerField>.  When I render the template I get the class name but no values.  How do I render the values?

Thanks

Mike

--
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e3067097-f156-43a9-9821-abda50b08b72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment