It's a simple question but i'm not able to find easily. How can I display the file extension of uploaded file in template ?
ex : uploaded-filename.jpeg {{file.<extension>}} will display "jpeg" in template. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9a7a3883-f164-4997-bab7-f5828b8771a3%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.