Commit Graph

34 Commits

Author SHA1 Message Date
Jeffrey A. Clark
166821f22c
PYTHON-5205 Replace http with https in doc links (#2204) 2025-03-14 21:37:11 -04:00
Noah Stapp
82d87dc173
PYTHON-3744 Fix utcnow deprecation build regressions (#1244) 2023-06-16 13:30:54 -07:00
Noah Stapp
ec3437849e
PYTHON-3702 Stop using utcnow and utcfromtimestamp (#1229) 2023-06-12 15:43:30 -07:00
Steven Silvester
e9a6482c4d
PYTHON-3610 Add blacken-docs to pre-commit hook (#1170) 2023-03-14 15:37:45 -05:00
Steven Silvester
a319075ba7
PYTHON-3197 Update docs.mongodb.com links in source, API & Reference documentation (#926) 2022-04-13 14:11:13 -05:00
Bernie Hackett
521f7b9af4 PYTHON-2133 Fix up docs
And finish deleting python 2 specific code.
2021-01-21 15:49:23 -08:00
Jesse M. Holmes
66eb6da601 Update docs to use list_collection_names method (#401)
db.collection_names() is deprecated.
2019-03-28 16:08:08 -07:00
Petr Messner
7f1939ebcb PYTHON-1642 - Replace count() with count_documents({}) in docs (#376) 2018-09-13 16:34:35 -07:00
Bernie Hackett
4f3f9f3544 PYTHON-1154 - Various doc and doctest fixes
- Make the doctests pass against MongoDB 2.6 - master (3.3)
- Make the doctests pass under python 2.6 - python 3.5
2016-09-28 16:46:02 -07:00
Bernie Hackett
c0767a551a PYTHON-1153 - Make docs build and test under python 3 2016-09-26 15:49:59 -07:00
Bernie Hackett
77de378c2a PYTHON-963 - A few more doctest fixes. 2015-07-13 16:30:58 -07:00
Luke Lovett
8dad0f05fd PYTHON-963 - Fix doctests for documentation when running against MongoDB 2.6.x, 3.0.x. 2015-07-10 16:26:01 -07:00
Bernie Hackett
839893939e PYTHON-821 - Deprecated legacy API.
This commit deprecates insert, update, save, and remove. Each
now raises DeprecationWarning at stacklevel 2. This change also
updates all tutorials and example documentation to use the new
CRUD API, tests the deprecations, and fixes up a few more tests
that were still using the legacy API.
2015-02-20 15:41:45 -08:00
behackett
7049986214 Show both host, port and URI examples. 2013-05-23 15:44:27 -07:00
Lyndsy Simon
c9aae10cf7 Updates example using old-style hostname and port specification to use the standard connection string format. 2013-05-23 15:44:27 -07:00
A. Jesse Jiryu Davis
d2b23a535c Update docs for Connection->MongoClient change PYTHON-452 2013-02-10 10:53:35 -05:00
A. Jesse Jiryu Davis
dcf546f0b0 Help people avoid common pitfall: not converting from string to ObjectId 2012-11-26 16:40:10 -05:00
Bernie Hackett
fee292bcc1 Fix a number of doc test failures. 2012-11-16 18:40:42 -08:00
Bernie Hackett
1d2118e66c More Connection -> MongoClient in docs PYTHON-423 2012-11-16 18:07:37 -08:00
Bernie Hackett
541f518dd6 Update tutorial to use MongoClient PYTHON-423 2012-11-16 17:41:25 -08:00
Bernie Hackett
1308e02e53 Explain the importance of safe=True in the tutorial. 2012-09-25 18:41:11 -04:00
A. Jesse Jiryu Davis
94584f4306 Documentation fixes 2012-03-20 10:00:12 -04:00
behackett
0d51ebaa42 Document unicode behavior PYTHON-192. 2011-08-03 19:01:14 -07:00
Mike Dirolf
e61ee2b3fd Move json_util from pymongo to bson as well PYTHON-60 2010-09-14 13:55:22 -04:00
Mike Dirolf
4080a3113c update docs 2010-09-01 14:08:44 -04:00
Mike Dirolf
3742b66403 replica set connection example 2010-08-16 13:02:22 -04:00
Mike Dirolf
96c5b3c410 tweak tutorial to be consistent w/ new datetime handling 2010-07-15 12:25:01 -04:00
Mike Dirolf
2bb4d67c12 BUMP 1.7 - see changelog for details 2010-06-17 12:46:33 -04:00
Mike Dirolf
9fd0ac4155 use doctest to test a bunch of docstrings - most importantly the tutorial and M/R example 2009-12-09 16:40:25 -05:00
Mike Dirolf
75a42727b5 doc cleanup for pymongo.connection module 2009-11-13 19:24:39 -05:00
Mike Dirolf
6e30edb817 minor: tutorial tweaks 2009-11-13 17:59:00 -05:00
Mike Dirolf
0286969c48 clean up links / references 2009-11-13 17:34:50 -05:00
Mike Dirolf
f88c2167a5 faq, installation and contributors list 2009-11-12 16:47:39 -05:00
Mike Dirolf
05ea42c6d4 tutorial 2009-11-12 16:47:29 -05:00