Prasandeep
Please send here!!!
Rohan
hello , anyone have Django ebook
Read the pinned post, sir.
Anonymous
Just look into django signals
Actually I was learning signals..so the presave works with Django 1.10 but when I implement the same with latest version..it is not presaving and also not showing any error
Anonymous
Just look into django signals
https://github.com/Abhishek9760/e-commerce Here is the code which is working with Django latest version In the products app..models.py(presave here) and utils.py (some code to gen random slug then presaving it in database in slug field before saving the models)
Anonymous
But the presaving is not working and not showing any errors also
Ghorz
dockerfile: https://pastebin.com/ctCYAwWM docker-compose: https://pastebin.com/vA7dhjaR Entrypoint: https://pastebin.com/KB3npeVv
Working Perfecto. But for an issue still. I noticed it compiles as a self contained app. I duckduckgo how to access media files outside the docker container but found nothing useful. I want to store me media files on the host server..
Anders (izzno / gooood) 🇳🇴
Usingd Djangos dev server with debug on, so media should not be a problem
Anders (izzno / gooood) 🇳🇴
But you should not deploy a setup like that. You need to coolect static to a dir and have nginx serve it.
Anders (izzno / gooood) 🇳🇴
There's many guides on this to get you going, but duckduck go is not a good search engine... If you want to stay anonymous use startpage. Com which deliver anonymous Google results.
Raam Goulikar
Any good django projects for real time data processing and data rendering?
Stanislav
Hello everybody! How use filter in django orm with cyrillic symbols?
Stanislav
ok, I found. Maybe needs some body. qs.filter(name__istartswith=u'{search}'.format(search=search)
Macurrent
Is there any need to learn php when you already know django?
Anders (izzno / gooood) 🇳🇴
Macurrent
If need be.
Sometimes i feel like i should not learn php at all. Django does extra of the things it does
Macurrent
Or what does php do that django cant do??
Anders (izzno / gooood) 🇳🇴
Working Perfecto. But for an issue still. I noticed it compiles as a self contained app. I duckduckgo how to access media files outside the docker container but found nothing useful. I want to store me media files on the host server..
https://testdriven.io/blog/dockerizing-django-with-postgres-gunicorn-and-nginx/ This is the aarticle i was looking for earlier. It's a descent walk through. But i encouredge you to study each technology independantly as well, like linux / docker / gunicorn etc... If you looking for an easier way to deploy you have things like heroku etc...
Ghorz
https://testdriven.io/blog/dockerizing-django-with-postgres-gunicorn-and-nginx/ This is the aarticle i was looking for earlier. It's a descent walk through. But i encouredge you to study each technology independantly as well, like linux / docker / gunicorn etc... If you looking for an easier way to deploy you have things like heroku etc...
Thanks I'll use it. So grateful. I can setup bare metal vps without cpanel. But haven't used modern deployment like Docker. I'll study them properly. Before today is over I'll definitely master it. One again thanks a million.
Ghorz
Can someone help me on how to implement machine learning model into web app via Django framework
Oga, first iplement the ml once its functioning, it will be easy to Djangorize
SJA
hello anybody here with good knowledge in flask...i need help
Dipesh
Someone please help, my app is working fine in local machine but while migrating to heroku I am getting error at models. Stackoverflow: https://stackoverflow.com/questions/57451652/psycopg2-errors-stringdatarighttruncation-value-too-long-for-type-character-var
Rounak
To start web development using python... Is it good idea to start with django framework? Or I should learn flask
Yash
To start web development using python... Is it good idea to start with django framework? Or I should learn flask
right now flask demand is little high in market as compare to django...but both are good, u can choose any.
Mohamed
To start web development using python... Is it good idea to start with django framework? Or I should learn flask
you can use FastAPI it easy to learn and powerful for modern Web development 😁👍
Anonymous
Hi everyone How much probably does cost building modern and beautiful blog site in Django?
Ghorz
To start web development using python... Is it good idea to start with django framework? Or I should learn flask
This is Django group. The answer to the question can be best answered by you. You know what you want. Search the Web, you'll find great resources.
Anonymous
20 - 25k Depends Agile model
20 - 25k in american dollars?
Ghorz
SJA
Find a flask group. This is Django group
if you know of one help me find it
Anonymous
Only
Ghorz
Hi everyone How much probably does cost building modern and beautiful blog site in Django?
It depends on the features your blog has, you can't compete with WordPress in features. You can build a Django blog yourself. If you want it to be feature reach, prepare to spend over 2 months building it with lots of walls to hit.
Anonymous
Only
it is enough for 16 years old boy and I'm beginner in Django
Anonymous
Give time to Django Cz Django wants time
Anonymous
How to learn rest api
Maksym
How to learn rest api
How to breathe?🤔
Utpal
How to learn rest api
How to shit?😐
Anonymous
😒😒
Ghorz
Is there any need to learn php when you already know django?
It goes thus. I learnt to drive a Toyota, Let me ask you. Should I learn to drive Honda? Or move further to Trucks?
Heigler Rocha
is django channels stable enough for profitable apps?
Heigler Rocha
I'm trying to build a simple data binding using DRF, websockets and channels for a mobile app but I struggling to find information or sucess cases
Anders (izzno / gooood) 🇳🇴
If you are not using the admin framework and you are mainly looking for websockets, you have flask-socketio (or node and socketio).
Anders (izzno / gooood) 🇳🇴
Django channels uses plain websocket which usually requires more work on the frontend then socketio which abstracts more.
Heigler Rocha
Its a legacy django app with some real time features (actually it is using flask-socketio for that with management commands to run the server) and with itensive ORM and admin usage
Heigler Rocha
Now it need a mobile app and more real time features, but things are getting messy with flask inside django to handle websockets
Anders (izzno / gooood) 🇳🇴
Now it need a mobile app and more real time features, but things are getting messy with flask inside django to handle websockets
Then channels is the way to go :), but expect some front end rewrite if you are using socket-io
Anders (izzno / gooood) 🇳🇴
Many people mix websockets and socketio...
Anders (izzno / gooood) 🇳🇴
It's not "the same"'
Anders (izzno / gooood) 🇳🇴
SocketIO uses websockets (And other technologies +ads an exttra payload to your communications...)
Heigler Rocha
With fallback features, right? That's why you said I'll have more work with raw websockets/channels, I suppose
Heigler Rocha
Channels = more work Socket.io = Need another server to handle connections to use with Django
Heigler Rocha
Tough decision 😐
Heigler Rocha
What do you think about third part services like pusher for the job? In such case I don't need an extra server (only api calls) https://pusher.com/channels
Anders (izzno / gooood) 🇳🇴
Why do you need extra servers ?
Anders (izzno / gooood) 🇳🇴
Everythings a service these days ? Just spin up another container ?
Jimmies San
Why do you need extra servers ?
ha. scaling. balancing
Jimmies San
a lot of reasons
Jimmies San
litwrally a tons of reason
Anders (izzno / gooood) 🇳🇴
hm...
Jimmies San
depends from your.business
Jimmies San
multiregion
Jimmies San
dns geography
Jimmies San
cdn
Anders (izzno / gooood) 🇳🇴
If your site is "this demanding" something is off ?