Anonymous
Cool
why it's?
cj
1.11 will reach end of life in 4 months 🤷🏻‍♂️
Anonymous
1.11 will reach end of life in 4 months 🤷🏻‍♂️
yes,soon I will migrate to 3, which version do you think is stable for now and suitable for long-term use?
cj
yes,soon I will migrate to 3, which version do you think is stable for now and suitable for long-term use?
as I said, 2.2 it LTS now... but it will depends on your updates policy, I know people running project on 1.7 because they don't want to upgrade (or it's too hard to do) so they keep using an old version, also there are other projects where the lates version is always used, so which version to use, it's up to you
cj
3.0.1 is stable too
Anonymous
3.0.1 is stable too
which do you think is more suitable for my migration whether 2.2 or directly to 3.0.1
cj
which do you think is more suitable for my migration whether 2.2 or directly to 3.0.1
that's a very vague question/answer combo, you have to do it yourself, it will depend on how well/bad you made your project, but definitelly things are gona be broken and you have to fix/change a lot of code no matter if you choose 2.x or 3.x
cj
okay bro,thanks for much information
I'm not your bro 🙂
cj
Go to 2.22 for LTS
2.22 doesn't exist
Anonymous
I'm not your bro 🙂
i'm sorry, kidding
cj
latest 2.2.x is 2.2.9
Anonymous
Go to 2.22 for LTS
But Django 3 have Async
Anonymous
2.22 doesn't exist
There is Go to docs If you click on document version you'll see
cj
There is Go to docs If you click on document version you'll see
ok... and what if there's not 2.22, I'm going to ban you from the group, ok?
cj
so... should I ban you now? 😉
Anonymous
There is😐 2.2
Firdaus
Maybe he meant something like 2.2.2 https://docs.djangoproject.com/en/2.2/releases/2.2.2/
Виктор
Hi, can help me please? How to show choices in template? I have in my model status field <- integer and choices.
Shubham
Hello guys may i know the attrib field for storing 'Fod type'= veg/non veg in a class?
Anonymous
Use choices
Nikhil
I have read all pillow messages above but cant find my answer 1) my project interpreter is Python3.8 2) I am getting a error in installing Pillow 3) these are images
Nikhil
I could not send the images but It is saying not found header files for Zlib and some external dependencies
Nikhil
How to resolve it
Firdaus
All of the clues should be in the error message.
Nikhil
I installed library raw-zlib
Firdaus
Hello guys may i know the attrib field for storing 'Fod type'= veg/non veg in a class?
One way of doing this would be... is_vege = models.BooleanField()
Firdaus
How to do that
Have you tried searching: "how to install Zlib header in {your os}"?
Nikhil
Nope
Nikhil
I am doing it
Firdaus
😁👍
Nikhil
Tell me one thing is Pillow compatible for python3.8
Nikhil
Then why I can't install it I don't found anything how to install Zlib headers
Nikhil
And I wrote pip install Z-lib I got one error could not find a version that satisfies the requirement zlib
Nikhil
Installed
Nikhil
I have installed pillow Now how to use it
Nikhil
I don't get any answer on net
Jigani
I have installed pillow Now how to use it
Django uses pillow as it depends on it. You don't have to worry about it
Nikhil
But when run python manage.py makemigrations or migrate it is showing install pillows
Nikhil
And when run command for install pillow it says requirement already satisfied
Altaf
Check which version of python django is using and pillow is install on which version..
Anonymous
Adding to all the above responses, also, if you are using a virtual environment, make sure pillow is installed in the virtual environment too.
Nikhil
All things cleared
Nikhil
Do you have 2 versions of python??
Nope just 2 virtual env created
Nikhil
After installing pillow in one env just copied all django files and required stuff from another to this
Nikhil
So I have tested all options I think
Nikhil
Do I have to make a new project and install pillow first then making parts of project
Altaf
That will be better
Nikhil
Ohkk
Anonymous
How to add video in django like images anybody knows it
Anonymous
Help me please its urgent
Anonymous
Html <video> you can use
Mirco
How to add video in django like images anybody knows it
Use FileField to store it and a video tag
Anonymous
But it is not playing
Gourav
Hi Nikhil
Gourav
I just joined the group
Gourav
Can u plz share your problem one more time?
Gourav
Maybe I can help you.
Anonymous
Hi every one, how I can find job as Django developer ?
Nikhil
Problem resolved by starting new project and then making all files again
Nikhil
I just joined the group
If you want what was the problem u can send a dm
Anonymous
hi guy's i want to see the main code of DetailView and CreateView and ListView what should I do?
Arturo
Go to the directory with the code?
Arturo
Or in django documents
Arturo
Search for the class and click in code