Skip to content

Commit

Permalink
Updated example and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
robmoorman committed Nov 30, 2016
1 parent 0cbf567 commit f8680d0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ Site specific theme loader for Django Wagtail.
* Testing: [https://travis-ci.org/moorinteractive/wagtail-themes](https://travis-ci.org/moorinteractive/wagtail-themes)
* Coverage: [https://coveralls.io/github/moorinteractive/wagtail-themes](https://coveralls.io/github/moorinteractive/wagtail-themes)

![ThemeSettings](docs/screenshot.jpg)

## Example app

See the [example](https://github.com/moorinteractive/wagtail-themes/tree/master/example) app for a working multisite with two different themes.

Run `make` and the app will install all the necessary files and fixtures for you.
Run `make` and the app will install all the necessary files and fixtures for you. You can login with `admin:admin` and check how `example.com` and `blog.example.com` serve different themes.

## Installation

Expand Down
Binary file removed docs/screenshot.jpg
Binary file not shown.
3 changes: 2 additions & 1 deletion example/example/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['*']


# Application definition
Expand Down Expand Up @@ -148,6 +148,7 @@
# Wagtail themes
# https://github.com/moorinteractive/wagtail-themes

WAGTAIL_THEME_PATH = 'themes'
WAGTAIL_THEMES = [
('brand', 'Brand site'),
('blog', 'Blog page')
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions example/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
django==1.10.1
wagtail==1.6.2
wagtail-themes==0.1.3
django
wagtail
wagtail-themes

0 comments on commit f8680d0

Please sign in to comment.