• This repository has been archived on 07/Jul/2020
  • Stars
    star
    176
  • Rank 215,740 (Top 5 %)
  • Language
    Python
  • License
    Other
  • Created over 12 years ago
  • Updated over 4 years ago

Reviews

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

Repository Details

Documentation on effectively using Django for building web applications.

Effective Django

This is the repository for the text Effective Django, an ongoing work in progress by Nathan Yergler. The sample code is maintained in the effective-django-tutorial repository.

Effective Django is authored using ReStructured Text and Sphinx. If you're interested in building HTML, PDF, ePub, or other generated formats, you can do so by:

  1. If you want to build PDF or ePub output, make sure LaTeX is installed on your machine. If you only care about HTML output, you can skip this step.

    For Macs, it is recommended you use MacTeX

    $ brew install Caskroom/cask/mactex
    

    If you're building on Ubuntu, you should install the texlive and texlive-latex-extra packages.

    $ sudo apt-get install texlive texlive-latex-extra
    
  2. Check out this repository:

    $ git clone --recursive https://github.com/nyergler/effective-django.git
    

    Note that in order to build Effective Django, the sample code must be cloned into the src submodule. Using --recursive will accomplish that.

  3. Create a virtualenv and install the dependencies:

    $ virtualenv .
    $ . bin/activate
    $ pip install -r requirements.txt
    
  4. Run make:

    $ make all
    

    The output will be in the _build sub-directory.

    To only build HTML, specify the target explicitly:

    $ make html
    

Run make without any parameters for a list of possible targets.

More Repositories

1

hieroglyph

Generate HTML presentations from plain text sources with all the power of Sphinx.
JavaScript
260
star
2

nested-formset

Nest Django formsets for multi-level editing.
Python
86
star
3

async-signals

Asynchronous signal handling for Django using Celery.
Python
61
star
4

effective-django-tutorial

Source code for the Effective Django tutorial.
Python
57
star
5

tut

Better tutorial documentation with Sphinx.
Python
37
star
6

in-depth-pdb

Documentation on using the built-in Python debugger, PDB.
Python
23
star
7

openattribute-firefox

An add-on for Firefox 3.6 and later which displays Creative Commons license and attribution information.
JavaScript
22
star
8

typescript-react-redux-webext

Demo WebExtension built using TypeScript, React, and Redux.
TypeScript
11
star
9

teaching-python-with-pygame

PyCon 2003 paper and related resources about teaching Python to high school students with PyGame.
Python
8
star
10

strange-loop-2012

Notes from sessions taken during Strange Loop 2012.
Python
4
star
11

write-the-docs-2013

Notes from Write The Docs 2013 (http://conf.writethedocs.org/).
Python
3
star
12

cascajal

PDF output for Hieroglyph presentations.
Python
1
star
13

speaking-in-tongues

A 15 minute presentation on localizing Eventbrite.com
Python
1
star
14

docbox

A [prototype] Docker Image for Building Sphinx Projects
Python
1
star
15

hieroglyph-intro

A lightning talk intro to Hieroglyph
Python
1
star
16

coverage2el

Support for annotating Emacs buffers with code coverage information.
Emacs Lisp
1
star
17

cc-fx

DO NOT USE; this has been moved to https://github.com/nyergler/openattribute-firefox
JavaScript
1
star
18

nyergler.github.io

JavaScript
1
star
19

sphinx-classy-code

Sphinx code directives with more flexible class output support.
Python
1
star