Follow me on GitHub

MongoEngine in Python
Learn how to use auto increment as primary key


I'm finished

Working with mongoengine will help you a lot, even when you want to use the auto increment way inside mongoengine framework, you can use auto increment as primary key if you want or just as a auto increment number as i do when i create new posts in my internal blog system.