Skip to content

Instantly share code, notes, and snippets.

@hminnovation
hminnovation / 1.0b2 a
Last active August 29, 2015 14:21
1.0b2 a
pip install -U wagtail==1.0b2
@hminnovation
hminnovation / Wagtail 1.0... beta1 a
Last active August 29, 2015 14:21
Wagtail 1.0... beta1 a
pip install "wagtail==1.0b1"
@hminnovation
hminnovation / Wagtail 1.0... beta1 b
Last active August 29, 2015 14:21
Wagtail 1.0... beta1 b
wagtail==1.0b1
@hminnovation
hminnovation / Getting started wagtail a
Last active August 29, 2015 14:21
Getting started wagtail a
pip install wagtail
@hminnovation
hminnovation / Getting started wagtail b
Last active August 29, 2015 14:21
Getting started wagtail b
wagtail start project_name
@hminnovation
hminnovation / Getting started wagtail c
Last active August 29, 2015 14:21
Getting started wagtail c
cd project_name; vagrant up; vagrant ssh
@hminnovation
hminnovation / Getting started wagtail d
Last active August 29, 2015 14:21
Getting started wagtail d
dj createsuperuser (following the instructions), then djrun
@hminnovation
hminnovation / Getting started wagtail e
Last active August 29, 2015 14:21
Getting started wagtail e
dj startapp my_app
@hminnovation
hminnovation / Getting started wagtail f
Last active August 29, 2015 14:21
Getting started wagtail f
class StandardPage(Page):
intro = models.TextField(“Intro”, blank=True)
body = models.RichTextField(“Body”, blank=True)
@hminnovation
hminnovation / Getting started wagtail g
Last active August 29, 2015 14:21
Getting started wagtail g
StandardPage.content_panels = [
FieldPanel(‘title’, classname=”full title”),
FieldPanel(‘intro’, classname=”full”),
FieldPanel(‘body’, classname=”full”),
]