次のように python シェルを使用する場合:
>>> User.objects.get(pk=1)
次のエラーが表示されます。
InvalidId: AutoField (default primary key) values must be strings
representing an ObjectId on MongoDB (got u'1' instead)
私にとってはうまくいかなかったこの問題の可能な解決策は、ここにあります:http://django-mongodb.org/troubleshooting.html
他の誰かがこの問題に遭遇したかどうか疑問に思っています。どのように修正できましたか?