عــمــر
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 .
Doragonsureiyā
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 .
Your question is not related to Django. Please move to @PythonOfftopic group and ask there.
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
Hi ..do you know free service for video and voice call in django
use jitsi no ... wait wait... what do you really want?
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
Arezoo
Thank alot dear
Arezoo
Can you send me a link for learning
cj
Can you send me a link for learning
google.com or duck.com they both are really good
Arezoo
I could not find anything..thanks
Doragonsureiyā
I could not find anything..thanks
Try harder until you get what you want! don't give up! 🦾
🇩🇪 kamoloff 🍁
How to connect pycharm database view to database inside the docker container?
Illia
How to connect pycharm database view to database inside the docker container?
You have to create a dockerfile to get your database image in services section search how to create a dockerfile for your database
Doragonsureiyā
How to connect pycharm database view to database inside the docker container?
Your question is not related to Django. Please move to @PythonOfftopic group and ask there.
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?
RL
What is use of django rest framework?
Django Rest Framework lets you create RESTful APIs: A way to transfer information between an interface and a database in a simple way.
RL
What is use of django rest framework?
https://www.django-rest-framework.org/
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.
Taku
How to create two kind of users in Django,example customer , restaurant user
Јован
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?
Fazil
And how can I tell this JS code to stop progress bar via Django
Alex
And how can I tell this JS code to stop progress bar via Django
0 That's unrelated to django. 1 ajax is asynchronous. You can simply handle the event of ajax-request ending
Anonymous
guys, how to add sb-admin2 template to django ???
Anonymous
Checkout this article i wrote , full implementation of custom user model with email as authentication field
https://medium.com/analytics-vidhya/django-custom-authentication-with-email-cc7e3919f11c
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
Anonymous
Search on google go to first link
PeeKay
Okay
Khumoyun
Openweatherapi
I think its limeted requests
Anonymous
Ha after some requests there is restriction
new
Where I will get all college name and information api?
Doragonsureiyā
Where I will get all college name and information api?
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box, write down the same words you asked here Step 4: Read the first results
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
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() }
عبد الله
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
Praver
Why do you place ImageField in a widgets dict?
Thanks when i put out of widgets dict it works , but can u tell me the reason