Resources - noisebridge/pyclass-project GitHub Wiki

Noisebridge Wiki Class Page

[email protected]: if you're not already on the list, please sign up

Python

PEP 8

This defines the style guide for code in Python. It's usually a good idea to follow convention so your code is easily readable by others. If you want help enforcing this you might want to look into various linters that will help notify you where your code is failing to meet standards. There are plugins for many editors to handle this (for example, Sublime Text has SublimeLinter) or you could use a stand-alone linter like PyLint.

Django

Django Documentation:

The official documentation for Django. If you have a question about how something works, are trying to figure out how to do something new, or just need a reference to the types of model fields available this is a good first place to start.

Django Book:

The free (GFDL) version of "The Definitive Guide to Django" written by the creators of Django., It's for version 1.0 so it's a bit out of date, but the entire 1.x cycle is backwards compatible. I like it because it provides a more in-depth tutorial and overview of Django than you'll get from just the tutorial in the docs.

Django Design Patterns:

This is a good bit more advanced, but it has some practical ideas on how to structure and design your code. Of course, these are just opinions, but there's often wisdom there. It's a bit terse though and doesn't often explain why a particular design choice should be made. The most important thing is to see how someone else thinks you should do something and then use that to reach your own opinion.