Navigation
index
modules
|
next
|
previous
|
agar v0.5.1 documentation
»
Changes
¶
0.5.1
– 2011-11-22
agar.test
Added
WebTest.assertBadRequest()
Added optional
method
parameter to
MockUrlfetchTest.set_response()
agar.templatetags
Added
create_logout_url
0.5
– 2011-11-15
agar.test
Added optional
challenge
parameter to
WebTest.assertUnauthorized()
.
agar.django.templates
Added
render_template_to_string()
.
Added
agar.counter
.
0.4
– 2011-11-08
agar.auth
Breaking Changes
The
AuthConfig
configuration
authenticate
has been renamed to
DEFAULT_AUTHENTICATE_FUNCTION
.
The
authenticate function
is now passed the current
RequestHandler
rather than the
Request
. The
Request
can still be accessed from the
RequestHandler
via
handler.request
.
The
authentication_required
decorator no longer aborts with status
403
when the
authenticate function
returns
None
. Instead, the decorator will simply set the
Request
user
attribute (or any configured
AUTHENTICATION_PROPERTY
) to
None
. This is useful for handlers where authentication is optional. Users can update their
authenticate function
to call
handler.abort()
if they wish to keep the previous behavior.
Updated
DEFAULT_AUTHENTICATE_FUNCTION
to retain
403
behavior out of the box.
agar.env
Use
get_application_id()
instead of
os.environ.get('APPLICATION_ID')
.
agar.image
Fixed
get_serving_url()
caching bug.
agar.test
Added
BaseTest.get_tasks()
.
Added
BaseTest.assertTasksInQueue()
.
Added
BaseTest.clear_datastore()
.
Added
WebTest.assertUnauthorized()
.
Added
WebTest.put()
.
Added
WebTest.delete()
.
0.2
(First Public Release) – 2011-10-14
Updated docs
0.1
(Development Version Only) – 2011-09-21
Previous topic
Agar Documentation
Next topic
agar
This Page
Show Source
Quick search
Enter search terms or a module, class or function name.
Navigation
index
modules
|
next
|
previous
|
agar v0.5.1 documentation
»