Isotope751
عــمــر
I dont know any thing right now about aws , if you know a free course or something help me give me and I appreciate that .
Anonymous
Doragonsureiyā
عــمــر
Ghorz
Pikachu
I am using drf pagination. It always return next option as http. But i am requesting with https
I m yr
Can we send the data from django admin panel to other html page in django
How to send email Also
I m yr
Can anybody tell me
Arezoo
Hi ..do you know free service for video and voice call in django
cj
cj
you can generate rooms for Jitsi using Python code (that's no more than 1~2 lines of code) and show it on your Django template to let your users go to a Jitsi's room to start a voice/video call 🤷🏻♂️
Arezoo
Previously i used agora...but it is not free..i want to use system like agora that is free ...i want to use in drf django
cj
Arezoo
Thank alot dear
Arezoo
Can you send me a link for learning
Arezoo
I could not find anything..thanks
Sai
🇩🇪 kamoloff 🍁
How to connect pycharm database view to database inside the docker container?
Leonardo
guys, how can i test a upload pdf file on drf?
i've tried:
def test_upload_file(self):
"""Must create PaymentReceiptsPdf instances and assign it to PaymentRequest model"""
with open("utils/multiple_receipts.pdf") as f:
file = SimpleUploadedFile("multiple_receipts.pdf", f.read())
payload = {"file": file}
resp = self.client.post(
reverse("api-v1:payments-receipt-list"), payload, format="multipart"
)
self.assertEqual(resp.status_code, status.HTTP_201_CREATED)
A Fkin
Hi guys, i want to stream a live video under my internal network, and catch it on the mobile.
I implemented this with flask by yielding the video bytes to the client, but i can only stream static data, like a video that taken before and stored in my disk.
But i want to take some continuous pictures and stream them as a video with minimum possible latency and maximum possible frame rate,
I tried several ways to do this but finally i disappointed, do you know any way to do this in python? (Django | Flask | ... )
Leonardo
guys, how can i test a upload pdf file on drf?
i've tried:
def test_upload_file(self):
"""Must create PaymentReceiptsPdf instances and assign it to PaymentRequest model"""
with open("utils/multiple_receipts.pdf") as f:
file = SimpleUploadedFile("multiple_receipts.pdf", f.read())
payload = {"file": file}
resp = self.client.post(
reverse("api-v1:payments-receipt-list"), payload, format="multipart"
)
self.assertEqual(resp.status_code, status.HTTP_201_CREATED)
solved:
def test_upload_file(self):
"""Must create PaymentReceiptsPdf instances and assign it to PaymentRequest model"""
file = File(open("utils/multiple_receipts.pdf", "rb"))
data = SimpleUploadedFile(
"multiple_receipts.pdf", file.read(), content_type="multipart/form-data"
)
payload = {"file": data}
resp = self.client.post(
reverse("api-v1:payments-receipt-list"), payload, format="multipart"
)
self.assertEqual(resp.status_code, status.HTTP_201_CREATED)
Way
How i can modify add_form in django admin, wtf. It's not work https://pastebin.com/QJUjSg8G
Anonymous
What is use of django rest framework?
Igor
Jay
I have three tables say A,B, and C, both A and B have C as a FK, I want to inner join and fetch records having the same C, any idea how can that be done using Django orm??
Ilsaf
how can I make a link in a post clickable?
Ilsaf
I have a post with a text and in a footer on post i have the hyperlink, but he works as plain text (<p>)
Ilsaf
it doesn't work
Ilsaf
1 sec
Ilsaf
I have a this post, but "Button" will be hyperlink - https://ibb.co/xYtsdSJ
article_detail.html - https://ibb.co/LxKY5T6
GodKiller
Does there exist a library to use Facebook graph API with Python or Django? The one listed on there site had last commit in 2018. Also it no longer works.
Ghorz
Taku
How to create two kind of users in Django,example customer , restaurant user
Ghorz
Јован
Hey guys, I made a extremely simple Django tutorial how to set up a Django tutorial on youtube if someone would be interested: https://www.youtube.com/watch?v=0w1QSrEmsn0&feature=youtu.be
A Fkin
Hi guys, i want to stream a live video under my internal network, and catch it on the mobile.
I implemented this with flask by yielding the video bytes to the client, but i can only stream static data, like a video that taken before and stored in my disk.
But i want to take some continuous pictures and stream them as a video with minimum possible latency and maximum possible frame rate,
I tried several ways to do this but finally i disappointed, do you know any way to do this in python? (Django | Flask | ... )
John
Hey, I'm Jay.
Please I would like to know if GraghQL integration with django is matured enough, that an Intermediate Django Developer could work with it without hell breaking loose.
John
I'm scared of reaching a point where I can't debug some issues.
Fazil
While, my Django app does some calculations in background, I want to play some animation while the results are ready to be shown on front end, how to do this?
Alex
Fazil
And how can I tell this JS code to stop progress bar via Django
Fazil
Anonymous
guys, how to add sb-admin2 template to django ???
Anonymous
Anonymous
Khumoyun
Random
Generating sha hash for images and assining name to the hash id in db , maybe
Khumoyun
Hello,
Who knows free api or widget for weather? I need for my header of website in my Django project
Random
Khumoyun
Anonymous
Anonymous
Search on google go to first link
PeeKay
Okay
Anonymous
Ha after some requests there is restriction
Khumoyun
Bunty chhatri wala..
new
Where I will get all college name and information api?
Mirco
Shubham
Can anyone help me out with model creation (db_design) of one of my small project, I already started any created some APIs too,
Anonymous
Anonymous
https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/Models
Anonymous
https://www.tutorialspoint.com/django/django_models.htm
Anonymous
Basic Django model tutorials
Praver
I'm getting this error "'ImageField' object has no attribute 'is_hidden'" while rendering a template , i'm using django model form, please help
Praver
Here is my forms.py file subpart
Praver
class PostForm(forms.ModelForm):
class Meta:
model = Post
fields = ('author','title','text','post_image')
widgets = {
'title':forms.TextInput(attrs={'class':'textinputclass'}),
'text':forms.Textarea(attrs={'class':'editable medium-editor-textarea postcontent'}),
'post_image':forms.ImageField()
}
Alex
عبد الله
hi, django drf ModelViewSet, how should I restrict request.method=="delete" or "post" to be allowed for only one extra action and for everithing else it should raise 404
Doragonsureiyā
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls