10 ms·
Django 1.9 alpha 1 released
- noodles23 11y agoA new Meteor and Django in the same week. Feels like Christmas come early
- mixmastamyk 11y ago> New styling for contrib.admin I've hoped for years they'd use bootstrap, how does this compare?
- ubernostrum 11y agoHere are a couple screenshots showing the updated styling (from the 1.9 version of the tutorial): https://docs.djangoproject.com/en/dev/_images/admin02.png https://docs.djangoproject.com/en/dev/_images/admin02.png https://docs.djangoproject.com/en/dev/_images/admin05t.png https://docs.djangoproject.com/en/dev/_images/admin05t.png And here are the same screenshots from the 1.8 version of the tutorial: https://docs.djangoproject.com/en/1.8/_images/admin02.png https://docs.djangoproject.com/en/1.8/_images/admin02.png https://docs.djangoproject.com/en/1.8/_images/admin05t.png https://docs.djangoproject.com/en/1.8/_images/admin05t.png
- ubernostrum 11y agoHere are a couple screenshots showing the updated styling (from the 1.9 version of the tutorial): https://docs.djangoproject.com/en/dev/_images/admin02.png https://docs.djangoproject.com/en/dev/_images/admin02.png https://docs.djangoproject.com/en/dev/_images/admin05t.png https://docs.djangoproject.com/en/dev/_images/admin05t.png And here are the same screenshots from the 1.8 version of the tutorial: https://docs.djangoproject.com/en/1.8/_images/admin02.png https://docs.djangoproject.com/en/1.8/_images/admin02.png https://docs.djangoproject.com/en/1.8/_images/admin05t.png https://docs.djangoproject.com/en/1.8/_images/admin05t.png
- jsmeaton 11y agoThe major reason it isn't using bootstrap is because the vast majority of changes have only been css. That was to allow for backwards compatibility for users that change the admin styling and html.
- rlander 11y agoA few days ago I was chit chatting with a young dev who works in a Node shop when he asked: Young dev: "So, what's your backend?" Me: "Django" Young dev: "What?" Me: "Django, a Python framework." Young dev: "Oh, right, that old framework. It must suck to support a legacy app that's written in something so outdated." Me: "Well, we kinda use Django for everything." Young dev: "Wow, doesn't everyone just use JS these days?" Btw, I'm 36.
- joshmn 11y agoThe D is silent.
- talideon 11y agoIt miffs me every time I see somebody write that, because it's wrong, and assume the name follows English orthography in some way. The 'dj' represents the affricate [d͡ʒ] in older Romani orthographies, the 'j' representing the palatalisation of [d] to [d͡ʒ]. If it was written with the Pan-Vlax orthography these days, it'd be spelled 'džango'.
- bluedino 11y agoAt least you weren't berated for using PHP
- truncate 11y agoApart from being used by everybody, do they have any other reason for using JS? In general, I'm curious why JS is picking up so much for backend development? Is it just that people like using one language?
- jonesb6 11y agoI work on a product where JS is about 80% of the stack. In my opinion the JS ecosystem is best categorized as a bunch of sugar-rushed chipmunks running around shouting "we need better tooling". And you know what, it kinda works and its nice. Great tooling, great third-party ecosystem, really high quality modules / frameworks backed by large companies, and all the advantages of V8 and co.
- jonesb6 11y agoI used to use Django a lot. This news caused me to go back and check the release notes going back to 1.5. It seems like between every major point release theirs about a ~6 month gap. Furthermore the features in each release (bar migrations in 1.7, which IMO should've been in a loooong time ago) are relatively minor. Django also is fairly quick to deprecate older versions (including python versions) which is fine I guess since they're pretty on top of security and provide clear upgrade paths. However the fact remains, as I assessed about two years ago, that the momentum behind the Django ecosystem is as stagnant as ever. Many third-party libraries are deprecated or ill-maintained. This is as much symptomatic of Python as a whole as Django, but regardless it exasperates the slow release cycles when compared to other languages and frameworks. My money is still on JS/Clojure/Erlang/Go/etc. to carry us into the future of web development. No doubt Django will fight to the bitter end with its strong enterprise support and mature codebase. I'm ok with that, it's just not for me anymore.
- xngzng 11y ago> that the momentum behind the Django ecosystem is as stagnant as ever. Django Rest Framework appeared on Thoughworks radar under Trial this May (https://www.thoughtworks.com/radar/languages-and-frameworks https://www.thoughtworks.com/radar/languages-and-frameworks), momentum is anything but stagnant.
- dguaraglia 11y agoIf by "stagnant" you mean "mature enough that there's little need for constant refreshing of the libraries", then you are right. There's only so much you can do with a web framework, and only so many ways you can go around doing it. There's literally nothing you can do on the newest, flashiest (read: unstable, poorly documented, non-battle-tested) frameworks that you can't do using a combination of Django and Tornado/Twisted in half the LOCs and using mature libraries. The same could be said about Ruby on Rails, or even something like Spring Boot for Java or Spray/Scala. I don't mean to deflate innovation, but innovation for innovation's sake is rarely useful.
- Daishiman 11y agoI don't know what planet you're living in, but the Python ecosystem is about the most mature and modern I have ever seen for modern development in dynamically typed, interpreted languages with a strong web presence.. Take a look around and the equivalent libraries of the languages you mentioned. Honestly, the quality of similar libraries for the functionality that you need is lower, and the featureset smaller. Javascript suffers from all the problems of a "teenage" tech: immaturity, lack of established libs, poor documentation, and some astoundingly bad coding practices out in the wild. Clojure's ecosystem is very small, and has the same issues with code stability and lack of decent mainstream library alternatives. Erlang, though a great language, has some issues with its unfriendly ecosystem and a general lack of libraries for many common tasks. Go, while gaining serious momentum, still seems to suffer from a substantial lack of features to compete in the same rapid development niche that Python, Ruby and JS attempt to point to, although it was never meant for that role anyway.
- sul4bh 11y agoThe DateTime field lookup changes are the most exciting. No more start_date and end_date calculations in the code.
- sanketdasgupta 11y agohttps://docs.djangoproject.com/en/dev/_images/admin02.png https://docs.djangoproject.com/en/dev/_images/admin02.png
- sudo_bang_bang 11y agoI loved Django when I started using it about 4 years ago. Lately, I've switched to Flask and replaced the templating with React. I love the new way, but I still have a place in my heart for Django. Does anyone on HN still start new projects with Django or have you moved on as well?
- rattray 11y agoDjango-Rest-Framework still seems to beat any equivalent in any language that I've found... coupled with the admin, it's a dream. But I also use React for views, and avoid any HTML coming from the server whatsoever (except the admin, which is due for a more complete overhaul than this brings)
- meric 11y agoWe have the exact same setup. DRF + server-rendered React is pure awesomeness.
- Vignitus 11y agoCould you expand on your server rendering of React ?
- meric 11y agoWe built an javascript API mapping that's "isomorphic". The express server receives a request, and for each route we have a function that takes the request, uses the API mapping that sends REST calls to our django server to grab the appropriate data, sends the data through to the store (server calling createStore from redux), the body rendered using Provider from react-redux, and using the react-router, which is rendered back on to the express response. The state is pasted onto the page using JSON.stringify (with some caveats to escape </script> tags), and is hydrated back onto the elements on the page by the browser, by calling on createStore on the state pasted onto the page.
- 11y ago
- adpirz 11y agoAnyone know of strong examples of Django REST with Angular as the front end?
- ossreality 11y ago.. who cares? Seriously, why would anyone implementing a front end that talks to a JSON endpoint care what is being used to serve that JSON?
- vangale 11y agotaiga.io (source: https://github.com/taigaio https://github.com/taigaio)
- brox 11y agoAlso, any good examples of Django REST with React out there?
- numbsafari 11y agoWe have used just that for a OTT streaming site. Ping me. I'm swilson@ my company's .com.
- chdir 11y agoLots of good stuff in release notes [1]. My favorite : " Running tests in parallel ". Sounds awesome. [1] https://docs.djangoproject.com/en/dev/releases/1.9/ https://docs.djangoproject.com/en/dev/releases/1.9/
- cdnsteve 11y agoAnyone have a screenshot of this new admin UI?