Could you tell me how to add the .html suffix to the django route?

I use django2.0

the default route access address is http://host/blog/1/

.

I wish it could be http://host/blog/1.html

is there any way to achieve this?

I"ve been searching the Internet for a long time, and I don"t know how to solve it

Jun.08,2021

r'^ blog/ (\ d +)\ .html'

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb9a9f-48535.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb9a9f-48535.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?