Live data from Hacker News

Django 3.2

djangoproject.com

71–80 of 195 posts

Re: Django 3.2

#71
post #42

Before Django the gold standard for Python web apps was Zope. What a tremendous achievement by the Django team!

I remember Zope was pretty universally disliked by Python programmers. But it was for a time probably the most enterprisey thing with Python inside, so maybe it got more points in corporate places as something to try as an alternative to Enterprise Java Buzzwords. Before Django there was a lot of choice and active libraries / frameworks for Python web app development, IME most apps gravitated more towards "ala carte"…

Replying to myself: for those interestedin ZODB, there's also a simpler standalone remake called Durus (by well known Pytoneer Neil Schemenauer): https://github.com/nascheme/durus

It might not have the replication / distributed features though.

Re: Django 3.2

#72
post #53

I'm more if a flask man myself. Worked with django only when I had to. Maybe I'm wrong?

Django has a few drawbacks: 1. It’s tricky to use in non-web contexts. If you ever need something to happen as a response to an event which is not a web request, Django makes this difficult and ugly. 2. Django also more or less requires ownership of the database in order to function as intended. If you want to have your Django objects in your own database and handle schema changes centrally (to, for example, alleviat…

I'm using nameko and Django in a project, and haven't seen any issues with nameko just calling django.setup() and then the models and managers.

Re: Django 3.2

#73
<3 to Django team and community. Thank you for your continued great work and congrats on this latest LTS!

Re: Django 3.2

#74

Django is the gold standard for consistently pushing out reliable, well documented open source software without any marketing fluff or other bs. The amount of value the team is adding to the world can't be overstated.

A couple of years ago(2014) I made my first Python website and really enjoyed, however when it was time to put it onlin I quickly discovered that setting up hosting and configuring it was as large a task in getting to know pip, env, unicorn, apache2 and a plethora of other software to host it, is this still the case? Becaue this is what keeps me of hosting websites with python.

At least with pip and env, you'd have a hard time doing general tasks in python without getting to know them anyway.

You can also shortcut a lot of that with a hosting service like Heroku, which takes on a lot of the mental overhead for you.

You've made me curious to ask, what programming environments don't have a significant learning curve when you get to the hosting portion, short of a "no-code" hosting solution?

Re: Django 3.2

#75

Django is the gold standard for consistently pushing out reliable, well documented open source software without any marketing fluff or other bs. The amount of value the team is adding to the world can't be overstated.

A couple of years ago(2014) I made my first Python website and really enjoyed, however when it was time to put it onlin I quickly discovered that setting up hosting and configuring it was as large a task in getting to know pip, env, unicorn, apache2 and a plethora of other software to host it, is this still the case? Becaue this is what keeps me of hosting websites with python.

I recognize this from some years ago, but it's not an issue any longer, as long as you go to a modern host (ie. Heroku). The old "optimized for PHP"-hosts still make things hard of course...

Re: Django 3.2

#76
Any one have any pointers to learn the Django stack from the basics? Any specific video course or a book?

"Two Scoops of Django" was recommended to me by someone on HN. I think it is currently being worked on for Django 3. It is on my reading list.

Re: Django 3.2

#78

Any one have any pointers to learn the Django stack from the basics? Any specific video course or a book? "Two Scoops of Django" was recommended to me by someone on HN. I think it is currently being worked on for Django 3. It is on my reading list.

Two Scoops of Django and the Django Tutorial itself are amazing. I highly recommend both.

Re: Django 3.2

#79
post #53

I'm more if a flask man myself. Worked with django only when I had to. Maybe I'm wrong?

Django has a few drawbacks: 1. It’s tricky to use in non-web contexts. If you ever need something to happen as a response to an event which is not a web request, Django makes this difficult and ugly. 2. Django also more or less requires ownership of the database in order to function as intended. If you want to have your Django objects in your own database and handle schema changes centrally (to, for example, alleviat…

> If you ever need something to happen as a response to an event which is not a web request, Django makes this difficult and ugly.

You are a bit vague but this is where message/task queues (e.g. Celery + a broker) come into play. Celery integrates with Django quite nicely.

Re: Django 3.2

#80

Any one have any pointers to learn the Django stack from the basics? Any specific video course or a book? "Two Scoops of Django" was recommended to me by someone on HN. I think it is currently being worked on for Django 3. It is on my reading list.

Two Scoops of Django is probably one of the absolute best books to read on Django. I would read that before looking for anything else.
Post reply on HN