Navya
And can you send me those files if possible I'm not able to attach files
Navya
Navya
Okay sir
Игорь
Good evening. How to prohibit changing a table field in the admin panel and so that it is not displayed?
cj
Игорь
it`s bad idea
Игорь
I found
Игорь
Thanks
Игорь
with help exclude
cj
with help exclude
that's the same thing I told you and you said "it's a bad idea" ... using fields = (...) to add the fields you want to be modified/showed or using exclude = (...) to don't show/modify them is the same ¯\_(ツ)_/¯
Игорь
Thanks and you. I just started to study django and did not immediately understand
Игорь
Sorry, but I have one more question. How can I display the data of a related table in the admin panel? There is a Tests and Questions table. Many-to-many relationship. When opening a test, I want to display the questions of this test
parandhamudu
Any once share me Django restfull api source code
M
Score
Is there any telegram channel those who post only python projects
cj
Doragonsureiyā
What are you talking about?
Jay
Please can anyone tell me how to set a csrf token endpoint? I want it for basic auth
Jay
I am using Vue frontend
Jay
Backend and frontend are separate
V
I have a modal form which is used to register a user.. but after submitting that form, another modal form pops which asks the user to enter the otp send to the user's mobile entered in the registration modal form.. purpose is to verify the user's mobile phone. since the project is in starting stage, i have set the otp to a number say 3456, so when user enters it the status mobile verification becomes verified.. inorder to update the status, i need users mobile number to filter the model since when clicking on submit button user gets created . How can i pass users mobile phone from registration form to next modal? Am using rest api to create the user
Игорь
good day. Please tell me how to make the next new question appear when pressed on the button? I got questions from the database in the query set
Tukhtamurod
Anonymous
How to override variables in local_settings.py?
Anonymous
@black_tiger07
Юра
Hello, can u help me with this question?
https://www.reddit.com/r/django/comments/m8kua1/multiple_upload_images_to_post/
Or maybe u know other way
Riswandi
I dont know the rules
Doragonsureiyā
🚫 Imad [443194591] is already banned.
cj
Игорь
Shubham
How can we add new field in django user model?
Shubham
I did the same,like i wrote-'accounts.User'.........but it gives error-no table "auth_user"
Shubham
Accounts is name of my app
Shubham
Mojtaba Arezoomand
Doragonsureiyā
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 ~90,000 people here, the probability that someone will help is pretty high.
How to ask smart questions: http://catb.org/~esr/faqs/smart-questions.html
Maset
I want to use GitHub repo for storing the uploading files through django project and deploy it on heroku
Anonymous
Maset
I don't know how to set GitHub repo as media directory on heroku deployment
Maset
I heard of django-github-s3 but its not working on heroku but works on local
Anonymous
Indeed it's possible but i think you have to write the feature yourself
Anonymous
You can use so many packages that do things with images it totally depends on you
Anonymous
https://opensource.com/article/19/3/python-image-manipulation-tools
https://stackoverflow.com/questions/3800925/python-2d-image-generation/3800959
https://towardsdatascience.com/image-manipulation-tools-for-python-6eb0908ed61f
And also you can search on google just like i did
Jai
Hello,
I'm using Django and React for a web app.
I want to update the frontend if the database has changed in real time, can someone suggest me a way to do this?
Anonymous
Np
SHAKEEL
Maset
Where r the uploaded files actually stored when a django project is deployed on heroku?
And how to set that to the GitHub repo itself?
Enigma
Application error
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail
anyone had the same problem while using heroku?
Maset
Check the steps carefully
I think u have skipped some steps by mistake
Maset
Taranjeet
Sea Dragon
Enigma
Enigma
Maset
https://devcenter.heroku.com/articles/container-registry-and-runtime#getting-started
Maset
Shaxboz
who is know how to use django any project in server production mode
Anonymous
Hi, when i am adding a user with UserSerializer in a post request and response of serializer.data, i am using depth = 1 so all relation fields are visible. But problem i am not able to add groups using list of ids.
Anonymous
Prashant
I wanted to create Blogging web application using Django. I have already taken courses on Udemy but they just teach basic level of Django. I need link to resources to build full Blogging app (production ready) ..I need to know design and modelling part of Django. Please help 🙏🙏
Charanjit Singh
serializer = serializerclass(data=request.data)
Serializer.is_valid(raise_exception=True)
# if you are taking role parameter from url then
First you have to get I'd of the role to retrieve you have to import Group model
Serializer.validated_data[`groups'].append(Group.objects.get(name = role))
serializer.save()
Anonymous
Hi, can anyone send me the link of any tutorial of using django rest framework with flutter?
Mirco
Viktor | Combased
Hello, I am app developer, learning django and backend in general. Recently I run into database design dilmena and feel stuck. I posted the question in stackoverflow:
https://stackoverflow.com/questions/66726368/how-should-i-structure-my-database-entities-with-invites-and-recipients-for-e-si
Perhaps someone can help? For assitance I can definitely pay 50-100 dollars. I do have a job so I can pay for assistance :) Thanks guys!!!
Vishnu
guys can anyone help me in uploading csv files in Django REST framework, thanks in advance
Tapdiq
Hello everyone, how can I change this so that after login it redirects me to another html and not to the standard admin panel? "admin/login/?next=/admin/"
Tapdiq
in codes
Editing Name
Hello guys, I'm running my django through a docker-compose and I need to see the "print" or "loggers", how do I set this up in django?