Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/springload/wagtailgists

Useful snippets for Wagtail
https://github.com/springload/wagtailgists

snippets wagtail

Last synced: about 2 months ago
JSON representation

Useful snippets for Wagtail

Awesome Lists containing this project

README

        

# wagtailgists

> Useful snippets for Wagtail. Under permanent construction.

*Check out [Awesome Wagtail](https://github.com/springload/awesome-wagtail) for more awesome packages and resources from the Wagtail community.*

## Models stuff

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

* [Models](./models/models.md)
* [Tags](./customtags/customtags.md)
* [Snippets](./snippets/snippets.md)
* [Production gotchas](./production/README.md)

## Generate clean fixtures

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

```sh
./manage.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
```