Statistics
| Branch: | Tag: | Revision:

root / snf-django-lib / snf_django / utils @ 8299ef23

Name Size
__init__.py 0 Bytes
testing.py 9.5 kB
urls.py 4 kB

Latest revisions

# Date Author Comment
a6b17d33 09/24/2013 05:16 pm Christos Stavrakakis

wheezy: urls module doesn't export defaults

2c6ac437 09/24/2013 12:30 pm Christos Stavrakakis

Fix missing import and broken test

dcb8545f 09/24/2013 11:39 am Christos Stavrakakis

snf-django: Add missing import

3f9db536 09/24/2013 10:55 am Christos Stavrakakis

snf-django: pep8 fixes

f2080d16 09/17/2013 02:33 pm Christos Stavrakakis

cyclades: Mock vm removal if creation fails

In case creating a VM fails before the OP_INSTANCE_CREATE job is
enqueued in Ganeti, the VM and its NICs must be deleted, and the
resources must be released from Quotaholder, which is exactly what is
done when a VM is deleted from Ganeti. Instead of duplicating the code,...

347b2ba1 09/12/2013 06:26 pm Giorgos Korfiatis

common: Strip trailing slash from endpoints

Remove trailing slash from the endpoints' publicURL field in service
definitions. These values end up in the response of POST /tokens, and,
according to the keystone API, should not end in slash. A trailing slash...

2ad4eb80 06/17/2013 01:35 pm Kostas Papadimitriou

django-lib: Additional BaseAPITest helper assertion

Introduce assertMethodNotAllowed method in BaseAPITest class. The method
asserts that provided response is a valid ``Method not allowed`` API response.

67c10753 06/13/2013 12:37 pm Kostas Papadimitriou

djangolib: Improve root redirect handling

- avoid registering root url in case <base_path> equals to root url
- additional helper redirect for non trailing slash <base_path> endpoint

2ea43f58 06/13/2013 11:38 am Kostas Papadimitriou

djangolib: Append trailling slash on default root redirects

b657485d 06/05/2013 08:31 pm Kostas Papadimitriou

django_lib: Component's urlpatterns utilty

extend_with_root_redirects can be used by components to easily extend the
registered urlpatterns with utility redirect views for the root urls.

View revisions

Also available in: Atom