danjac  committed b0a5ac8

comment changes

  • Participants
  • Parent commits c5f335c

Comments (0)

Files changed (1)

File flaskext/

         self.connection = mongoengine.connect(
             db=db, username=username, password=password)
-    # it would be better to add these directly to a QuerySet,
-    # but due to the stupidity of mongoengine design it's impossible
-    # to override the QuerySet class of the Document class, at least
-    # without some deep voodoo.
+    # once v0.4 lands these will be deprecated and moved 
+    # into a QuerySet subclass, as the next version allows
+    # for custom QuerySets.
     def get_or_404(self, qs, *args, **kwargs):