From 3b88a4f7288dd83a0bbbec2393127fc7abc24b03 Mon Sep 17 00:00:00 2001 From: Harry Marr Date: Tue, 19 Oct 2010 12:28:34 +0100 Subject: [PATCH] Fixed a couple of errors in the docs --- docs/apireference.rst | 4 ++++ docs/guide/querying.rst | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/apireference.rst b/docs/apireference.rst index 34d4536d7..a3d287aba 100644 --- a/docs/apireference.rst +++ b/docs/apireference.rst @@ -41,6 +41,8 @@ Fields .. autoclass:: mongoengine.URLField +.. autoclass:: mongoengine.EmailField + .. autoclass:: mongoengine.IntField .. autoclass:: mongoengine.FloatField @@ -57,6 +59,8 @@ Fields .. autoclass:: mongoengine.ListField +.. autoclass:: mongoengine.SortedListField + .. autoclass:: mongoengine.BinaryField .. autoclass:: mongoengine.ObjectIdField diff --git a/docs/guide/querying.rst b/docs/guide/querying.rst index 832fed504..1caed2d71 100644 --- a/docs/guide/querying.rst +++ b/docs/guide/querying.rst @@ -325,12 +325,6 @@ calling it with keyword arguments:: # Get top posts Post.objects((Q(featured=True) & Q(hits__gte=1000)) | Q(hits__gte=5000)) -.. warning:: - Only use these advanced queries if absolutely necessary as they will execute - significantly slower than regular queries. This is because they are not - natively supported by MongoDB -- they are compiled to Javascript and sent - to the server for execution. - Server-side javascript execution ================================ Javascript functions may be written and sent to the server for execution. The