Class based indexes - looks great, is there support for CREATE INDEX CONCURRENTLY for postgres ?
I also wondered that but seems from https://code.djangoproject.com/ticket/21039 they'd prefer devs to do that manually in migrations marked as non-atomic
Django 1.11 beta 1 released
61–70 of 87 posts
Re: Django 1.11 beta 1 released
#62This is a bit off topic, but can anyone suggest a decent Django tutorial? I've just recently learned python, and would like to build a few projects using Django. I completed Django's official tutorial[1], but when it came time for me to actually start building something, I found I didn't really understand what was going on. I should mention I'm inexperienced in both web application development and python in general.…
I haven't followed this one myself, but the django girls tutorial is supposed to be excellent. https://tutorial.djangogirls.org/en/
Re: Django 1.11 beta 1 released
#63Release notes with the new features in 1.11: https://docs.djangoproject.com/en/dev/releases/1.11/ Highlights: - better support for creating indexes on your Models with class-based indexes - widget rendering in forms now uses the templating system instead of python - Explicit subquery expression support via Subquery and Exists expressions.
This should give a decent performance improvement for many websites.
Re: Django 1.11 beta 1 released
#64> The Django 1.11.x series is the last to support Python 2. The next major release, Django 2.0, will only support Python 3.5+. Really the most important part of this release, out of all. This is the time where enterprise companies using Python and Django really need to switch to Python 3. In fact, anyone using Ubuntu 16.04 should already find themselves going "ugh" because they needed Python 2. More reasons to push f…
I like the model of https://railslts.com/ It's reasonable that volunteer developers working on an open-source project sunset old versions, and old versions of language runtimes or dependencies. Nobody wants to keep maintaining 5-year-old versions with 12-year-old dependencies when they could use their time to improve the latest version instead. Django is one of the most "responsible" projects in this regard - having…
Django 1.6 (the last version to support Python 2.6) is still getting unofficial support: https://github.com/beanbaginc/django
Re: Django 1.11 beta 1 released
#65I've been building a project with Django Rest Framework (DRF), it's my first time using anything Django-related. Does anyone know whether new versions of Django tend to drop right into DRF, or whether DRF has to do some work to be compatible with a new version? I ask because I like the sound of the fulltext search mentioned in another comment, because it would mean I don't have to install a search engine to support t…
But wait to deploy anything to production until DRF officially supports it (which should be pretty much at launch, DRF should be working with the beta now to ensure compatibility)
Re: Django 1.11 beta 1 released
#66This is a bit off topic, but can anyone suggest a decent Django tutorial? I've just recently learned python, and would like to build a few projects using Django. I completed Django's official tutorial[1], but when it came time for me to actually start building something, I found I didn't really understand what was going on. I should mention I'm inexperienced in both web application development and python in general.…
I highly recommend the Django Unchained[1] course from Tuts+, that's my favorite introduction to Django, where you learn the fundamentals by building a HN clone. Also, a shameless plug, I have built a website[2] where I collect the best webdev learning resources, you can find other good Django tutorials there. Funny enough, the website itself is built based on the stuff I've learned from the Django Unchained course =…
Besides that it looks really good!
Re: Django 1.11 beta 1 released
#67Earlier quoted context omitted.
I highly recommend the Django Unchained[1] course from Tuts+, that's my favorite introduction to Django, where you learn the fundamentals by building a HN clone. Also, a shameless plug, I have built a website[2] where I collect the best webdev learning resources, you can find other good Django tutorials there. Funny enough, the website itself is built based on the stuff I've learned from the Django Unchained course =…
You should enable HTTPS on this asap. Let's Encrypt[0] makes it super easy, and Digital Ocean has some good tutorials as well. Besides that it looks really good! [0] https://letsencrypt.org/
Re: Django 1.11 beta 1 released
#68This is a bit off topic, but can anyone suggest a decent Django tutorial? I've just recently learned python, and would like to build a few projects using Django. I completed Django's official tutorial[1], but when it came time for me to actually start building something, I found I didn't really understand what was going on. I should mention I'm inexperienced in both web application development and python in general.…
I haven't followed this one myself, but the django girls tutorial is supposed to be excellent. https://tutorial.djangogirls.org/en/
Re: Django 1.11 beta 1 released
#69This is a bit off topic, but can anyone suggest a decent Django tutorial? I've just recently learned python, and would like to build a few projects using Django. I completed Django's official tutorial[1], but when it came time for me to actually start building something, I found I didn't really understand what was going on. I should mention I'm inexperienced in both web application development and python in general.…
newboston on youtube. I needed a crash course on django -- after the first couple of videos I knew what I needed. But, I got hooked by his fast pace and finished the set over 2 days. A+
Re: Django 1.11 beta 1 released
#70Earlier quoted context omitted.
I also wondered that but seems from https://code.djangoproject.com/ticket/21039 they'd prefer devs to do that manually in migrations marked as non-atomic
Makes sense, would be weird to start testing while indexes are building