Skip to main content

Create fake Wagtail pages

Project description

Wagtail Fake News

Create fake news for testing.

Open in Gitpod

Installation

  1. pip install wagtail-fakenews
  2. Add fakenews to INSTALLED_APPS
  3. ./manage.py migrate fakenews

Usage

Create a fake news index page in the Wagtail admin. Fake news items will be created as children of this page. If you have multiple fake news index pages, only the first one will be used. If there are no fake news index pages, make_fake_items will try to create one as a child of the first home page.

# delete existing fake pages and images, create 50 new pages and images
./manage.py make_fake_items 50
# delete existing fake pages
./manage.py make_fake_items 0
# keep existing fake pages and images, create 10 new pages and images
./manage.py make_fake_items --keep_pages --keep_images 10

TODO

  • <input type="checkbox" checked="" disabled="" /> REST API
  • <input type="checkbox" checked="" disabled="" /> Simple page template
  • <input type="checkbox" checked="" disabled="" /> Streamfield?
  • <input type="checkbox" checked="" disabled="" /> Publish to PyPi
  • <input type="checkbox" checked="" disabled="" /> Fix broken Markdown rendering on PyPI page
  • <input type="checkbox" checked="" disabled="" /> Gitpod instance
  • <input type="checkbox" disabled="" /> Add REST API to Gitpod instance
  • <input type="checkbox" disabled="" /> Instructions for exposing REST API
  • <input type="checkbox" disabled="" /> GraphQL API

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wagtail-fakenews, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size wagtail_fakenews-0.1.2-py2.py3-none-any.whl (8.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size wagtail-fakenews-0.1.2.tar.gz (6.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page