Django CMS 4.1.x Documentation
process, you will be prompted to enter your email address and set a username and password. Open your browser and insert http://localhost:8000/admin there you should be invited to login and continue with Step python -m manage createsuperuser python -m manage cms check myproject/ LICENSE README.md db.sqlite3 myproject/ static/ templates/ base.html __init__.py then spinning up the development server: You can visit your project’s web site by pointing your browser to localhost:8000. Use the newly created superuser’s credentials to authenticate and create your0 码力 | 518 页 | 1.66 MB | 6 月前3Tornado 6.5 Documentation
the results, as in this example from Motor: import motor db = motor.MotorClient().test @gen.coroutine def loop_example(collection): cursor = db.collection.find() while (yield cursor.fetch_next): doc = initialize(self, db): self.db = db def get(self, story_id): self.write("this is story %s" % story_id) app = Application([ url(r"/", MainHandler), url(r"/story/([0-9]+)", StoryHandler, dict(db=db), name="story")