I don't think that a Docker image would make local development any easier. 
I also don't see how that is implied by the reddit post and it's comments.
Looking through the posts, I agree with the assessment, that most people 
currently lean towards a microservice architecture and therefore towards 
flask.
For whatever reason, people tend to think you can't build a performant 
microservice with Django. Anyways, deploying Python applications has always 
been somewhat difficult. Especially for people coming over from PHP that 
are used to a LAMP stack.

I think it would be great if Django's documentation would not go so much 
into the details of WSGI, but give a couple of google example on how to 
deploy to Heroku, DigitalOcean and the likes of it.

On Wednesday, February 27, 2019 at 7:32:06 AM UTC+1, Alexander Lyabah wrote:
>
> but the image it self is only using runserver, which means it is only for 
> dev-server.
>
> The requirements.txt can be part of connected volume. So the image 
> contains only django and configured server.
>
> On Tuesday, February 26, 2019 at 5:28:14 PM UTC+2, Tom Forbes wrote:
>>
>> There never was an official Django image, it was an "official docker" 
>> Django image that they maintained. The page image page explains why it was 
>> deprecated: https://hub.docker.com/_/django
>>
>> For most usages of this image, it was already not bringing in django 
>>> from this image, but actually from your project's requirements.txt, so 
>>> the only "value" being added here was the pre-installing of mysql-client, 
>>> postgresql-client, and sqlite3 for various uses of the django framework.
>>>
>>
>> I fully agree with this, it made little sense as an image at all.
>>
>> On Tuesday, 26 February 2019 07:39:34 UTC, Alexander Lyabah wrote:
>>>
>>> Hi guys,
>>>
>>> I found out that official django container is deprecated. Why you don't 
>>> want to support it?
>>>
>>> When you search "django" in Python subreddit 
>>> https://monosnap.com/file/R3uAqdrcrtxjCyKgHhhe7B8lO3up5q
>>>
>>> you see "Flask has overtaken Django according to the 2018 JetBrains 
>>> Developer Survey" 
>>> https://www.reddit.com/r/Python/comments/ao5dml/flask_has_overtaken_django_according_to_the_2018/
>>>
>>> and the main point in this discussion that it is hard to start from 0 to 
>>> real project.
>>>
>>> That why I was surprised that you don't have a simple docker container 
>>> with configured django with apache or/and django with nginx . It can save 
>>> so much time for people who just want to launch a simple pet project with 3 
>>> visitors per week.
>>>
>>> Thank you, I love Django and wish you be better and bigger, have a great 
>>> week.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/8d14e54d-87dd-448e-896e-49580bb10f86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to