News for hackers. Stuff that matters.
Re:Django 2.0 alpha by kolanos on Saturday September 23, 2017 @01:16PM (#15320689)
The story here is removing Python 2.7 support. This greatly simplifies the Django codebase. In terms of new features, it's relatively light, although I can see the new path-based urls being useful for new devs or those who are regular expression adverse.
Re:Django 2.0 alpha by angrygoat on Saturday September 23, 2017 @01:23PM (#15320712)
I haven't tried it out yet, but I suspect dropping Python 2.7 is going to make tracebacks a whole lot clearer and easier to read. Right now, there tends to be a bunch of frames relating to `six`, which clutters things up.

The new path based URLs look great - to me, the gain looks like readability more than anything (reading regexps at a glance isn't exactly easy, especially if they have named groups), and having built in type coercion for the parameters is a nice win too.

Re:Django 2.0 alpha by ProblemFactory on Saturday September 23, 2017 @04:11PM (#15321467)
> In terms of new features, it's relatively light

In a way that actually sounds like a good way to release things.

* Release 1.11 LTS with final feature updates for people who want to stay on Python2.7,

* Release 2.0 which is mostly a refactoring & internal cleanup - so for Django users on Python3 it should be a simple upgrade, and you get real life testing on it,

* Start adding features once the refactoring seems stable.

Re:Django 2.0 alpha by danpalmer on Saturday September 23, 2017 @04:02PM (#15321418)
I'm hoping for a speed improvement here too. Regex compilation for the URLconfs adds about a second to our startup time which in development is quite a bit.