This short recipe demonstrates how to create Wagtail pages programmatically. It may also be useful for testing Wagtail development against a reasonable volume of page data (about 35,000 film plots, from English Wikipedia).
In a virtualenv:
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |