Mirco
?
Anonymous
Am new to django...any budy provide material...
Mirco
George
you can find https://t.me/pythonres/21 at pinned message
Anonymous
Tqq
Mirco
Read the pinned message 👌
Luis
Hi guys! I have migrations problem in production enviroment... I want to reset migrations and build it from scratch. Any suggestion? (can't drop database)
inchidi
Luis
Only one db
Luis
6 apps
Luis
admin, api, auth, backoffice, chat, contenttypes, coreapp, sessions
Mirco
https://simpleisbetterthancomplex.com/tutorial/2016/07/26/how-to-reset-migrations.html
Mirco
imho it's a good read
Luis
Mirco
Leonardo
most cheap cloud computing please?
Leonardo
digital ocean?
Arseniy
Digital Ocean is great if you need cpu nodes.
Rajjix
i also suggest google clouds just recreate accounts and for each time you do a new account you get a 300$ bundle for 1$,
Leonardo
how can i get 300$ for 1$?
Mirco
Leonardo
oh, that's automaticaly...
Leonardo
Mirco
Rajjix
an extra tip would be use github to upload your projects with nginx or whatever settings you have to clone your projects to different instances you create incase you want to change the os, or even server location, you can delete existing instances and create new ones with no extra cost on same account.
cjam
Hello..
cjam
django has some function to validate the width and height of an image?
Gabriel
Validate with which respect?
Gabriel
In*
cjam
@GabrielCandrade regarding size in pixels..
Gabriel
Well, in my mind, I regard the size in front, just using bootstrap, do not use Django on it. You can change the size whenever you want to which size you want
Abhi
Hi guys,
Abhi
I am currently working on a webapp and I want to deploy it on Google kubernetes engine.
Abhi
The thing is I have my app as dockerized container with services : postgresdb + gunicorn/django + nginx
Abhi
what are the changes I need to make?
Abhi
In the django on GKE tutorial by google , Nginx isn't used...does that mean I won't be needing nginx?
Maz
Sergei
Hello, fellas
Could anyone suggest an efficient e-shop tutorial on Django ?
Thanx
Mirco
Sergei
Sergei
Maybe somebody got the same question and may have already solved it
Mirco
I got it for free some time ago
But for free I couldn't find so many resources
Sergei
Rajjix
Sounds interesting
i have 50+ courses on udemy because of coupons and some blank credit card payments with itunes, be creative
Sergei
Maz
Anything for free , maybe?
There are many of them on torrents esp for django, and frontend libs like React and Vue.
I think I saw one from Udemy...roughly 6GB of tutorials.
Rajjix
Maz
Haha, well...it's a free world.
But they have thousands of seeders so you can get the full course in under an hour
Rajjix
*botnet world
Maz
Haha, you worry too much bruh.
Been using torrents for a long time...haven't been Botjacked so far.
Rajjix
Maz
cjam
Mirco
Example ?
This could be a custom validator to pass to your ImageField attribute
R
Maz
Lol...I offer no guarantees.
I was speaking for myself.
And the millions of other seeders and leechers on torrents.
Never had a problem with anything.
Just don't click on any ads that show up.
In fact just use an adblocker and vpn and you're good to go.
R
meaning guarantee you've never been infected so far, it's quite weird saying this nowadays and personally I consider a VPN as a privacy measure, not a protection one but this is maybe a bit offtopic here
Maz
Yes the vpn is for privacy so you don't expose your ip.
Secondly...always choose the torrents with the most seeders and leechers. It shows other people can vouch for whatever you're torrenting.
Has worked for me for 10+ years.
Yes this is offtopic btw. Cheers.
Isaías
Good afternoon I have an API done using the rest of django. I have the following problem: When I make a request for a route, I get the data. But when I make one more request I get an empty list. What can this be?
Isaías
help!
Mirco
Try to explain better your "more request" pls
Isaías
Good afternoon I have an API done using the rest of django.
Isaías
ok?
Mirco
?
Isaías
I have a x route.
Isaías
I make a request for this route and receive data.
Mirco
Yup, but I told u to just explain better what u mean with more requests to understand better your use case
Mirco
I'm not stupid, I understood the other part of your message
Isaías
if I try for the second time, I get an empty list.
Isaías
sorry.
Isaías
What could this be?
Isaías
I do not speak english very well. I'm starting now ...
Mirco
Try to share the code of your api view
It could help everyone to understand better your problem
And use tool like Pastebin pls
Mirco
Mirco
It's easier to read 👌
Isaías
https://pastebin.com/jXx9AiAs