Permalink
Browse files

Updated docs for new additions.

  • Loading branch information...
1 parent b17fd2f commit e058b0d60e4f303b6791bc7a6298742f33fedc78 @chrisjones-brack3t chrisjones-brack3t committed May 11, 2012
Showing with 13 additions and 2 deletions.
  1. +13 −2 README.md
View
@@ -175,8 +175,19 @@ Requirements
Settings:
-* `AJAXUPLOAD_MONGODB_HOST`: Specify the host of your MongoDB server. Defaults to localhost if not specified.
-* `AJAXUPLOAD_MONGODB_PORT`: Specify the port of your MongoDB server. Defaults to 27017 if not specified.
+* `AJAXUPLOAD_MONGODB_HOST`: Specify either a single host:port or a list of host:port. Defaults to `"localhost:27017"`
+* `AJAXUPLOAD_MONGODB_PORT` (for backwards compatibility): Specify the port of your MongoDB server. Defaults to 27017 if not specified.
+* `AJAXUPLOAD_MONGODB_REPLICASET` (optional): Specify the name of your replicaset as a string. Defaults to an empty string.
+
+```python
+
+# Replicaset
+AJAXUPLOAD_MONGODB_HOST = ["127.0.0.1:27017", "127.0.0.1:27018"]
+AJAXUPLOAD_MONGODB_REPLICASET = "myset"
+
+# Standard
+AJASUPLOAD_MONGODB_HOST = "127.0.0.1:27017"
+```
Arguments

0 comments on commit e058b0d

Please sign in to comment.