Kevin
Hi! I'm new to django and I would like to create an API where I can Login, Register and Reset password by email, is there any recommended tutorial to learn about this? I have found many tutorials and every tutorial does it on a different way
Caio
Hello All, hope you're fine! Quick question does anyone know on how to make user changes password on the first access? Thanks
Kevin
Thank you so much, Im gonna check em
Satan
Hi i need to make a function with database queries with no return so that it can run in background without intrupting the current process
k.h15
I have a problem my server does not want to work
Mirco
It depends on your auth class Without seeing the code, it's hard to help u
hydrozzen
Hey how can i send my code ?? Of a django site Let me elaborate a bit what i exactly want to state I had made a django website in which there is one contact us page in which if someone enters his details,I get those details via Gmail, similarly I want to make one another form for eg. Feedback or payment form The thing is at a time one one works for eg. If there is just contact us page it works fine and if there is feedback form it too works fine the moment when there are both the forms, neither of the one is working. That's my case So now which files code I need to share View.py,urls.py,contactus.html,feedback.html Any other file's code do i need to send?
hydrozzen
I want info of both the pages to render my gmail
Mirco
inherit from ModelBackend instead of BaseBackend
👑 Dharmzeey
Please i want to access a method of my class based view in another class.
👑 Dharmzeey
please how can i do it
👑 Dharmzeey
https://pastebin.com/ssYqg8Rz Here is the code snippet
𝚂𝚘𝚑𝚛𝚎𝚝
Hello. I've published my django project, but I'm getting an error. "502 Bad Gateway" Who can help me? Error details are at this link: https://stackoverflow.com/questions/72434658/502-bad-gateway-nginx-1-18-0-ubuntu-django-nginx-gunicorn
Max
Please i want to access a method of my class based view in another class.
Or inherit the old class into the new class so you can use it’s methods
Max
By subclassing it the normal way
~ N
hi guys I have a problem
~ N
return redirect(resolve_url("index")) -- this lines directs me to error (page index not found)
~ N
when I trace it shows http://127.0.0.1:8000/books/add/index.html
~ N
like the index is a part of the add but its not
cj
I did but it is looking somewhere else
so you're messing with namespaces then ¯\_(ツ)_/¯ double check your URLs names and namespace
cj
Thats it thanks ! I forget to add the namespace
name and namespace are kinda tricky if you don't pay enough attention to them, but once you got to manage how to use them it's a piece of cake
~ N
How to change font size using cookie
cj
How to change font size using cookie
that's nonsense, cookies are not meant for that ¯\_(ツ)_/¯
Oluwabunmi
Good evening everyone, i am new here, i need materials that can help my django learni g
Bill Gates IV
Good evening everyone, i am new here, i need materials that can help my django learni g
Everything you need to learn is in the Django documentation
Doragonsureiyā
Good evening everyone, i am new here, i need materials that can help my django learni g
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Oluwabunmi
Thank you all for the responses
Yuldashvaev
Hi
Yuldashvaev
Can you help me?
Yuldashvaev
Search is not working
Yuldashvaev
Can you chek my codes ps?
Doragonsureiyā
Can you chek my codes ps?
To share code or error tracebacks, use a pasting service, like: - https://linkode.org - https://dpaste.org
Yuldashvaev
https://github.com/ikboljon1/ivests
Charly
https://github.com/ikboljon1/ivests
you need to point out where is not working
Yuldashvaev
Views.py
Yuldashvaev
13th row
Charly
Views.py
ok, so you don't want help
Yuldashvaev
I'm sorry i don't speek engli
Alex
Search is not working
>If search=="": >if search:
 
hi everyone how to use django and react both in one project? what is the technology for it?
Charly
hi everyone how to use django and react both in one project? what is the technology for it?
react makes ajax calls to django, thats it you can organize it better by following a REST pattern or similar
Viktor
hi everyone how to use django and react both in one project? what is the technology for it?
You can try to google this book "Building Versatile Mobile Apps with Python and REST"
Artem
Hello everyone, need help with permission, I need to make a custom permission class that will allow access to the View if the previous conditions for filling in the data are met.
Viktor
your permission class must be inherited from BasePermission and return true or false for conditions
Alex
Its an assignment, must to do it 🥲💔
does it say "cookies" exclusively?
Charly
Its an assignment, must to do it 🥲💔
Ask the person who assigned you what id does mean
~ N
Ask the person who assigned you what id does mean
He means to change the size of the text in a page from small to large and reverse
~ N
I don’t know
~ N
Like the dark mode for the page
~ N
I couldn’t find any resources for that
👑 Dharmzeey
https://github.com/ikboljon1/ivests
Have you been able to solve it
Alex
He means to change the size of the text in a page from small to large and reverse
Just make custom fields in the user model, and allow customization.
Charly
I don’t know
Then thats the part that you need to ask, and it seems is not related to django, font sizes are related to frontend so CSS must be the solution
👑 Dharmzeey
https://github.com/ikboljon1/ivests
The cbv, to be able to perform vet request, it needs requires a get method, you need to define a get method before you can access the search keyword
Charly
Yeah i think its a css thing but in what condition cuz nothing has worked with me
again, nothing related to django aside from saving the value on a model and populate the cookie, but the change must be a javascript reading the value of the cookie and then applying classes that control the font size
Alex
Yeah i think its a css thing but in what condition cuz nothing has worked with me
Then that's more of a session-based than of a user base.
~ N
Then that's more of a session-based than of a user base.
But he says a cookie he asked for something else using session so
Charly
We must use django
ok, you are not reading at all
~ N
ok, you are not reading at all
I did but we must use html / css / django
~ N
Only
Charly
I did but we must use html / css / django
then change the class in the django template
~ N
I will try thank you guys
Stéphane P
Please I want to run command Shell in the python program but i have the difficulties