I need to achieve the following structure using Django restframework anyone
help with the method or share me the video or blog links it'll be very much
helpful for me
I want those #One and #Two to be in curly braces {} and not as square
bracket [] , and Thanks in advance
[ {
"id": 123,
"city":
The HTML element you probably want is a datalist[1]. There's no built-in Django
support for datalist[2] so you'll probably need to create a custom widget.
[1] https://stackoverflow.com/a/14614750
[2] https://code.djangoproject.com/ticket/32125
On May 31, 2022 11:52:31 AM CDT, Phil Parkin wrote:
TemplateDoesNotExist at /home.html
Request Method:
GET
Request URL:
http://127.0.0.1:8000/
Django Version:
4.0.3
Exception Type:
TemplateDoesNotExist
Exception Value:
home.html
Exception Location:
C:\Users\softy\AppData\Local\Programs\Python\Python310\lib\site-packages\django\template\loader.py,
3 matches
Mail list logo