Anonymous
But iam using terminal window using vscode
professor
does anyone have implemented canvaslms + diango?
R
Doragonsureiyā
does anyone have implemented canvaslms + diango?
Please don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello I need help on $z"
Just ask about your problem directly! With 48k+ people the probability that someone will help is pretty high.
Also please read: http://catb.org/~esr/faqs/smart-questions.html
Gaurav
i am extending base.html to another template. I have created navbar in that base.html now I want to use that navbar in all other templates. I did that just by extending {% extends 'base.html' %}. but the problem is that I want to make it static so that if user will scroll down, navbar remains in the frame. how to do that
Gaurav
i wrote {% load static %} in the body but that didn't work for me
Gaurav
https://pastebin.com/wZwvDguS
Anonymous
Sultonbek Ikromov
Orack
can anyone confirm how will postman request look for this
Orack
https://del.dog/bubihaixam.txt
Orack
or httpie
Orack
{
"related_data": [{"data":"q2"}],
"user":"q2"
}
Orack
like this?
Anonymous
Hello all. Can you please advise any Django libs like django-extensions «Graph models» for researching and understanding big Django projects? Or maybe any approaches for big projects architecture understanding.
Orack
Anonymous
Graph models provide diagrams from model. I mean any other tools for big projects research.
Yash
I am trying to make a page where admin can mark attendance for each student using absent and present radio boxes, I can't get how can I get radio boxes values in my views and update it for multiple fields in my model
Anonymous
Anonymous
Hello all.. I am having problems with sending emails using Django 3.0. I have created a custom user model and a custom User creation form. When new users register, they should get an email with the account activation link. Everything works fine when i use console backend to send email. But when I switch to smtp backend, I get an authentication required error. I am using Google SMTP server and using a gmail ID to send emails. I have tried enabling 2 Factor Authentication and setting an app password. I have also tried turning on support for less secure apps too. But none of them have solved the problem. I have gone through lot of similar cases raised in Stack Overflow but it too hasn't helped. If I remove the email sending part from the code, users are able to submit their forms successfully. So I am thinking the problem is with email part. Below is the code example for reference.
https://pastebin.com/aJgcKBRX
Any help on this would be appreciated.
Adarsh
How to verify a number by otp
Adarsh
How to get the uid and verify it that it is verified by otp
Vladimir
Hello everyone!
Can someone help me? I have a model with two DateField fields: start date and end date. I need the administrator to fill in these fields with his hands, but for a simple user, these fields are automatically filled with the current date...
Master
Vladimir
Nope. Form is not valid
Master
Not in form. In model
Master
https://stackoverflow.com/questions/2771676/django-datetime-issues-default-datetime-now
Vladimir
https://ru.stackoverflow.com/questions/1055891/django-2-2-%d0%b8-%d0%bf%d0%be%d0%bb%d0%b5-%d0%bc%d0%be%d0%b4%d0%b5%d0%bb%d0%b8-datefield?noredirect=1#comment1805742_1055891
Nazar
Anonymous
Pruthvi
I have made login with token but how i delete that token for logout??
Unkownu
How to insert data from a python ouptput into a html table jn django?
What syntax or what method should be used
Orack
can anyone share payload screenshot
Orack
for nested serializers
inchidi
Pruthvi
inchidi
inchidi
inchidi
Orack
Orack
will get back on my pc in few hrs
WhiteDevil
Hello All - I have a query
WhiteDevil
I mostly code in Python to automate stuffs that involves other python libraries as well
WhiteDevil
Now I would like to have a web-ui for the scripts I have already written
WhiteDevil
What is the best way to Port that script to Django?
WhiteDevil
Does this needs a rewrite ? Or I can use the existing script
Anonymous
anybody who can help me?
Anonymous
ok, someone can help to solve this mistake? ERR_CACHE_MISS, I have this mistake sometimes when press the back button in google chrome, i have tried to solve it setting the broswer, but no fix it.
Vladimir
Orack
Doragonsureiyā
anybody who can help me?
Please don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello I need help on $z"
Just ask about your problem directly! With 48k+ people the probability that someone will help is pretty high.
Also please read: http://catb.org/~esr/faqs/smart-questions.html
Aswath
Hey.. how to create custom user model
Aswath
??
Ganesh
How to make fields read only in django
cj
Trials
carson
I hv a django form but it doesn't render on the HTMl template .however when I view the source code on the browser I still see that the form is there but its rather has an "input" attribute which is passed "hidden" as it parameter I guess that's why the form is not showing ..
How do I make the form visible
cj
Aswath
Orack
yeah should be like that
{
"error": {
"related_data": [
{
"user": [
"This field is required."
]
}
]
}
}
Orack
then if i do this
{
"related_data": [{"data":"q2","user":"q2"}],
"user":"q2"
}
Orack
it shows
{
"error": {
"related_data": [
{
"user": [
"Incorrect type. Expected pk value, received str."
]
}
]
}
}
inchidi
https://del.dog/bubihaixam.txt
in your this model you dont have user inside related data, but now suddenly you have. try share your real model
inchidi
John
anyone here tried deploying a project in heroku?. .
John
when deploying, where should I place my static files? is it inside my app folder or project folder?. .
Orack
Anonymous
Anonymous
But i had placed all static files in the project folder.
Anonymous
Heroku still created a separate staticfiles folder at the time of deployment. Make sure you add a STATIC_ROOT path in your settings.py file pointing to this folder before deployment.
Anonymous
See this link for more details.
https://devcenter.heroku.com/articles/django-assets
R
WhiteDevil
Okay. Thanks!
Anonymous