No_name
I have been trying to send a password reset mail using django and the mail is being sent but when i click the link that i get in mail it shows following error
No_name
TemplateDoesNotExist at /password-reset-confirm/Nw/set-password/
HamidReza Fekri
hello how to solve this problem I get 'str' object has no attribute 'Student' error
https://dpaste.org/fSEO8
HamidReza Fekri
Pulkit
Pulkit
Instead of using SQLite on Heroku you can configure your app to run on Postgres.
Rudraksh
Pulkit
Why SQLite data deleted?
Dynos (light weight linux containers) are restarted (cycled) at least once per day to help maintain the health of applications running on Heroku. Any changes to the local filesystem will be deleted after the restart. The cycling happens once every 24 hours (plus up to 216 random minutes, to prevent every dyno for an application from restarting at the same time).
Rudraksh
Asssshhhhhaaa
I have to use query params in the api where I have to do filtering and sorting by the same field please let me know if anyone knows the process
Asssshhhhhaaa
Using mongo
Nelson
Good morning. please I had a problem saving the data of my form in the django database, I can not retrieve the data of type select of my form, the error display is MultiValueDictKeyError at /offreEmploi
demon
demon
demon
The example is very clear
kuldeep
hi, everyone, can anyone help me out with this, I am not sure why I am getting this error every time when I try to move something from 1 app to another
File "/media/php/DRIVE/Project/192/192ATS (May 30)/Binance/plans.py", line 19, in PlanMember
currency = models.ForeignKey(binance_models.Currency,on_delete=models.CASCADE,related_name='members',)
AttributeError: partially initialized module 'Binance.models' has no attribute 'Currency' (most likely due to a circular import)
Muxtoriddin
I have the problem with django that debug is true everything is good but debug is false server returns error 500.
demon
Rahul
Any one have complete training cheet sheet of django
Anonymous
i want to query objects from two deffrent models in one set
please help below i am mentioning my model and view
https://dpaste.org/J4o3i
i want merge both lists to be merged together . if sorce is same in both of the lists there values should merge together and make .
Alex
what error?
Somebody
what error?
ypeError - expected string or bytes-like object.
Somebody
*T
Alex
complete error message will be helpful
Somebody
Юлиан🦉
I m confused with signal doesn't work (at list, print function in the beginning of handler is never executed after creating object in admin), I tried to move signals content from the ending of model file to apps.py with no result again. https://pastebin.com/Pc2FLzXu
Юлиан🦉
Have filling like I m saving it wrong way, so tried post_init - had debuger notifications about signature, but no any effect
Tokir
You have to do some changes in apps.py in ready function import your signal and also changes in init.py
Tokir
https://youtu.be/W8MLlwvSS-U
Tokir
This link will help you
Юлиан🦉
Also ran through debugger - signal is connected, but callback isnt called, is there any statements which I should care about? I did the recomendations from the doc about app.py, but it wouldnt be signature exceptions, I would say that admin site doesnt call save()
SomeBody
Hello
Django Service Objects
Anyone familiar with this library?
Bayo
Is there any tutorial that have user privilege right user in django
Doragonsureiyā
Hello
Django Service Objects
Anyone familiar with this library?
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
demon
Anonymous
vishnu
How to decode worker error?
Charly
Anonymous
karakurt
Hi.
I'm parsing some data from a site to my database.
And I need to render that data in the webpage.
I think it's overhead to use Django for just rendering templates.
It seems to me this is the case to use Flask. Am I right?
Charly
karakurt
Asssshhhhhaaa
Please let me know the query
Anton
Hello! Please, help. I have two models. Movie and tag. The movie has an M2M relation to the tag model. I'm trying to filter by movie name and tags. Well... then I parse the user's request and get a QuerySet with the given tags and movie name. How to filter by M2M? i would like to do qs.filter(name__iexact=search, tag_list__contains=tag_objects) but the contains method doesn't exist for M2M
Netra
Hi.. What to do if swagger is not loading in server after taking code live
Мark
Guys, what have I do if when I save my html file in vs code, all jinja constructions become one line?
Мark
I can show it in video
To Infinity & Beyond ♾
someone please send me a great link on django pdf file upload tutorial that i can follow
Sama
Hello, does anyone know how to create an announcement in Django?
Sama
Notification
Alex
Мark
code format extension?
Only html snippets but if I download django extension, everything is okey but I have to open and close all html tags manually
Neo
you can do long/short polling
you can use sockets
notifications also exist via email/text message
Neo
Neo
If you just want to show an alert box its as simple as triggering it from your view depending on a condition, you still haven't made it clear how or where you would like to deliver these notifications
Sama
Alex
Neo
Website
Like alex said you can django messages to store temporary data.
In the view you redirect your user after registration you can have the view pull it from django messages and display it in an alert/modal(google javascript modals)
Sama
Sama
Netra
Hi.. What to do if swagger is not loading in server after taking code live
Bhushan
Hi guys any one help me to solved django assignment
Doragonsureiyā
Mykola 🐲🐉🃏
👋 hello everyone
could someone advice, best way how to choose different db for different env?
if env = local:
use local db
else:
use another db
Юлиан🦉
Mykola 🐲🐉🃏
Mykola 🐲🐉🃏
if else condition exactly in setting or do you know more elegant/effective way to do it?
Andrej
Has someone experience in running Django on Kubernetes?
Are there any best practices for that scenario? Some people say the architecture of Django is not made to run in a containerized environment. What do you think?
Mykola 🐲🐉🃏
Joseph