Skip to content

Commit

Permalink
Fixed a couple of errors in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hmarr committed Oct 19, 2010
1 parent 6998936 commit 3b88a4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 4 additions & 0 deletions docs/apireference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ Fields

.. autoclass:: mongoengine.URLField

.. autoclass:: mongoengine.EmailField

.. autoclass:: mongoengine.IntField

.. autoclass:: mongoengine.FloatField
Expand All @@ -57,6 +59,8 @@ Fields

.. autoclass:: mongoengine.ListField

.. autoclass:: mongoengine.SortedListField

.. autoclass:: mongoengine.BinaryField

.. autoclass:: mongoengine.ObjectIdField
Expand Down
6 changes: 0 additions & 6 deletions docs/guide/querying.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3b88a4f

Please sign in to comment.