Slashdot Mirror


Django 1.0 Released

jgomo3 writes "Finally, the stable version 1.0 of Django (one of the most popular free Python based frameworks) has been released. Explained in the project blog, this achievement was in part due to the great users and developers community of the Django project, and recall the big effort with numbers like 4000 commits and 2000 bugs fixed since last stable version. Django is 'The Web framework for perfectionists with deadlines.' You can dive in by reading the overview."

4 of 104 comments (clear)

  1. Re:Great work by Shaitan+Apistos · · Score: 5, Funny

    You can have my Visual Basic when you pry it from my cold dead.... oh, wait, you mean Java? Yeah that needs to go.

  2. yay by story645 · · Score: 5, Informative

    I just started playing with Django today, so I'm mostly just thrilled that the absolutely awesome tutorials still work. This is one of the most newbie friendly things I've ever worked with, in large part 'cause it's got awesome documentation and very clear tutorials and logically named well almost everything. (Plus it produces pretty and friendly sites.) I may not be as hyper about it once I start trying to use it for a real project, but it getting to a stable release is promising.

    --
    open source modern art: laser taggi
  3. The in-factor... by Max+Romantschuk · · Score: 5, Interesting

    It's too bad everyone and their dog are excited about Ruby on Rails, when a great platform like Django is out there as well.

    I use Django on my own site, and CakePHP (a poor RoR clone) at work. While using PHP has advantages, CakePHP is really not anywhere near Django in terms of the ORM stuff and actually using your data in any complex way.

    The one really great thing about Django is that it's consistent. There is usually one way of doing things, instead of a million different ways that apply in different situations.

    Take a look at the Django tutorial:
    http://docs.djangoproject.com/en/dev/intro/tutorial01/

    And the Django book:
    http://www.djangobook.com/

    I don't think you'll be sorry.

    PS. And on the whole Python indentation=block thing... It's not perfect, but only use spaces and it won't be a problem.

    --
    .: Max Romantschuk :: http://max.romantschuk.fi/
    1. Re:The in-factor... by Fweeky · · Score: 5, Informative

      It's too bad everyone and their dog are excited about Ruby on Rails, when a great platform like Django is out there as well.

      Even in the Ruby world, it's too bad Rails gets most of the attention; a lot of people would probably be better off with one of the many more lightweight frameworks there, or even no framework at all (really, your 3 page website needs an 80kLOC framework to support it?). So many people hyperfocus on one system and miss out on all the other ways of doing things; Nitro, Merb, Sanatra, Ramaze, even writing your own handlers in Rack. Given the size, complexity and overhead of these things, it'd really make more sense for people to start from the bottom (Rack) and work their way up, not the other way around.

      Python wise this probably means starting by writing your own WSGI handlers, rather than starting with a huge framework to write Hello World in.

      on the whole Python indentation=block thing... It's not perfect, but only use spaces and it won't be a problem.

      Blegh, use tabs properly and it won't be a problem either. It's shocking how people can't even get a trivial thing like that right, though, is it really that difficult to configure your editor not to mix the two? Hint: Set your editor to highlight leading whitespace, doing tabs and spaces differently, then you'll never be surprised by either. I'll get you started:

      highlight LeadingTab ctermbg=blue guibg=blue
      highlight LeadingSpace ctermbg=darkgreen guibg=darkgreen
      highlight EvilSpace ctermbg=darkred guibg=darkred
      au Syntax * syn match LeadingTab /^\t\+/
      au Syntax * syn match LeadingSpace /^\ \+/
      au Syntax * syn match EvilSpace /[^\t]\+\zs\t\+/ " tabs not preceeded by tabs are never acceptable
      au Syntax * syn match EvilSpace /\zs\ \+$/ " trailing space is silly

      There, now you have no excuse. Well, except the first EvilSpace match broke at some point, anyone see why?