MongoDB and Python Quickstart (7/21): Demo: Create a new account

preview_player
Показать описание

Now it's time to create an account which we have modeled in mongoengine. We'll create some new account objects and store them in MongoDB. You'll see how to add validation to make sure we don't create the same account twice while we are at it.

Once we create an account, we also implement the login functionality so we'll be querying the account collection as well.
Рекомендации по теме