Commit Graph

3 Commits

Author SHA1 Message Date
f92709d2a6 Implement basic varnish purging
This allows all models inherited from PgModel to specify which
URLs to purge by either setting a field or defining a function
called purge_urls, at which point they will be purged whenever
the save signal is fired.

Also implements a form under /admin/purge/ that allows for manual
purging. This should probably be extended in the future to show
the status of the pgq slaves, but that will come later.

Includes a SQL function that posts the expires to a pgq queue. For
a local deployment, this can be replaced with a simple void function
to turn off varnish purging.
2011-06-14 19:48:48 +02:00
a9e5403b5b Enforce lowercase usernames everywhere. 2010-06-22 11:37:39 +02:00
31400cc2d3 community login API implementation on top of django authentication 2010-01-13 22:11:57 +01:00