• Stars
    star
    112
  • Rank 312,240 (Top 7 %)
  • Language
    Python
  • License
    BSD 2-Clause "Sim...
  • Created over 9 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Code for Django Unleashed using Django 1.8

Django Unleashed

This repository holds all of the code for Django Unleashed. If you find this code helpful, please buy the book.

All of this code is open-source under 2-clause BSD-license.

The code is written using Django 1.8. The full reference documentation for Django 1.8 may be found here.

IMPORTANT

This repository is frozen. To allow for the commit hashes in the book to link to the code in this repository, errors will not be fixed, and pull requests will be ignored. Errata will instead be listed on the Django Unleashed website.

For any help with Django, please ask questions on the official Django User mailing list. This will be a far quicker way of getting help than contacting me directly (and if you use the word "unleashed" in your email, my email will flag it. I will try to respond, if possible).

Walking the Repository

To make perusing the code in this repository as simple as possible, the project defines its own .gitconfig file with custom commands (aliases).

To enable the commands, you must first point your local git configuration at the file provided. Either of the two commands below will work.

# relative path
git config --local include.path "../.gitconfig"
# absolute path
git config --local include.path "`pwd`/.gitconfig"

This will enable the following git commands:

  • git chapter #
    This will list all of the commits relevant to that chapter. For example, git chapter 17 will show all of the commits used in Chapter 17.

  • git next
    Move to the next example in the book.

  • git prev
    Move to the previous example in the book.

For those who prefer a GUI, Atlassian's SourceTree is a good alternative to the commands above.

More Repositories

1

django-improved-user

A custom Django user that authenticates via email. Follows identity and authentication best practices.
Python
144
star
2

python-web-dev-21-2

Material for "Web Development in Python with Django" using Django 2.1, published as a Pearson LiveLesson on Safari Books Online
Jupyter Notebook
53
star
3

python-web-dev-22-3

Material for "Advanced Web Development in Python with Django" using Django 2.2, published as a Pearson LiveLesson on Safari Books Online
Python
26
star
4

djangocon2015-views

Code for "Django Views: Functions, Classes, and Generics," my presentation at DjangoCon 2015.
Python
9
star
5

roman-numerals

A library to convert between integers and Unicode Roman numerals
Python
7
star
6

djangocon2014-updj17

Code used for "Upgrading Django (to 1.7)," my presentation at DjangoCon 2014.
Python
4
star
7

latex-code-example

A set of example LaTeX files to quickstart proper source code display and formatting. Demonstrates verbatim, listings, and minted packages.
3
star
8

markdown_subscript_extension

An extension to the Python Markdown package enabling subscript text.
Python
3
star
9

djangocon2013-otwcbv

The code used for "Overcoming Troubles with Class-Based (Generic) Views," my presentation at DjangoCon 2013.
Python
3
star
10

readability-scraper

Web scraper to get Readability bookmark links out via the web interface
Python
2
star
11

django-unleashed.com

Repository for the official website for the book.
CSS
2
star
12

markdown_superscript_extension

An extension to the Python Markdown package enabling superscript text.
Python
2
star
13

django-20-simplelist-training-dockerfile

A Docker container allowing participants to easily run the web app built during Andrew Pinkham's training
Makefile
2
star
14

pre-commit-indents-to-tabs

Pre-commit hook to replace spaces with tabs in indents
Python
1
star
15

redirect_streams

Easy stream redirection in Python.
Python
1
star