+ sync utils
This commit is contained in:
1 parent
238e4b9682
commit
0693e7c758
10 files changed
+736
No files matched your search
@@ -0,0 +1,13 @@
|
||||
from pymongo import MongoClient
|
||||
import settings
|
||||
|
||||
__author__ = 'Roman Timashev'
|
||||
|
||||
|
||||
client = MongoClient(settings.database_uri)
|
||||
p = client.hudozka.posts
|
||||
|
||||
print(list(p.find()))
|
||||
|
||||
# print(dir(p))
|
||||
# print(p.insert({'a': 1}))
|
||||
Reference in new issue
Block a user