Live data from Hacker News

Django Unchained – Introduction to Python and Django

github.com

11–20 of 25 posts

Re: Django Unchained – Introduction to Python and Django

#14
+1 for anyone that takes the time to put stuff like this together.

With that said a cursory glance at the material raised a couple flags with me when I got to best practices...

Keeping in mind this tutorial is an introduction I think it would be really great to include the following:

1. Settings module in the project module with a simple example with base settings that can be extended/overridden with a local settings file. I've never worked on a Django project where this isn't needed and think it's a very good "best practice" that should be addressed.

2. Even if it is personal preference I do not think the slide detailing app specific templates in a project level template directory should be included. To spend time making code subdivided in to distinct application logic it doesn't make sense to have the templates excluded which reduces the portability / reusability of the app. Django contrib app structure (especially auth/admin interaction) is a good example of Doing It Right™ (or at least in the spirit of doing something right :)

Re: Django Unchained – Introduction to Python and Django

#16
post #15

I've used Django before, and I found it disappointing. Does the ORM still lack identity mapping? Does it still not let you run custom SQL and get the results back as model objects (instead of plain tuples)?

Django and Rails are outdated. Try Symfony2.

Re: Django Unchained – Introduction to Python and Django

#18
post #15

I've used Django before, and I found it disappointing. Does the ORM still lack identity mapping? Does it still not let you run custom SQL and get the results back as model objects (instead of plain tuples)?

Do you still evaluate frameworks by bullet points of features you might never need (instead of evaluating the overall workflow and productivity)?

Re: Django Unchained – Introduction to Python and Django

#19
post #4

I love how this was found organically --- more slides and tutorials to come soon!

course outline looks great. What time zone is this course in? and is this course recorded for replay somewhere?

Hey Guys --- the course ended last year, and it was an internal workshop we held at our company.(We're based in Toronto).

We will be starting a public facing workshop in the next coming weeks, you can check it out at http://www.theymc.com/.

I will definitely try get some recorded screencasts up for those of you not in Toronto.

Re: Django Unchained – Introduction to Python and Django

#20

+1 for anyone that takes the time to put stuff like this together. With that said a cursory glance at the material raised a couple flags with me when I got to best practices... Keeping in mind this tutorial is an introduction I think it would be really great to include the following: 1. Settings module in the project module with a simple example with base settings that can be extended/overridden with a local settings…

Great points --- will add them to the list.
Post reply on HN