George
im lazy lol
Mirco
😱
😂
cj
then why errors occur 🙄
Mirco
im lazy lol
You would save lots of time like now
George
i don't need a bible now
George
i need solutions xD
Mirco
Ahah ours are suggestions
George
i know, i will do testing damn
cj
i need solutions xD
start writing unit-tests for that specific piece of code where there's the bug that doesn't let you sleep
George
i'm not sure about where is the bug or what caused it, it may be javascript 🤔
George
undefined doesn't seem to be a python msg
Mirco
Nope
George
well, i relaxed and accepted that i cant solve it
George
i'll just re do it xD
Mirco
Rajjix
Carlos Mantos live from NewYork
George
don't forget the unit tests
I made some reverse eingeneering and i put a bit more of testing and im positiver now
George
positiver yeah
George
it's not directly django related but i'm happier, is that django related?
Anonymous
Take a look at "Learn Python" https://play.google.com/store/apps/details?id=com.mehul.hp.learnpython
George
Testing ?
Not exactly, hacking a bit haha
George
I was doing some polygon conversion
Mirco
😂😂
Fazil
Django books please
Fazil
For noobs
Rajjix
https://media.readthedocs.org/pdf/django/latest/django.pdf
Rajjix
2.2 is out 💃🏼
Rohan
For noobs
The docs.
Rohan
And the pinned post
Alibek
For noobs
Tango w/ Django (yeah, that's 1.9 but most concepts didn't changed). Two Scoops of Django.
Anonymous
you guys working with django, which database do you use? and do you use the database cli a lot or only use the orm for things that involve the database?
Dmitry
Guys, what up? I am only starting out in django in pursuit to build my own e-commerce web app. It is a multivendor shop, where anyone can create their page and sell products from my database. Do any premade modules you could advise, which would help me? Thanks!
Mirco
Guys, what up? I am only starting out in django in pursuit to build my own e-commerce web app. It is a multivendor shop, where anyone can create their page and sell products from my database. Do any premade modules you could advise, which would help me? Thanks!
There's a beautiful course about this topic on udemy made by Coding for Entrepreneurs So they teach you how to build an e-commerce with Django Django Oscar is very useful but I've heard not so many good words about it, but never tried it, so they could be just thoughts
Dmitry
Thank you guys for you advice!
Mirco
2.2 is out 💃🏼
Yess, but Django needs more contributors and needs some changes on how to "manage" PRs etc. https://www.b-list.org/weblog/2018/nov/20/core/
Michael
Hi everyone 🙂
Rajjix
Take leadership of the project and guide developers to the right path.
Rajjix
It was a joke, i just took it upon myself to read the whole 1900 pages. Lets see how that goes.
Mirco
😂😂😂 now I gotcha
Michael
My deploys on dokku tend to take several minutes between push and completed deploy. Why would that be the case?
Rajjix
not supporting your problem with any description or details, my crystal ball is telling me that ur reinstalling requirements , testing and remaking migrations every time you push. You should edit docker file to copy your pipfile or requirements file before issuing the install command, which makes it install requirement only if changes where made to ur dependencies.
Michael
I told you all I know.. 😅 Requirements are only reinstalled if they changed, whether migrations are remade I don't know. How can I check that?
Isaías
Haw used ACL in django? Have lib?
Rajjix
I told you all I know.. 😅 Requirements are only reinstalled if they changed, whether migrations are remade I don't know. How can I check that?
They don’t matter if that’s the case, i think u’ll just have to live with it if ur not reinstalling existing packages, probably server stuff. People sometimes wait for 15-20 minutes if they have multiple containers starting up, consider your self from the lucky ones and go for a smoke while the build completes 👍
Michael
Alright, thanks 🙂
黒の戦士
Ibrahima: Hello please i need course on how to integrate Django rest api to ionic
黒の戦士
Consume APIs from js
I already have an API that I did on django and I just want to integrate it to ionic
Mirco
Yep, call it with js on ionic
ekol96
Hello
黒の戦士
Yep, call it with js on ionic
I try and I come back
Mirco
I try and I come back
It's just calling API from client side
Anonymous
Hi guys
Anonymous
Im creating api using DRF
Anonymous
And my frontend is in reactjs
Anonymous
What is the correct way to save images after cropping them at front end
Anonymous
To crop an image, we have to open the image on canvas which gived us image in the form of base64 string or blob
Anonymous
But saving an image bigger than 1 mb in the form of base64 taking a lot of resource of my server and it just stops working and i have to restart the instance
Anonymous
Anybody has any suggestion?
Mirco
Use ImageField into your model
Mirco
So u save the path
Anonymous
Where would i get the path from
Anonymous
I will be getting the data from front end in the form form of base64 string or blob
Anonymous
And if this data is greater than 1 mb, server gets frozen
Anonymous
Any other way or trick to receive image data in this case
Anonymous
?
Anonymous
@iFlare3G
Anonymous
Hello here
Anonymous
Can someone send me pdf for learning django programming