-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4105dc9
Showing
8 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Patrick Altman <paltman [at] gmail [dot] com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Amazon Web Services for Django | ||
|
||
This small app is designed as a re-distributable Django app that enables | ||
AWS integration in your Django based project. | ||
|
||
## Requirements | ||
|
||
boto (http://boto.googlecode.com) | ||
|
||
## Install | ||
|
||
Simply make sure that this app is on your PYTHON PATH. Maybe I'll add an | ||
installer later. |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# Template Tags for django-aws | ||
|
||
Before using any of these tags in your templates, remember to load them with | ||
`{% load aws %}`. | ||
|
||
## Tags for S3 | ||
|
||
Tags for Amazon's storage service, S3, will allow you to list buckets, | ||
enumerate the contents of a bucket, and display information about a particular | ||
object. | ||
|
||
### `get_buckets` | ||
|
||
Gets a list of bucket objects. | ||
|
||
Syntax: | ||
|
||
{% get_buckets as [varname] %} | ||
|
||
Example: | ||
|
||
{% get_buckets as buckets %} | ||
|
||
|
||
### `list_bucket` | ||
|
||
Gets a list of objects inside a particular bucket. | ||
|
||
Syntax: | ||
|
||
{% list_bucket [bucket_name] [prefix] as [varname] %} | ||
|
||
Example: | ||
|
||
{% list_bucket example.com images as image_list %} | ||
|
||
|
||
### `get_object_info` | ||
|
||
Gets information about a particular object. | ||
|
||
Syntax: | ||
|
||
{% get_object_info [bucket_name] [key_name] as [varname] %} | ||
|
||
Example: | ||
|
||
{% get_object_info example.com images/2008/07/01/cool.png as image %} | ||
|
||
|
||
## Tags for EC2 | ||
|
||
Tags for Amazon's elastic compute cloud service, that will allow you to list | ||
running machines and various details about them. | ||
|
||
### `get_running_nodes` | ||
|
||
### `get_node_info` | ||
|
||
|
||
## Tags for SQS | ||
|
||
Tags for Amazon's message queueing service that will provide information to | ||
the template context such as listing available queues and their estimated | ||
count of messages. | ||
|
||
### `get_queues` | ||
|
||
### `get_message_count` | ||
|
||
|