ᎯⅅℳℐℕℐЅᏆℛᎯᏆᎾℛ
Static files .CSS connect at html. No work...
Dishant
Dishant
Shaun
Dishant
Shaun
Dishant
Django developer's google group.
Shaun
nice thanks
Islomjon
Hi guys
Islomjon
I wanna learn a django framework.that's why pls advice me.
George
Nitish
AssertionError: Expected a Response, HttpResponse or HttpStreamingResponse to be returned from the view, but received a <class 'NoneType'>
Nitish
help me to resolve this error
Amen
Anonymous
Amen
Anonymous
Nitish
my is_valid function is not working did you know the reason
Anonymous
Cesar
Cesar
Anonymous
Nitish
i will take care from next time
Anonymous
i will take care from next time
You can register on stackoverflow and growth your question asking skill on it. It really good skill for developer
Anonymous
Video conversion flow for HLS (m3u8) with Django and CloudFront.
I was trying to find out how to do something like HLS to prevent BEGINNERS from hacking my content, and I think I got it a little after researching all night.
Currently, I know I have to do the following:
- install ffmpeg
- convert the video after upload (I think it will be this way)
- send the files, and offer the link to the .m3u8 file (which will be together with the .ts files)
The question now is:
- I don't know yet how to set the cloudfront
- I don't know if I will need to use signed urls / cookies
- I don't know how to create the video conversion stream (I must use ffmpeg to convert and create the files, and then use the aws Python SDK to upload to AWS, and then change the video field, or even even delete the original video after upload, maybe in the save method?)
Dishant
Mirco
Daro
hi, i know this question is a little offtopic, but can u tell me some framework that works well with django, to design the page, i mean css,html and stuff
Mirco
Daro
yes thanks but need recomendations
Mirco
If you like bootstrap go for it, if you like bulma or tailwind go for them
Mirco
It's up to you
Daro
Василий
I need help) I replaced the admin panel with Grappelli. Everything works fine on a localhost. But after downloading to the Heroku server, the server gives an error: at=error code=H10 desc="App crashed" method=GET path="/" host=new-testing-heroku.herokuapp.com request_id=aa6c2a33-8d39-46e8-95f6-60a3d4580f19 fwd="95.27.151.139" dyno= connect= service= status=503 bytes= protocol=https
Василий
What is the problem? I uploaded the static files.
Василий
2020-03-29T21:21:17.662056+00:00 heroku[web.1]: State changed from crashed to starting
2020-03-29T21:21:25.680993+00:00 heroku[web.1]: State changed from starting to up
2020-03-29T21:21:26.682002+00:00 heroku[web.1]: State changed from up to crashed
Vasya
Hi everyone,
What is a default way to upload and attach files to model at one page (files have different model that is bend to main entity with foreign key). There are two ways I see it and both i dont like.
1) upload files one by one and return their ids and append them to main model form, after submit bind them to newly created model
2) at page load create empty model and update the model with files/fields
So the first way requires to customize serializers and views a lot, second requires nullable fields in db, that may lead to currupted objects.
I’m using drf for api, react for front-end things
Yacov
Can anyone help me, I'm sending a json to my api in django,
{'stars': 3}
but the api doesn't read it as a Json so I can't find the stars in the request, it show like is all one string...
George
Yacov
Yes
George
George
You are probably confusing something
George
Json is text
George
You decide how you interpret the text
George
Anonymous
Hello
Anonymous
May I ask some questions about django?
George
Doragonsureiyā
May I ask some questions about django?
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 56k+ people the probability that someone will help is pretty high.
Also please read: http://catb.org/~esr/faqs/smart-questions.html
Anonymous
how can I write Django URL for get request?
Anonymous
with ID
George
Anonymous
http://127.0.0.1:8000/api/v1/show/3923-2342-3234
Anonymous
for This api, 3923-2342-3234 is ID
Anonymous
in django urls, how can I?
George
Anonymous
url(r'^show/$', views.show)
Anonymous
Is it write?
George
Anonymous
Not yet
Anonymous
I am a beginner :)
George
Not yet
Don't ask questions before reading the django tutorial jesus christ and the holy saints of ducking PYTHON DJANGO DOCUMENTATION
Anonymous
Ok, thanks for your advise
George
Doragonsureiyā
Ok, thanks for your advise
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
George
Do you understand that you are putting work on others that you haven't bothered to do yourself?
Anonymous
I did many googling but I didn't find out
Anonymous
I can see many examples from rest framework but those are not what I am looking for, ok?
George