Major refactor of the access module
The first step to sanity is a leap into the unknown? Create an object
to represent the access checks for each module instead of a bunch of
loose functions.
Converted all views and params.py to use the new access checker.
Main differences:
* arguments to a checker can be passed by using a tuple
* checkers are referenced by string, rather than directly
* the Checker constructor handles merging with child views
Patch by: Sverre Rabbelier
#!/bin/bash
# Generates epydoc for $target to $outdir, while ignoring $exclude
# WARNING: The contents of $outdir are -deleted- before the running epydoc
# This way there are no 'stale files' when the script finishes.
outdir="../../wiki/html/epydoc"
target="../app ../tests"
exclude="django"
echo "Cleaning out $outdir..."
rm -f $outdir/*
echo "Done."
echo
echo "Running epydoc..."
echo "$target -> $outdir"
echo "================="
epydoc --html -v --show-private --inheritance=included --graph=all \
--parse-only --exclude=$exclude -o $outdir $target
echo "================="
echo "Done."
echo
echo "Goodbye."