Commits on Dec 28, 2010
  1. small docfix

    committed Dec 28, 2010
Commits on Dec 16, 2010
  1. Updated & sorted AUTHORS

    acdha committed Dec 16, 2010
  2. Tests: split monolithic test-case

    acdha committed Dec 16, 2010
  3. CORS Middleware: more granular configuration

    Now you can control the CORS middleware using settings.CORS_PATH to
    specify a list of paths, mime types and headers to set for arbitrary parts of
    your site.
    This actually allows you to specify any header: perhaps this should be renamed
    to reflect its ability to function as an arbitrary HTTP header setter?
    acdha committed Dec 16, 2010
  4. some more doc

    committed Dec 16, 2010
  5. Pygments tag fixes

    Now actually works, plus the code is somewhat cleaner
    acdha committed Dec 16, 2010
  6. Working tests!

    Tests run, including from test, and there's now a test project to base them on.
    acdha committed Dec 16, 2010
  7. Whitespace cleanup

    acdha committed Dec 16, 2010
Commits on Dec 15, 2010
  1. closer to tests working now?

    committed Dec 15, 2010
  2. need to extend TestCase eh?

    committed Dec 15, 2010
  3. minor docfix

    committed Dec 15, 2010
  4. corrected suggest mediatype, and added a test that might work? need t…

    …o figure out how to run it properly :-)
    committed Dec 15, 2010
  5. adding CORS support to allow people to easily serve json so that it c…

    …an be used by other parties from JavaScript. See
    committed Dec 15, 2010
Commits on Dec 9, 2010
  1. fix

    acdha committed Dec 9, 2010
Commits on Dec 8, 2010
  1. sugar_template_utils: allow set_context to set global variables

    Normally set_context only operates on the current template context stack level
    (i.e. the current block). This patch allows you to use something like:
    {% set_context global foo="bar" %}
    to affect the entire context stack, which can lead to madness if done unwisely.
    acdha committed Dec 8, 2010
Commits on Oct 20, 2010
  1. Sugar Template Utils: as_json filter

    This accepts a Python object and returns the JSON-encoded version
    acdha committed Oct 20, 2010
  2. Updated AUTHORS file

    acdha committed Oct 20, 2010
Commits on Oct 4, 2010
Commits on Sep 10, 2010
  1. Added deprecation warning for speedtracer middleware

    This has moved to a separte django-speedtracer package:
    acdha committed Sep 10, 2010
Commits on Jul 21, 2010
  1. Google Chrome SpeedTracer middleware

    Record server-side performance data for Google Chrome's SpeedTracer
    Getting started:
    1. Download and install Speed Tracer:
    2. Add this middleware to your MIDDLEWARE_CLASSES
    3. Reload your page
    4. Open SpeedTracer and expand the "Server Trace" in the page's
       detailed report which should look something like:
    acdha committed Jul 21, 2010
Commits on Jul 18, 2010
  1. Fixed docstring typo

    acdha committed Jul 18, 2010
Commits on Jul 1, 2010
  1. querystring_tags: qs_alter can now remove a key=value pair

    This allows you to remove a query string element only if it matches a
    given value, which is handy if you have multiple instances of the same
    key (e.g. /search/?facet=foo&facet=bar).
    acdha committed Jul 1, 2010
Commits on Jun 30, 2010
  1. sugar_template_utils: set_context tag allows defining variables

    This allows you to define multiple variables in the current template context
    acdha committed Jun 30, 2010
  2. querystring_tags: qs_alter returns escaped HTML

    The most common use case is generating links; this avoids the common case of producing invalid HTML due to unescaped query string parameters
    acdha committed Jun 30, 2010
Commits on Jun 28, 2010
  1. Whitespace cleanup

    acdha committed Jun 28, 2010
Commits on May 18, 2010
  1. Added a handy profiling decorator

    This allows you to do things like:
        with query_count("meaningful message"):
            … tons of code …
    and get a simple log message:
    meaningful message: 23 queries in 0.42 seconds
    acdha committed May 18, 2010