Doragonsureiyā
can anyone fix it?
Maybe anyone is here, yes, but they are not obliged to read everyone's message here neither to reply to everyone's message, if someone wants to reply to your message, they will do that, just don't try to draw attention to your message writing "anyone?" every 5 minutes, that will lead you to be warned for SPAM/Flood, just be patient or use Google/DuckDuckGo to research about your question instead of wasting time here waiting for people to do your work. Have a nice day 😊
Nani
How to implement Ajax code for to get data from backend to display without refreshing page
Anonymous
jquery ajax ? angular ajax ? which Ajax
Nani
J query
Nani
I want to display backend data in front table without refreshing page
Nikita
Hello everyone Maybe someone has an example of organizing tables for the following project: An ad board with the categories cars, real estate, work, and others. All these categories have their own fields, and how best to make it convenient to work with all the tables so that I can filter them.
Sergey
Hi all! I have a foreign key in a model, so I can make a relative manager call from an object in the parent model. Question: can I do obj.rel_name.exists()?
Sergey
kuzmich
I want to display backend data in front table without refreshing page
If you don't have a full frontend you can use Vue instead of jQuery jQuery is huge and vue is a lot better Also there is no need to use ajax as js has fetch function It's just my opinion on that
kuzmich
You can check the source code of jQuery to make your own opinion 😁
منتظر
https://youtu.be/vgEVfaDmfTk What is the best: Focusing on back-end with Django Or Improving my skills in Back-end and front-end (Django, HTML, CSS, JavaScript, react) At the same time
Abhishek
Any redis knowing devloper
Doragonsureiyā
Any redis knowing devloper
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
Abhinesh
Hi all Can we send form data in GET request in postman If yes how to get the value Like pname=request.data.get. ??
Harshanand
When i use same table to two different models it gives error how can i solve this
Anonymous
How to implement Ajax code for to get data from backend to display without refreshing page
https://bradmontgomery.net/blog/a-simple-django-example-with-ajax/
Abhinesh
By using query parameter
Query params means by the url right??
sheikh
Yes
Abhinesh
Ok I am thinking like we can also send data in form data in GET request also
Abhinesh
I am using drf sending form data in post man via GET request I am thinking whether I can get the data
Anastalex
pythonanywhere.com > The STATICFILES_DIRS setting should not contain the STATIC_ROOT setting What should be in the settings? I found only: STATIC_ROOT = os.path.join(BASE_DIR, "static") What should be STATICFILES_DIRS?
Naol
why is static files not working on iis
Son
vue knowledge in ussd plz
Abhinesh
Nope
i got it using name=request.data.get('searchname') in GET request of form-data in postman without queryparams
Tonana
Hello everyone, subscribe to the instagram of our development studio based on Django/Python and blockchain technologies: https://www.instagram.com/blockczech/
Abhinesh
Ok and in django?
I am using DRF
sheikh
Ok
R
Is there any git repository having projects on django ?
VISHNU
I have serializer data like this Order_id{I'd :1 Some data's} Product_id{I'd :1 Some datas} Order_id{I'd :1 Some data's} Product_id{I'd :2 Some datas} How to make Order_id{I'd :1 Some data's} Product_id{I'd :1 Some datas} Product_id{I'd :2 Some data's} Like this
VISHNU
I have serializer data like this Order_id{I'd :1 Some data's} Product_id{I'd :1 Some datas} Order_id{I'd :1 Some data's} Product_id{I'd :2 Some datas} How to make Order_id{I'd :1 Some data's} Product_id{I'd :1 Some datas} Product_id{I'd :2 Some data's} Like this
From order product model serializer I am getting data from foreign key related with order table and product table .for one order need to show the product.now I am getting the product but order_id is repeating how to make it as one show the products to one order.
Muhammadjon
i'm trying to create login with facebook. but I don't know what to write this field: "Deleting user data In the meantime, there is no need to know about it. " in https://developers.facebook.com
VISHNU
Looks like both are same!
Here order_id is repeating in first response but the response I need is not to repeat that.
VISHNU
Share the code you have used.
Yes I mentioned in that link in apiview it's an class based generics retrieve apiview.
William
Yes I mentioned in that link in apiview it's an class based generics retrieve apiview.
You didn't include a view function. Only serializer code is available
Naol
how do i get iis to host django static file
Naol
anyone worked with django on iis
Nani
Need to update cell value in table for every x seconds in front end how to that
Dev
👍
parandhamudu
I have small help , it's paid tosk
parandhamudu
How prepare report using CSV file in python language
Swati
https://hastebin.com/bugufaziya.lua
Swati
this is my code. m designing a banking system. i want my data to be stored in dictionary . at start of program , i hv initialised empty dictionary and id=0. i want my data to be filled in dictioanry and id shld increment. bt the problem here is, every time i add a data by refreshing the terminal, dictionary becomes empty and it doesnt show the previous data
Swati
is there any way in which we can store the data in dictionary...
Anonymous
For Entreprise Level app, Django is not very productive
Which stack do you use for enterprise level app?
Anonymous
Frappe framework
I haven’t heard about It yet
Swati
its called inside init function
Ghorz
You can Google it
Swati
so, is there any metthod to retain my data?
Anonymous
You can use file system to store the data
Swati
even after refreshing the terminal?
Michael the wolf 🐺
sqlite3
Pr
its called inside init function
Then add "store" in user object in line no 33
Michael the wolf 🐺
easy to get started
Michael the wolf 🐺
umm okyy..
use any json or .ini, works fine
Swati
dont hv any idea abt it
Ghorz
I haven’t heard about It yet
You can search for it
Naol
how do i get iis to host django static file
never mind, i had to collectstatic them and remove the wfastcgi handler from the static directory.
Anonymous
I have a question I saw in a code, I took a screenshot of the code but I can’t post image here, please who’s open to direct message, so I can send you the image and ask the question in regards to the code on the image please?
Anonymous
What I meant is that I saw a code written by someone else and some lines in the code is not clear to me, I wish to share a screenshot of the code I took to anyone that’s open to direct chatting, so I can point the line in the code and ask a question please. I don’t want to dm anyone unless you’re okay with it.
Ranken
Anyone into djangorestframework? I'm trying to render my rest_framework viewsets detail-view in an HTML Template... I'm stuck , how do I go about it?