Anonymous
Pls Sher video link
Anonymous
John
guys how we create common media gallery for django admin Means where our all the media file are stored or when ever we need it's to pick any one from their.
John
Hey guys I have a doubt I'm trying to combine two query set with all the values present in sender and receiver but when trying it I'm getting issues like this TypeError at /messageview/2/1/ 'Message' object is not iterable
John
I wanna get all the values in sender and receiver how can I get that ??
Mirco
!paste
Doragonsureiyā
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev If you posted a wall of text, go back and delete it.
John
Sorry
John
Here I'm able to get all the values in the shell but not able to serialize it
John
I'm have given many = True, still the same but when I remove it doesn't show me an error but shows me only one value
GOPINATH
Any good resourse for pushing postman collection to github
Njain
Hello all i am stuck in a problem
Njain
Please help me
Njain
I am working on a project and i have to generate user credentials through CSV file so it is possible or npt ???
Sopan
Please help me
Yes.. you can read CSV file and create users
Sopan
How to build django in Blog application
are you trying to build such for learning purpose? else there are many which you can directly use
Njain
Any idea how to or any page so i understand the code
Creator
Please Suggest: How to fetch any value from one functional view to another functional view?
GOPINATH
Why you are doing this
I need to submit my automated testing collection as my assignment
GOPINATH
Why you are doing this
So that my mentor can run my collection in his system
S
If I send firebase notification to my django app now, can I notify that again after 10 minutes?
Mounted
Hello everyone! How to do Infinite Spreadsheets?
John
Can anyone help me how to paginate the results In here I'm not getting it https://pastebin.com/Ac3ANsJn
John
Here I'm paginating a filtered query_set in Django
John
How can I paginate a filtered query set
John
???
Amar
How to create project whatsapp chat bot in Django
Amar
???
Harish
Has anyone here tried Supabase + Django
Doragonsureiyā
Has anyone here tried Supabase + Django
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
VISHNU
How can I paginate a filtered query set
Define class pagination : Pagination_class=pagination In def get serializer=self.get_serializer(variable,many=True) page=self.paginate_queryset(serializer.data) return self.get_paginated_response(page)
S
Yes use scheduling
Can you please elaborate. Are you talking about celery scheduled task?
Titus
Can one use django-allauth authentication with custom user
S
Yeah that can also be used
Other than this any other alternate?
VISHNU
In generic relation in object can I able to use name instead of number
Henry
I have a doubt with how use React with Django. What is the best way for work, create the views with webpack or npx create-react-app? I don't know as follow my project
Anonymous
Hi everyone, is there anyone who can advice how i can import a .dat file into my django app?
GOPINATH
You can share the collection also
By import and export operation right.
Sai
By import and export operation right.
You have another option too. Get the public url from postman
Saila
Guys , how can I pass session values in methods as parameters from one test1.py(in view ) to other test2 .py(in model) in django ? I am using import requests module .
¿
Hi , I have some categories in category model ,how can i get all categories in all pages of website ,I mean how can i create a view and all urls use that view with his main view??
Amar
How to create project whatsapp chat bot in Django????
Abdulaziz
<div class="gallery"> {% for media in claim.medias.all %} {% if claim.medias == "image" %} <a class="image_gallery" href="{{ media.file.url }}" data-lightbox="mygallery{{ claim.id }}"> <img src="{{ media.file.url }}" alt=""> </a> {% elif claim.medias == "video" %} <a class="image_gallery" href="{{ media.file.url }}" data-lightbox="mygallery{{ claim.id }}"> <video controls> <source src="{% static "{{ media.file.url }}" %}" type="video/mp4"> </video> </a> {% endif %} {% endfor %} </div>
Abdulaziz
U can use js for this
what about Django is it possible?
Abdulaziz
IDK (
thanks
Daşqın
Mirco
/warn ot crossposted
Hello
For every category I have different form so how I need to display the form and how I need to check that particular form
Harish
How do you integrate a live stream video with Django?
Ashutosh
Assignment Details Imagine, as part of the Euro 2020 football tournament, you and your friends decided to have a contest in your group to find out who makes the most correct win predictions. Being the tech-savvy guy of the group, you are asked to collect the data, create the infrastructure to manage the pointing system and maintain the leaderboard – the Contest Management System. 1. Each participant will have to give the predicted result of each match, starting from the first group-stage match to the final, before the tournament starts 2. To collect the above data, you will create a google form, share the link across to your friends, and ask them to fill it before the first match of the tournament starts. How should the questions be asked is up to your discretion. Remember, less work for the users, more satisfied they will be. Since the questions are to be formulated by you, for practical purpose, you can mock the data as well. 3. The Google form data that is received from the participants should be downloaded as a csv file to your local system. This csv file has to be used to import data into the table using python code. 4. There are a total of 51 matches in Euro2020. The prediction for each match by each participant and the actual result of each match should be stored persistently.The fixtures can be found in the https://www.uefa.com/uefaeuro-2020/news/0254-0d41684d1216-06773df7faed-1000--euro-2020-all-the-fixtures/ link. 5. The pointing system consists of two measures: 1. Points earned each match – The points that are earned for each correct prediction. Group Match – 1 point Round of 16 – 2 points Quarter-Finals – 3 points Semi-Finals – 4 points Finals – 5 points 2. Correct Prediction Count – The total number of correct predictions made at any given point in time. The Total Point of a participant = Sum of Points earned for each match multiplied by Correct Prediction Count at that point in time. 6. If two or more participants have the same point, the better rank goes to the participant who has a higher value for Correct Prediction Count. Even after these criteria, if two or more participants have the same ranks, then the participant who submitted the predictions earliest will get the better rank. The timestamp of submission will be there as a default attribute in your google form
Ashutosh
Anybody help me with table schema for this
Sandeep
Anyone online here python programming person ?
Sandeep
Need help
Kali
Need help
what's your problem ?
Sandeep
what's your problem ?
Hello guys i want print the list of prime numbers in the pyramid pattern.here I don't assign the number of rows .when suppose count =1 I have to print the 1 st nunber from the list ,when count =2 it has to print next 2 numbers from the list like that it has to print the prime numbers 47
Ashutosh
Can django be used as backend in flutter or drf is the only way
Kali
Can django be used as backend in flutter or drf is the only way
lolx you can use django or drf. drf only simplify the creation of apis, but if you can handle serialization, token based auth, etc with Django then you can use Django definitely, but I bet, you'd want to use drf
Kali
where's the pattern ?
Sandeep
2 3. 5 7. 11. 13 17. 19. 23. 29
Sandeep
where's the pattern ?
2 should be in center
Kali
you want to print something like above right ?
Sandeep
Yup