Added uri style connection handling
This commit is contained in:
parent
f59aa922ea
commit
0301135f96
4 changed files with 41 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
==================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue