Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Pro Django

    Pro Django

    Marty Alchin · 2009

    Web & InternetComputer ScienceProgramming
    Open LibraryAmazon
    Stats for nerds
    1recommend
    5mentions
    5people
    2007–2022years
    20% recommend80% neutral

    Mentions per year

    200720092011201320152017201920212022

    What Hacker News says

    1. frankwilesAug 2010
      I highly recommend going through Zed Shaw's "Learn Python the Hard Way". Other great Python related books to pick up are:

      Pro Python by Marty Alchin Expert Python Programming by Tarek Ziadé

      If you're looking to get into web development then, I'd suggest picking up:

      Practical Django Projects Pro Django and Django 1.1 Testing and Debugging

      Hope that helps!

      thread
    2. m0xaiDec 2022
      Hello everyone!

      I’m a business informatics student and working part time for a company as a web developer.

      I started to read books about Programming as I started my university. But I noticed that I need books for remembering things that I read. I’m now buying a book every month and can freely write notes and stick the little colorful things on them to highlight a page.

      I made a list of books but I noticed that there are few books about frameworks in my list. Like Spring In Action or Pro Django.

      My question is, does it make sense buying books about frameworks or getting more high level books like The Clean Code, Design Patterns or maybe both?

      thread
    3. merlinsbrainJan 2014
      Its okay. You've hit a wall. We all do. Proof: medium.com/p/7be937d26bb4

      I started talking to people. I started using twitter and IRC and telling people I have no idea about what to do but I want to do a lot. Who would care really, right?

      Wrong. Open source is not just code put there on Github for everyone to see.

      Open source is a philosophy & community. In particular for me, the Python community stepped up big time.

      Bad college? Come to India, we have factories which churn out hundreds and thousands of 'engineers' every year.

      Its been 6 months since the post. I'm no awesome programmer, but I can find my way around. I can read 2 Scoops of Django and Pro Django and I'm starting to understand what they're saying. I can code in Python fluently. Good/bad, all subjective. I can build things and I'm happy.

      Its not a one time thing. I'm on IRC a few times a week on the Django, scikit-learn and now AngularJS community. I've spoken to crazy programmers and padawans just like you and me.

      Get out there, not here. Spend time building.

      PS - I'm self taught in machine learning which I was recently making a living off of. On sabbatical now and programming web and mobile when I'm not studying my ML stuff. Re-read, self taught. Its possible! :)

      PS 2 - I don't like Java either. But the people I'm collaborating with for ML projects, despite my Python ML experience, want Java. So what do I do? I'm learning AngularJS right now, how do I pick up Java 7/8 after last touching Java 5 in '10 as a student in above mentioned factory? I pick up a book, an open source project and the docs. I learn. Build. And break. It happens.

      PS 3 - I'm working on Django REST and AngularJS integration. Thought it would be straightforward, maybe it is, wasn't for me. Let's not fret. Get on IRC, a book, Github open source and play!

      -- Cheers from someone who gets ya. I emphasise, I would be nowhere without the people of the community who have taken out time to show me the way.

      I'm on twitter, same handle and my email is in my profile. I'm no genius, just a 25yo who knows I haven't seen anything in life yet and am no longer scared of boxes/walls (not that they're easy to overcome, I just don't fret anymore).

      thread
    4. mdasenJan 2010
      http://code.djangoproject.com/ticket/9841

      It's been reported before and they consciously chose the current behavior. I don't agree with their decision, but it is something they're aware of.

      EDIT: There is a way to subclass models.Model and not have it be an abstract or real model (I don't remember at the moment) and you could, in that subclass, do a force_insert or force_update based on the PK status so that everything in your project inheriting from that subclass would have that behavior.

      basically:

        def save(self, *args, **kwargs):
            if self.pk:
                kwargs['force_update'] = True
                kwargs['force_insert'] = False
            else:
                kwargs['force_insert'] = True
                kwargs['force_update'] = False
            super(MyModelBase, self).save(*args, **kwargs)
      
      So, one can modify that behavior if they want to without having to patch too much - maybe someone can comment on subclassing models.Model while not having Django consider it a model (I think I got it from the Pro Django book if someone has it available).

      EDIT2: modified the code to make sure that force_insert and force_update couldn't both be True.

      thread
    5. natriusMay 2007
      http://www.amazon.com/Pro-Django-Development-Done-Right/dp/1590597257

      The book is coming in a month. One big reason why there aren't a lot of Django books out there is because instead of trying to make money off of books, they focused on writing high quality documentation to begin with. That book that's coming out is free online as well: http://www.djangobook.com/

      The reason there are lots of Rails books is because there's a lot of hype around it. That doesn't necessarily mean the community is more supportive.

      thread

    Related

    Cover of Pro Python
    2010–2017

    Pro Python

    Marty Alchin
    3 recommend · 4
    Cover of Practical Django Projects
    2008–2022

    Practical Django Projects

    James Bennett
    6 recommend · 17
    Cover of Dive into Python
    2008–2026

    Dive into Python

    Mark Pilgrim
    94 recommend · 185
    Cover of Django for Professionals
    2020–2024

    Django for Professionals

    William S. Vincent
    2 recommend · 3
    Cover of Django for Beginners
    2020–2025

    Django for Beginners

    William S. Vincent
    3 recommend · 6
    Cover of The definitive guide to Django
    2008–2025

    The definitive guide to Django

    Adrian Holovaty
    3 recommend · 8
    Cover of Django for APIs
    2020–2024

    Django for APIs

    William S. Vincent
    recommend · 2
    2
    Cover of Code Complete
    2007–2026

    Code Complete

    Steve McConnell
    393 recommend · 894