Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Anonymous
Hello guys
Anonymous
Kindly helpme guys my web app can't load images it's giving me this message .
Page not found (404)
Request Method:GETRequest URL:http://bemcsharingsite.herokuapp.com/media/images/county-vaccine_d7itt9s.jpgRaised by:django.views.static.serve
“/app/media/images/county-vaccine_d7itt9s.jpg” does not exist
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.
Damilola
Hello guys, is there a way to add "encoding" to response header in django breast framework?
How can i update my django project from 3.1.7 to 3.2?
Mohsen
Hi guys
Im new in django
What design pattern do you use in enterprise company for your projects?
Im laravel developer and we use repository pattern for our projects
I like to know the best or the most popular design pattern for django that is using in big projects
If you have any tutorial videos or documents please share with me.
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Because Flutter needs to be able to decode apostrophe "' ' " is charfield without escaping
Agent Q
Read the heroku logs
Green Bear 🐻 📈
hey guys,
i am trying to webscrap one index flag value from investing.com
my query returning country = <span class="flag flag-germany"></span>
how can i extract 'germany' from above o/p
After read "Learn Python the Hard Way", it's a good time to learn DJango? Or would you recommend to learn another stuff first?
Si
%i format: a number is required, not NoneType
this error shows
Si
views.py
def create(response):
if response.method == "POST":
form = createnewlist(response.POST) #this will create blank form and will past in html and generate the form for us
if form.is_valid():
n = form.cleaned_data["name"]
t = Todolist(name=n)
t.save
return HttpResponseRedirect("/%i" %t.id)
else:
form = createnewlist()
return render(response,"create.html", {"form":form})
First do it on local. update the dependencies and test the app throughout
Anonymous
My friend is working on a Django app. The project is such that 15000+ users needs to be able to get some real time data. He uses Django channels for it full duplex communication capability, and celery to queue task, but he found out there are time lapses in response data that is meant to be real time, because celery queues horizontally. Now, if requests are made to the Server directly without middleware like celery, he's afraid he might run out of cloud resources. I will appreciate any better architecture recommendation.
Anonymous
how can I do a bulk_create with m2m fields?
Zey
TypeError at /message
"to" argument must be a list or tuple
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you, you have to explain:
- what you're doing
- what you're expecting
- what you're using
- where you're running the script
- what Python version you're using
- what packages and their versions you're using
- and the most important thing: show the code YOU wrote (read rule 5️⃣ for that)
and more details, that way your chances to get help will increase
Anonymous
Can someone help with bulk create using m3m?
Anonymous
M2m?
cr
A class can have many students
Whereas a student can be only in one class
Is this one to many relationship?