Skip to content

Commit 568dd07

Browse files
author
Mark Unsworth
committed
differentiate updates from inserts to allow for updates to use the syntax
1 parent 56d4765 commit 568dd07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

django_mongodb_engine/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
class DatabaseFeatures(NonrelDatabaseFeatures):
3939
supports_microsecond_precision = False
4040
supports_long_model_names = False
41+
distinguishes_insert_from_update = True
4142

4243

4344
class DatabaseOperations(NonrelDatabaseOperations):

0 commit comments

Comments
 (0)