Sage Abdullah
6732b71983
Format code with isort
2022-08-18 12:51:17 +01:00
Sage Abdullah
40696f941c
Format code with black
2022-08-18 12:51:17 +01:00
Matt Westcott
3f009a94df
Migrate streamfields to JsonField
2022-06-20 11:18:38 +01:00
Matt Westcott
e702c18101
Replace deprecated panel types with FieldPanel
2022-06-20 11:18:38 +01:00
Coen van der Kamp
32d8809877
Upgrade to Wagtail 3
2022-06-15 11:58:53 +02:00
LB Johnston
3590125dc0
update all wagtail.io to wagtail.org
...
- also ensure that we link to stable not latest when using docs links consistently
2022-01-15 20:14:53 +10:00
Amondale
1de2881d6e
Update models.py
2021-10-14 18:39:15 +10:00
LB Johnston
ccafa1c6ac
Update all Wagtail docs links
...
- use https instead of http as that is now the default
- update any fixed versions to the latest
2021-09-09 22:00:39 +01:00
Tobias McNulty
7ee23ded4c
add flake8 and fix a few formatting bugs
2019-09-12 16:04:38 +01:00
Matt Westcott
9729468676
Use new Wagtail 2.0 module paths
2018-03-01 12:10:25 +00:00
LB (Ben Johnston)
02710075ae
Add support for tags with multiple words
...
Fixes issue where `my-blog/tags/multi-word-tag` would result in a 404, even if there was a valid tag slug for `mult-word-tag`
2018-02-06 14:28:09 +00:00
Matt Westcott
6bfecb456f
Django 2.0 compatibility fixes
2018-01-17 16:50:23 +00:00
Matt Westcott
af6c4953bc
Remove erroneous index.SearchField('title') entries from search_fields
...
title is already included in Page.search_fields, so adding it again A) is redundant and B) makes it fail when run against Elasticsearch, due to the two occurrences having different indexing parameters.
2017-11-13 20:15:13 +00:00
Scot Hacker
8366ec6d79
Fix preview functionality on BlogIndex when route methods are present
...
Resolves #142
2017-04-23 13:12:27 -07:00
Edd Baldry
f4ca81d863
Amend models based on @shaker comments
2017-03-30 12:29:23 +01:00
Edd Baldry
a08ed3b9c3
Incorporate Tom comments. Change v1.9 to latest throughout
2017-03-28 10:18:14 +01:00
Edd Baldry
326d11b181
Merge master and resolve merge conflicts
2017-03-28 10:11:13 +01:00
Edd Baldry
d85e2b935e
Inline comments for blogs
2017-03-27 22:01:43 +01:00
Edd Baldry
e05a34dab4
Re-order admin panels to be intro, image then body on models
2017-03-27 12:18:27 +01:00
Scot Hacker
095a98d7e6
Remove BasePageFieldsMixin
...
- Return to explicit fields everywhere
2017-03-26 15:29:54 -07:00
David Ray
2070b0a8aa
Merge pull request #87 from wagtail/78_standardpage
...
Clean up relations between BasePageFieldsMixin, StandardPage
2017-03-06 04:58:33 -05:00
Scot Hacker
efb2516bcf
Don't show `body` content panel on index pages
2017-03-05 18:31:05 -08:00
Scot Hacker
c4823a6fcb
Move body field from most models and into BasePageFieldsMixin
2017-03-03 00:05:20 -08:00
Edd Baldry
5cc612b6ab
Add function on IndexPage models to return children. Workson #58
2017-02-28 17:38:47 +00:00
Scot Hacker
92df81d8a2
Simplify list comprehensions when getting all tags for children of BlogPage
2017-02-23 23:45:03 -08:00
Scot Hacker
07e6823751
Rename blogs method to get_posts; tweak indentation
2017-02-23 23:31:23 -08:00
David Ray
c4d05b43c6
Add helper metrhod to get all BlogIndexPage's child BlogPage's tags
2017-02-23 13:45:45 -05:00
Scot Hacker
6b4cb1d61f
Use blog intro field on blog index, detail; blog bylines, avatars
...
- Resolves #60
2017-02-21 01:07:04 -08:00
David Ray
cace34cd65
restore BlogPage.subtitle and inject Panel into appropriate position
2017-02-20 04:52:24 -05:00
David Ray
407af8d2f6
Work on #41 ; adding BasePageFieldsMixin to more pages
2017-02-19 20:24:43 -05:00
David Ray
f30ec597a2
rename mixin
2017-02-18 06:37:12 -05:00
David Ray
b8090a1ccf
Fixes #41 ; create abstrat base class for common fields
2017-02-18 06:21:21 -05:00
Scot Hacker
355ef11589
Enhance tag view with button links, page header
2017-02-15 00:08:55 -08:00
Edd Baldry
21ce6e9573
Blog introduction and subtitle as per designs. closes #18
2017-02-11 21:32:29 +00:00
Arnar Tumi Þorsteinsson
d47d9adba7
blog page
2017-02-10 16:18:32 +00:00
David Ray
df399f5869
normalize on double quote for dosctrings versus single quote
2017-02-10 09:25:12 -05:00
David Ray
a26918f98d
normalize multiline imports
2017-02-10 09:09:38 -05:00
David Ray
4d14f21ed7
resolve merge conflicts and code cleanup
2017-02-10 09:04:34 -05:00
Scot Hacker
293a740f1f
Implement multi-model search
2017-02-10 13:05:54 +00:00
David Ray
c428998049
Add messages to base.html, handle /tags/ and /tags/[bad-slug]/
2017-02-10 07:10:49 -05:00
David Ray
6d7db27b59
Simplify BlogPage model, remove unneeded properties and methods
2017-02-10 06:04:22 -05:00
David Ray
c918afa1de
Adds a custom view via RoutablePageMixin to render blog posts related to a particular tag via /[blog-index-slug]/tag/[tag-slug]
2017-02-10 06:00:11 -05:00
Edd Baldry
4529b2789b
Basic template for blogs
2017-02-09 22:40:15 +00:00
Edd Baldry
3533a04154
Allow people to be accessible via template for blog post
2017-02-09 22:24:27 +00:00
Edd Baldry
573b6bbb65
Blog app
2017-02-09 17:01:41 +00:00