أمجد☄
(And this too) Well rn after searching i have known that i can save the id and then make a get request to get the record and check for the boolean but i dont know how can i access the id after saving it in the first function and use it in the other.
أمجد☄
Nvm i have done that too by request.session, anyways thanks everyone.
Orack
https://ibb.co/xmSpmc4 https://ibb.co/x6zjSjb
Orack
https://ibb.co/xmSpmc4 https://ibb.co/x6zjSjb
i have this model to upload image and few texts
Orack
how do i pass the data to test ?
Orack
@c0x6A ?
Mirco
https://ibb.co/xmSpmc4 https://ibb.co/x6zjSjb
Use json into content , not plain text
Orack
{userid:"12", sticker_title:"hello", sticker_desc:"hello desc", sticker_id :"123"}
Orack
like this ?
Orack
and "tem_userstickerset" is file
Orack
so "tem_userstickerset":"/home/temp.png"
Orack
?
Orack
what should i google ?
Mirco
what should i google ?
Upload image Django rest Framework
Orack
Upload image Django rest Framework
Parsers and file uploads. The FileField and ImageField classes are only suitable for use with MultiPartParser or FileUploadParser. Most parsers, such as e.g. JSON don't support file uploads. Django's regular FILE_UPLOAD_HANDLERS are used for handling uploaded files.
Orack
😭
Orack
Hello Sorry for this message in p.v. But I have a problem, so I can't send any message in groups I want to ask how should I show a link for a file, in django template. I mean for images, we could do: {Post.image.url} But I have a model with file.filed so how should I link to that file
Orack
this guy needs some help he says his number is blocked by iran, if any1 knows the issue solution is welcome
Ashutosh
Guys can anyone tell me how to use bootstrap offline in django,
Ashutosh
Download files instead of using CDN
I did that,and pasted the filed in index.html folder,but now do not know how to use
Ashutosh
That
Ashutosh
How to get desired code
Mirco
Download js and css bootstrap files, put into your folders and the link to them as usual into your base html
Master
How to get desired code
You should serve this bootstrap files as your static files
Master
https://docs.djangoproject.com/en/2.2/howto/static-files/
Muflone
%20 is a space
Rohan
Rohan
https://www.quora.com/What-is-does-20-and-30-mean-in-URL
Anonymous
hi
Anonymous
i wanna start django
Anonymous
who can proposal a tutorial pdf
Doragonsureiyā
who can proposal a tutorial pdf
Go take a look to all the wonderful resources in this channel: @PythonRes @PythonRes @PythonRes Open it, you'll be amazed by the amount of knowledge that is inside it
Anonymous
!res
in need a free pdf
Rohan
in need a free pdf
At least click on it.
Anonymous
Anonymous
but its not free or its not pdf
Rohan
but its not free or its not pdf
https://t.me/pythonres/32
أمجد☄
Did anyone use a django admin panel theme before ?, and if you did what is the best one out there ?
Muflone
There's no valid theme at all, even the best of them (gprappelli and jet) are so bloated and confusing for me
Muflone
I keep the default theme
Anonymous
How to write custom decorator in django.what is use of writing custom decorators?any one explain me
Anonymous
How to create chat box in django application? Can help me please
Anonymous
No
Anonymous
Rohan can u explain me
Rohan
Rohan can u explain me
Read the pinned post maybe?
Anonymous
Read the pinned post maybe?
Are you working django?
Rohan
Are you working django?
Am I working django? No. I is human.
Anonymous
Am I working django? No. I is human.
If u know how to create chat box in django application
Rohan
Why don't you read the pinned post and make your own chat box application?
Anonymous
Why don't you read the pinned post and make your own chat box application?
Sorry can u send any link is there for make a own chat box?
Imteyaz
In this group one person is cheaper 😅
Imteyaz
Sorry I don't say her name , I will understand what I am speaking
Imteyaz
But she is mind blowing gays😅
Imteyaz
Gn
Aswath
I am not able to link htmls in templates with css in order to get the dully styled webpage,.. can anyone suggest me some tricks?
Aswath
Fully*
NR
Looking for experienced programmer, should have expertise in ccxt and ta lib, along with celery, telegram bot, django and react or angular for a paid project.
NR
Hey there can we can discuss your requirements
We discussed in private already. If any one else interested
Zero
Hi
Naveen
Hi Guys, I am Naveen I am a Full Stack Developer leading in Django Web Framework. DM for any opportunities/collaborations/projects Any kind of help of any level ❤
Maksim
https://pastebin.com/TQX1GEXG help me guys pls, I dont know where is the problem
Master
https://pastebin.com/TQX1GEXG help me guys pls, I dont know where is the problem
new_item.author = request.user Your request doesn't contain user or this user is anonymous.
Master
Thats one of possibilities