springload/wagtailgists

Name: wagtailgists

Owner: Springload

Description: Useful snippets for Wagtail

Created: 2015-01-21 20:18:03.0

Updated: 2017-07-02 23:57:52.0

Pushed: 2017-03-25 07:53:31.0

Homepage: null

Size: 424

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

wagtailgists

Useful snippets for Wagtail. Under permanent construction.

Check out Awesome Wagtail for more awesome packages and resources from the Wagtail community.

Models stuff

Including abstract classes (interfaces), utilities, signals and so on…

Generate clean fixtures

This is the ultimate mofo command to generate clean fixtures for your project:

nage.py dumpdata --indent=4 -e contenttypes -e auth.permission -e auth.group -e sessions -e wagtailcore.site -e wagtailcore.pagerevision -e wagtailcore.grouppagepermission -e wagtailimages.filter -e wagtailimages.rendition --natural-primary --natural-foreign > core/fixtures/initial_data.json

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.