Wagtail Fake News
Create fake news for testing.
Installation
pip install wagtail-fakenews- Add
fakenewstoINSTALLED_APPS ./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
- REST API
- Simple page template
- Streamfield?
- Publish to PyPi
- Fix broken Markdown rendering on PyPI page
- Gitpod instance
- Add REST API to Gitpod instance
- Instructions for exposing REST API
- GraphQL API
Release files for wagtail-fakenews 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wagtail-fakenews-0.1.2.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wagtail_fakenews-0.1.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 14.1 kB
Release files / wagtail-fakenews-0.1.2.tar.gz
| Download URL | wagtail-fakenews-0.1.2.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
489f49cb6958b6623b5952efced364021a60780f33d67fc4b6c8ba255a6098e1
|
|
BLAKE2b-256 checksum How to use checksums |
4a978b22c365ea02b74080ddb5dde8959ab12528364b5d3f755f1b3879148141
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Release files / wagtail_fakenews-0.1.2-py2.py3-none-any.whl
| Download URL | wagtail_fakenews-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
addad23a22b234b9b7085d1a95de3af9b52e3bf7eb4cf49bf2467e95825bafb3
|
|
BLAKE2b-256 checksum How to use checksums |
c7fb79f0298950c331c6495621e62eefa47c498f02735d1f97b872542cd457e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|