Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/springload/wagtailgists
- Owner: springload
- Created: 2015-01-21T20:18:03.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-25T07:53:31.000Z (almost 8 years ago)
- Last Synced: 2024-04-16T06:38:44.365Z (9 months ago)
- Topics: snippets, wagtail
- Language: JavaScript
- Size: 414 KB
- Stars: 4
- Watchers: 24
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```