Problem in fetching the name from database

31 views
Skip to first unread message

Aadarsh Bajpai

unread,
Jan 12, 2020, 8:10:14 AM1/12/20
to Django users
Hello ,
           I am facing problem in fetching the name from database such that whenever i try to fetch the column from the database it comes in the form of tuple as output(Ex. ( 'Aadarsh','Bajpai',)
           it is also shown in  the screenshot . Since this looks worst in the representation of any name . It gets more complicated when I want to fetch an image from media because the tuple               representation is not accepted as url (  Ex (media//'Aadarsh') is not accepted ).
           KINDLY PLEASE TELL ME HOW TO HANDLE THAT PROBLEM 

Screenshot (47).png

Miguel Braga

unread,
Feb 6, 2020, 7:40:52 AM2/6/20
to django...@googlegroups.com
can you give some more context? how are you fetching the data?

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b97507cd-e2aa-40f6-8af8-ce83689cc915%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages