Added uri style connection handling

This commit is contained in:
Ross Lawley
2012-01-30 10:24:45 +00:00
parent f59aa922ea
commit 0301135f96
4 changed files with 41 additions and 6 deletions

View File

@@ -5,6 +5,7 @@ Changelog
Changes in dev
==============
- Added uri support for connections
- Added scalar for efficiently returning partial data values (aliased to values_list)
- Fixed limit skip bug
- Improved Inheritance / Mixin

View File

@@ -20,6 +20,13 @@ provide :attr:`host` and :attr:`port` arguments to
connect('project1', host='192.168.1.35', port=12345)
Uri style connections are also supported as long as you include the database
name - just supply the uri as the :attr:`host` to
:func:`~mongoengine.connect`::
connect('project1', host='mongodb://localhost/database_name')
Multiple Databases
==================