+ sync utils

This commit is contained in:
tmshv committed 2016-01-09 17:59:42 +03:00
1 parent 238e4b9682
commit 0693e7c758
10 files changed
+736

No files matched your search

+13
View File
@@ -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}))