ㅤXEN
And it said given token not valid for any token type
Abhinand
Parsa
How month to learn Django advantage?
Charly
Parsa
Rtm
Good evening, I have a question
If anyone could help me.
Pleaaseee
https://linkode.org/#fIHq3RLexHdA9BjuV6Lpq7
Илья
Tell me, please, when the python 3 manage.py startapp does not display the created folder in File Explorer. I work in VS
ㅤXEN
Eternity
F
Hi Everyone, I'm looking to build dynamic tables with sort and edit on click function (without any buttons). Really don't know where to start looking for. Would appreciate if someone can recommend a method
Charly
Rtm
How to save inlineformset, I think I need to use Javascript to pass the values but I don't know how I could do it
Rtm
If I am working with a structure similar to Facture, that is, header and detail... Is it necessary to use inlineformset?
In my case I use it because I want everything to be displayed in a template and everything is saved at once
هادی
Hello dear friends
I need guidance
When I try to log in to admin with a super user, it says user or password it is not correct
My username and password
+989198679227
1234
P. S: I changed the manager.py of account app
GitHub address of the project account section
https://github.com/hhneamati/yumyum/tree/main/accounts
khaled
try to create another superuser
Secret
Secret
python manage.py changepassword <user_name>
Secret
Anonymous
Hey 👋, Django geeks, is it appropriate to combine Django and React together, and what should be considered while doing so?
هادی
i need my accouns login it with phone number what shude i do
Anonymous
Ingvarr
hello. i've got some question. what is unauthenticated user from request.user by itself? can i use it as guest account?
M:))
Hi
M:))
I have an exercise, does anyone know?
Krιnꪮ
M:))
what exercise
Web programming The first exercise Create a website called Library. Add a web application named books to it. Create the following models that have the following attributes: Book Title, Author, Year, Print, Shabak Publications, Language, Shelf, Author Name, Surname, Nationality Locker No. Corridor Add these models in the admin panel and define at least 3 objects for each model. Define view URL and template for the following items Display the list of books containing a link from the book name to its details page Display the details of a book containing a link from the author's name to the author's details page Display the details of the author containing a link to his book list Display the list of books by an author
Doragonsureiyā
Web programming The first exercise Create a website called Library. Add a web application named books to it. Create the following models that have the following attributes: Book Title, Author, Year, Print, Shabak Publications, Language, Shelf, Author Name, Surname, Nationality Locker No. Corridor Add these models in the admin panel and define at least 3 objects for each model. Define view URL and template for the following items Display the list of books containing a link from the book name to its details page Display the details of a book containing a link from the author's name to the author's details page Display the details of the author containing a link to his book list Display the list of books by an author
So, why don't you do it yourself first?
When you have an issue with the Python code you wrote (read rule 5️⃣ to show your code), come back here and people will help you.
😉
M:))
I'm a student, I don't have time for my studies, help me save a girl who is frowning
Doragonsureiyā
Anonymous
Hi I'm working on a Django project and while doing the set up.
I'm facingNo module found with numpy_ops module.
I tried uninstalling dependencies and reinstalling in new venv
I also tried to uninstall and reinstall numpy
Anonymous
Can someone suggest me anything on it.
I took help from my senior, stack overflow as well as chatGPT.
I'm using windows 10
Muflone
Anonymous
_
I have multiple APIs in Django Rest Framework (DRF), such as A, B, C, and D. The client initiates a call to the main API, denoted as X. When X is called, following validation, the server will internally invoke API A. Subsequently, we must wait for a response, which typically takes approximately 10 seconds, though this duration may vary.
After receiving specific values from the response body of API A, we construct the request body for API B. When API B is triggered, assuming we receive a response after 5 seconds, it contains a list of values that need to be presented to the frontend, allowing the client to select particular values. These selected values are then used as the request body for API C.
From the response body of API C, we build the request body for API D. I have a total of 12 APIs like A, B, C, and D. Therefore, when API X is called, all 12 APIs must be invoked in accordance with the specified sequence, A->B->C->D, and subsequently, the response is returned to the client. Thanks a lot.
AZ
I have multiple APIs in Django Rest Framework (DRF), such as A, B, C, and D. The client initiates a call to the main API, denoted as X. When X is called, following validation, the server will internally invoke API A. Subsequently, we must wait for a response, which typically takes approximately 10 seconds, though this duration may vary.
After receiving specific values from the response body of API A, we construct the request body for API B. When API B is triggered, assuming we receive a response after 5 seconds, it contains a list of values that need to be presented to the frontend, allowing the client to select particular values. These selected values are then used as the request body for API C.
From the response body of API C, we build the request body for API D. I have a total of 12 APIs like A, B, C, and D. Therefore, when API X is called, all 12 APIs must be invoked in accordance with the specified sequence, A->B->C->D, and subsequently, the response is returned to the client. Thanks a lot.
Your question?
AZ
AZ
I have multiple APIs in Django Rest Framework (DRF), such as A, B, C, and D. The client initiates a call to the main API, denoted as X. When X is called, following validation, the server will internally invoke API A. Subsequently, we must wait for a response, which typically takes approximately 10 seconds, though this duration may vary.
After receiving specific values from the response body of API A, we construct the request body for API B. When API B is triggered, assuming we receive a response after 5 seconds, it contains a list of values that need to be presented to the frontend, allowing the client to select particular values. These selected values are then used as the request body for API C.
From the response body of API C, we build the request body for API D. I have a total of 12 APIs like A, B, C, and D. Therefore, when API X is called, all 12 APIs must be invoked in accordance with the specified sequence, A->B->C->D, and subsequently, the response is returned to the client. Thanks a lot.
# tasks.py
from celery import shared_task
@shared_task
def call_api_a():
...
@shared_task
def call_api_b():
...
@shared_task
def call_api_c():
...
@shared_task
def call_api_d():
...
# views.py
from .tasks import call_api_a, call_api_b, call_api_c, call_api_d
def main_api_x(request):
result_a = call_api_a.delay()
result_b = call_api_b.delay(result_a.get())
result_c = call_api_c.delay(result_b.get())
result_d = call_api_d.delay(result_c.get())
final_result = result_d.get()
return final_result
_
Arturito ®
I have tables created in postgresql, how do I pass them to the moodelos in django?
Anonymous
Hey , when i am trying to install new package error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ iam gettng these error
Anonymous
I am using vs code how to resolve these error
Secret
Secret
Anonymous
Secret
Yeah
Please upgrade c++ build tools
Anonymous
Thankyou Secret Bit
Anonymous
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.37.32822\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2 thatone resolved now we got anotherone
Charly
Charly
Anonymous
Charly
Django
How to get real time current bus location in DRf ?
Charly
Django
Yes
Charly
Yes
So just send it on the view as any other data?
Django
I don't want to use with server side javascript and fetch
Charly
Django
Can do json load
Django
I give example
bus_name
lat
long
location
last_updated_time
Django
I just want to working with few dummy data
Soa
I've a project using sqlite which has data
I want to use mysql. what should I do
Charly
Soa
I've set up and connected to empty database of mysql(xampp) connection is online.
But tried data transfer from make migrations struck in midway
דוד
Is there anyone who knows free django server to host my web?
Parsa
How to connect thr portage database with orm
Pranav
can we send text with it def gen(camera): while True:
frame = camera.get_frame() yield (b'--frame\r\n'
b'Content-Type: image/jpeg\r\n\r\n' + frame + b'\r\n\r\n')
Pranav
?
Armin
hi
is there any statement "djr" in pipenv?
Asadbek8802
is there anyone who has worked with internationalization and localization? in general doing many-language-web-site?