# Wagtail in 2018

Source: https://djangotv.com/videos/wagtail-space-us/2018/wagtail-space-us-2018-tom-dyson-wagtail-in-2018/
Date: 2018-06-21
Speakers: Speaker 1, Speaker 2, Speaker 3

## Summary

Tom Dyson traces Wagtail’s development from its 2014 launch for the Royal College of Art through adoption by organisations including the NHS, Google, universities, and major public-sector and technology groups. He argues that Wagtail’s next stage depends on balancing new capabilities—headless CMS use, personalisation, machine learning, review workflows, and integrations—with improvements to accessibility, performance, documentation, and the editor experience. He also calls for a larger, more inclusive community, easier setup and contribution, a stronger commercial ecosystem, and less reliance on Torchbox while preserving Wagtail’s principles and adaptability.

## Transcript

### [00:00] Introduction and Event Overview

**Speaker 1:** [00:00] And put this together and without further ado we'll dive into our first talk with Tom Dyson.

**Speaker 2:** [00:15] Great. So I'm I'm Tom. I'm I'm the co-founder and the technical director at Torchbox, where the UK-based agency that that started Wiketel. And I run the open source Wagto project from the UK. Tim has slightly stolen my thunder by doing almost all the thanks, but there's one person he didn't thank and When we had the idea for this originally at another Wagtail space. This is something organized by Four Digits, a re great agency in Arnhem in the Netherlands. And that was in March and we finished that in saying it'd be really good to do something like this in the US and Andy and Will were involved in that decision and immediately I thought of Tim

[01:00] and it's really, you know, really thanks to Tim that we've been able to put this together. I mean with the generosity of Warton but Tim's organizational help and you know but I have to always be careful about asking Tim to help because I know that he'll always say yes and just kind of keep helping. And so I want to make sure I never overset them up. But thank you, Tim, for everything you've done. Okay, I Tim's also talked a bit about the format. So today is all about the talks. The rough format is 25 minutes, up to 25 minutes and five minutes of questions, but I think we can be pretty flexible about the timings. At the end of today, after the talks are finished, we want to plan the sprint. So those of you who are staying for Friday and Saturday, I think it would be great for us to spend an hour

[01:47] looking at what themes and priorities we could all look at and maybe identify some teams. Also, tomorrow there's there's a tutorial, a three-hour tutorial for those of you who would like it. I'll be doing this. And it goes from scratch, so even if you've never done any Python or Django before, the idea is that you should be able to start from scratch and at the end of the three hours, you should be able to, you should have launched a site on Wagter. And so if you're interested in that, and I think I've heard a couple of people would like to do that, then please come see me and I'll make sure that we get set up ready for that tomorrow. HashwagtailSpace is the hashtag we're using if you tweeting about this or doing anything on social media.

[02:32] We're also streaming We're using the BlueGene system that's live right now. This is the short code that redirects to the streaming URL. If any of your colleagues want to join in. We would like to take photographs of people and also maybe do some short film interviews. Will here is an amazing photographer and we'll take photos. If any of you would not like to have your photo taken Please let me in know or will know. And finally, we just we want to make sure everyone here feels happy and relaxed and safe And if you're at all worried about anything or anxious, please come see me or one of the other organizers that were standing here and we'll we'll help.

### [03:18] Wagtail Origins

**Speaker 2:** [03:18] Okay, so I'm gonna I wanted to start this conference by giving a very general talk about where we've got to with Wagtail over the last four years, what's happening right now, and what we're planning next. So I start with a kind of a quick history lesson. This is an overhead view of our offices. This is the headquarters of Torchbox. We're based in something called Cornbury Park, it's part of the Witchwood Forest. It's it was an ancient hunting forest designated in ten eighty five, I think. It's in the doomsday book, a royal hunting forest. It's an amazing environment. I mean I guess I wanted to show you two things. One that we're pretty small, we're like that building there, that building. But also that we're in this beautiful rural location. And one of the advantages of being a beautiful rural location is that you have lots of animals around.

[04:05] So we've got like swans and this deer in the deer park and stuff. But the one I really like, and I really know nothing about I'm I'm no ornithologist, but the one I really like is this little creature, which from spring to autumn full fli just kinda hangs around in the grass areas outside our offices and it's got this really cute movement of its tail and it was because of this bird that we decided to call our comp management system wagtail this is a wagtail and so our logo which you know i like everyone likes the logo it's actually not a very accurate logo it's got this little tail down here the tail should be much bigger and sticks out the back And moves up and down. Anyway, that's a wagtail. Apparently you don't there are no Danielle has a mm a friend, an expert friend, who says there are no wagtails in the state, so I'm sorry about that.

### [04:54] Early Wagtail Milestones

**Speaker 2:** [04:54] So we play this video. We in twenty fourteen we launched Wagtail. We built it for the Royal College of Arts, which is one of the preeminent art institutions in the UK. But they had done a large evaluation of on of content management systems and they decided that they wanted something slightly different. They commissioned us to build it and they were keen for us to open source it This is a film from the launch party of that. We had been Torchbox has been going since 2000. We have built a lot of large content managed public websites, we've used many content management systems.

[05:40] In particular we've used a lot of Drupal which is very big in our space, which is we're focused on the non-profit public sector education generally people making the world a better place. And Drupal's been really big in that space. And we've built lots of sites on Drupal we were really proud of, but we were very frustrated with it from a technical point of view. So Wagtail was born really out of those frustrations, but also as this commission. From the Royal College of Art. The next year, 2015, we had our first sprint. This is in the office of Pre-Celps, an amazing organization in South Africa. Africa. So this is outside their Cape Town offices. It's a bit dark here, but you can see Lisa here and Cody who are now two of the core developers. They are we were hoping they were going to be able to come

[06:25] and they had some visa issues, but they're going to be presenting some of what they're using Wagel for remotely later on this morning. In 2016, we had a call from this very secretive organization in Brooklyn and they wanted us to build something. They say we're using it for this campaign, they couldn't tell us any of the details and they needed a they needed an API because they wanted to send out information not just for the website but to this very kind of highly segmented phone-based SMS-based campaign And it turned out that this was the Hillary Clinton campaign, so HillaryClinton. com ran on Whittail. They commissioned the first API, which is, you know, which is then open sourced. We were really excited about the day, we were also we weren't allowed to tell anyone, we were really excited about the day when we were going to say our technology ushered in the president

### [07:12] Wagtail Adoption and Growth

**Speaker 2:** [07:12] and just didn't work out quite that way. Next year 2017. I'm just kind of picking some highlights from the years. This has been a really big deal for us. So the NHS, the UK's National Health Service, adopted Wagtail. And not just for, you know, it's a huge organization with lots of different Lots of different parts. But not just for one department, but for their main site, NHS. uk, which is one of the highest profile sites in the UK, ninety million visitors. Come on. You know, it's it's the site that any that my colleagues and I would go for if we kind of see some s rash on our arm or something and we're worried we're worried what the problem is. So is it and this is a big deal. So the NHS on I guess it doesn't have quite the same resonance here as it would in the UK, but the NHS is currently the fifth largest employer in the world. It used to be the second largest.

[07:57] It's now the fifth. Any ideas what the other four might be? Chinese Red Army, very good, yeah. The number two.

**Speaker 3:** [08:07] Trump Associates.

**Speaker 2:** [08:09] There's the others So yeah, McDonald's Walmart, People's Liberation Army, and the US Department of Defense. So this is a big deal. This is This is a big deal, I think, not just for Wagdale, but for Django and Python. This is, you know, Django running the main site of the world's fifth largest organization That obviously a pretty big deal for us as well. And I guess this marked a turning point for us from a commercial point of view as TorchBox because we're still working with clients who are you know in the sectors that I described and up to last year a lot of them we're still nervous about because you know they could see the benefits of Wagtail but it's still it's not something that they're that they've heard of in the same way they've heard of with Drupal and WordPress. But NHS has

[08:55] has changed that. Another thing last year happened is that that Google have started getting serious about Wagtail. So they're Google are running several of their large sites on Wagtail, blog. google. double click. They are starting to invest in Wagtail as well from the code point of view. So at the last sprint Kevin Chung came and made a great commit that was that's been released in 2. 1 This is another thing that's changed for all of us, not just for Wagtail. So when we launched Wagtail in 2014, this is a Python line which has just done an E PHP and popularity and a second up from here and now we're here and this is kind of just a luck thing really that we all picked a language that has exploded

[09:41] so this is this is where you know this is Python now and this is where Python is predicted to be here. And you know we picked Django in Python because we love working with it, but the explosion of interest I think has really come around machine learning and big data and computer science curriculums with universities around the world where Python is you know increasingly the most popular language. Python has been is a very important glue language now for the for all the big machine learning and big data toolkits. So that's that's fantastic for us and it's I think is a big opportunity for Wagtail. And then I think this is my final one on the kind of recent history. Wagtail 2. 0 this is a big release for us in February I hope many of you have had the chance to upgrade for this. I guess that one of the dramatic things about it is that it like Django 2.

### [10:26] Wagtail 2.0 and Current Users

**Speaker 2:** [10:26] 0 and that's why we named it, we did a kind of step upgrade, to launch at the same time with Django 2. 0. It's Python 3 only, so we wanted to kind of to make that commitment. It has the new draft tail editor, which is a massive improvement on what was there before and many other things too. So here we are, this is where we're at, Wagtail today. It's one of the top 10 open source content management systems It's used by enormous public sector organisations, so just in this country, Peace Corps, CFPB, NASA. like tech giants, Google, Salesforce, Twilio, Mozilla, and then you know people who are like more in our space like Oxfam, Amnesty. And you know, appropriately given its start with the Royal College of Art, Wagtail's really big in the higher education sector. So Walton, I'll wonderful hosts, MIT, California College of the Arts, Chicago, Columbia, Rice, Caltech, you know, this there's a big list.

[11:16] Caltech were hoping to be here. They are now, they've been doing this, they were quite early adopters and they're They've got this problem that that many I think probably all universities have where little departments start spinning up little subsites or you know a professor's got a group and doesn't want to use the main Drupal site or So you can spin something up on Wagtail or Squarespace, and then you end up having 300 sites. So they've built something on Wagtail, it means that everyone can spin up a site on this central platform and they are now moving their main www Caltech site across to Wagtail. So that's where we are to now. And then and then what's next? So this is a now a busy project. And we have a hundred and four pull requests, which you know I feel a bit nervous about. And we it's nice to be just two figures, but hundred and four is a lot, but it's not just a pull request, it's the messages on Slack, the questions on Stack Overflow, the things people ask me in the corridor.

### [12:08] Project Priorities

**Speaker 2:** [12:08] You know, people are full of ideas of improvements, which is amazing. You know, we should be we should have better docs, we should do inline reviews. A way that recently I've thought about trying to trying to kind of organize and prioritize this is by clustering these into three groups. So these are the groups that I've I've been trying to think of and I'd kind of like to encourage you to think about These clusters too, and it might be a helpful way for us to think about the work that we can do together as a community. So quality, features, and community. Let's think about some examples of those. So I'm I'm not gonna kind of do a comprehensive list, but these are some of the priorities I think. So under the quality heading comes things like accessibility. So we tried to do accessibility right from

### [12:54] Quality Improvements

**Speaker 2:** [12:54] from the beginning with Wagtail. But I know that there's there's we can we can improve on this. We've had some really interesting feedback recently from a blind user in Sudan who has given us some fantastic information on ways that we can improve about the ways we can change our front icons for example. There's definitely more that we can do there. Performance, so this is, you know, we have always wanted Wagtail to feel fast. We've wanted to, I mean, and this is again, this is kind of in a reaction to the other systems we've used. We want it to be under 250 milliseconds for page load so it feels like a seamless experience. Now performance is you know it's about minimizing queries and so on. It's also about thinking about front-end performance And this is in the UI making it feel smooth and liquid, but also meaning that you can serve on in the front end. So generally you are able to run a pretty big site on a $5

[13:41] digital ocean box if you know If you need to, I want to kind of keep chipping away at that. The Streamfield UI, many of you will be familiar with Streamfield. When we built Streamfield, the idea was that it would be it would help build these kind of long-form narrative style pages, the ones that are you know you've seen great examples from the New York Times and Guardian and BBC and it works really well for that but actually what surprised us is that people use Streamfield film For modelling quite kind of hierarchical data, so nested data, and quite tell it works, but the UI isn't great for that. So there's a big project happening right now. This is amazing contributor, Bertrand Baudage from northern France, who's got some kickstarter And then the run front end refactor, this is not my area of expertise, but I know that the things we did four years ago are

### [14:30] Future Features

**Speaker 2:** [14:30] no longer there. the best practice. You know, it's there are better ways that we can do we can we can manage our CSS and JavaScript. So that's the quality. The next one was features. This is the this is the cool bit. I mean this is the stuff that people you know get most excited about because we all want new stuff. But I think it's it's important to think about the quality too because otherwise it you know it's it's easy to kind of get enthusiasm and build features but we have to keep making sure that the quality, the performance, the accessibility is good. Nevertheless, let's talk about the quality. So let's talk about features. So headless, I think this is this is this is another thing that wasn't really around four years ago. Are people familiar with this concept? So this is kind of decoupling your content management system from the presentation. It's a bit what a bit like what the Hillary Clinton campaign did, that they were using Wagtail as a kind of content store and then using the API to push it out to different

[15:16] medium and this is this is definitely a more and more popular model so people are building front ends in React or Vue you know these other amazing job JavaScript toolkits and actually White Tail does this pretty well, but we're not we're not marketing this very well. There's not good documentation and people are having to learn how to do it each time. I'm really looking forward to my Michael's talk later where he's gonna explain about how he's built a big headless, a big CMS in the headless mode on Wagtail. CX, this is a bit of sort of industry jargon, some of you may not be familiar with it. So this is like moving away from the model, the kind of the traditional model of one piece of content and you publish it out to everyone, and it's more like you know Jeff Bezos You said I don't want one website, I want 50 million websites or something.

[16:03] I can't remember what that number is up. You know, it's just like thinking about what the precise user experiences are for each of your users and making customizing content. and journeys around what they need. And that usually means two things, personalization and A-B testing. And these are two things which are which there is quite a good story for this in Wagter. There are two good modules, one for testing and one for personalization. personalization that are being used in some in some high profile places. We need to improve them and bring them in and market them and document them and so on. Machine learning, this is an area that you know it doesn't feel like maybe the most natural fit for a content management system. But I think there are a lot of ways, and particularly because we're on Python, we've got access to all these amazing libraries and services, that there are ways that we can start augmenting the system for editors particularly that take advantage of some of these services.

[16:49] So here's an example. This is one of my favourite examples. This is actually built by a Swedish guy from Swedish agency, Freud. So it all happens quite fast, but here's some pictures on my desktop four eight pictures I'm gonna drag them into Wagtail you'll be familiar with that user interface close it so next my next job would be to title them but I need don't need to title them. Bottle of BSynx sits next to a glass of wine. They've got tags, they've got titles. A herd of cattle. A black and that's my dog, Moscow. He's not brown but anyway it's quite close. Nigel Clark, a beautiful tall building. You might recognise that building. A white plate covered in the snow, that's actually some sardine heads in my case. So that wasn't so good. But that's because this is using the there are a few of these vision, you know, machine vision services. And this is the Azure one, which is actually

[17:35] It was the best it's the best one for doing titles and clearly you know they rely on big data sets and i Azure probably doesn't yet have an image of sardine heads in a white sink, so that's why You know, it had to guess a bit on that one. But for the other ones it's pretty good. And you can see that you know this is not perfect, but it's gonna get better. These services cost you know one cent for a thousand requests, and it means that if you've got a lot of images, if you're running, you know big news site and you want to make sure you've got good alt tags and you can reference it, then we can use these services to help. You can hook into them and it's easy. So I think there are a few other ways. There's some other ways, actually some more practical ways perhaps, which are just a bit less cool to show off, that use more natural language processing. So this is something we're doing for the California College of Art. They've got a lot of content, but they want to do they want to do kind of thematic mapping.

[18:21] So if you're an editor on a site that's got a hundred pages, it might be quite easy for you to say, I know that this new this new article is related to this. article that was written two months ago. But if you've got ten thousand or ten million pages, you it's gonna be harder for you. So you can use natural language techniques that do, for example, entity extraction to work out what the kind of the themes and the proper nouns are And do similarity matching around that. So I'm really interested in this kind of machine learning stuff. Review workflow, this is another one. This is something I This has all happened quite quickly. I talked about this at the what last Wagtail space. So at the NH the V NHS site, a lot of their content is medical, like I was saying. It was and it's really important that you know if I if I'm worried about something and I go to the NHS side, it's going to give me some diagnostic information. I mean if it's serious then it's going to tell me to go see a doctor, but it's going to give me some clues. And it's it's it's important that that's right.

[19:07] So I don't, you know, take it you know, take the wrong action. So all this content has to be reviewed by clinician clinicians, it has to be checked. At the moment, the way that happens is an editor writes it in, and then every six months they'll kind of do a screenshot, print it out, email it to someone, the doctor will see it, they'll print it out, they'll might like write on it They might take a photo with their phones, email, you know, this kind of workflow is painful. And but it's it's how the world works, you know, people emailing around PDFs and Word documents. And I think there are better ways of doing this. This isn't specific to Wagtail, this is just like this is the way that content gets managed. So we built something in a annoying that Like if you use a GIF then it sort of starts halfway. So we're gonna have to wait for the we you're basically now gonna see the punchline

[19:53] before the start of the joke. So you can just sort of ignore this bit a bit. But this is a proof of concept that we built in a sprint for the NHS in the UK. Is it just an idea about how we can try and circumvent that this really painful review process? Now it's going to start from the beginning and you can forget what you've seen already. Alright, here we go. So here's the demo site. I'm a clinician, I'm looking at this, I'm thinking that's the wrong date, so I can You know, instead of like being printed out and I'm doing a Google Doc style where you know you can comment directly on the comment page. We can see now that that has a comment attached to it. And then I'm gonna annotate this line here. This is using a third-party annotation JavaScript library. When I'm saving this, it's being pushed back through an API into Wagtail.

[20:39] We decided to use a kind of GitHub style overall review method. You interface like this so you can either say I'm just commenting in it or I'm gonna approve it or I'm gonna reject it. Obviously this isn't perfect, right? This is a three-hour proof of concept, but it is all hooked up together and then when I log in the back end I can see what the comment are and we can definitely do better with this but I think this is this is an area I'm really interested in because it kind of it solves a real world problem. Another feature I'm interested in better first class integrations with other systems. So a lot of people are doing this already they're building tools based on things like Twilio for messaging and Salesforce is another one. So a lot of our clients use Salesforce for of CRMs. So we've built a few Salesforce CRM integrations. I know that Salesforce themselves use Wagtail.

### [21:25] Community Development

**Speaker 2:** [21:25] So they're using for their documentation and their status site. I want to get in touch with the Salesforce and think about, you know, is let's make Wagdale the CMS that integrates best with Salesforce. And then my final my final block was community. And again, this is one that I think in open source projects it's quite hard, it's quite easy to let this stuff slide or to think that, you know It just kind of takes care of itself. But I think it doesn't. It's really it's important to stay on top of this. I want us to be like remorselessly chipping away at the barriers to entry. to new developers. So at the moment, you know, if you've got a Python version, if you know how to run Python on your on your laptop, you can probably get something set up, basic set thing set up in file. minutes.

[22:10] Then getting it hosted is harder. Daniela 's is going to demo s demo something later which really makes a massive improvement to that people, to that use case. But I want to make it you know five minutes set up for someone who doesn't have a Python version environment or 30 seconds for someone who does. I mean kind of keep chip chipping away at that. Because I think you know the difference between five minutes and one minute or thirty minutes and five minutes is really important. I think for a lot of people like me, the way that you discover technology is in a sort of half hour lunch break when you see something that you're interested in and you try it and you want to get you know you want to get through that that process and feel like this is something you're interested in works. Documentation, you know, this is this is always an issue for open source projects. I think people feel like unless they're like the you know a really top developer, it's hard to contribute, but all open source projects want

[22:58] people to help them with the documentation. Documentation is okay, it all makes sense, it's all accurate, but I don't think it's I don't think it's organized in the most thoughtful way. Again Danielle's got some really interesting thoughts and the right way to do technical documentation. Which I'd like us to think about. Hopefully many of you are familiar with Django Girls. This is a fantastic tutorial and so well thought out. And in fact, they've really thought about this topic. problem. They really make it easy using this tutorial to think about people who aren't who haven't got any experience of this and how they can get into it. And you know a apart from being an amazingly initiative, an amazingly successful initiative, it's also the best Django tutorial. So it's what I appoint anyone who wants it and who's interested in learning Django. And they have this concept of extension. So we want to write a Django girls, an extension to do tutorial about Wagtails.

[23:45] And once you've completed it, you can go off in different directions, and one of them could be the webcam operation. We need people to we have we respond on Slack Overflow and Slack at the moment that's handled, you know, there's a small group of people who do that by So I want to make that really good. I want to make like 50 people who can answer questions on this and for it to feel like the most welcoming, the fastest response, the most friendly community. And I want to have more sprints like this. I think getting people together in real life is undervalued. And we've had now many of these many of these sprints. I think this is maybe the seventh or eighth, Cape Town, Reykjavik, two in the Netherlands, three in the Netherlands, two hours in the UK. And I think it i it whenever we have one of these events we

### [24:30] Three-Year Vision

**Speaker 2:** [24:30] always notice afterwards the sort of the surge in enthusiasm and the new people that that come in and I think it's it's a really great way of pushing the community forward. Okay, this is my last slide. Hey, what's the three-year plan? So we're always encouraged to think about, you know, you can't what's the phrase? You're not gonna get anywhere unless you I can't remember, some sort of businessy plan thing. Anyway, we ought to have a three-year plan. And here's some thoughts I had about what Wagtail could be in three years time. And the first is I think at the moment Wagtail's you know it's if you're a Django developer, you've probably heard of it and it's probably a good option for you, or if you're a Python developer. But I think I would like Wagtail to be, you know, people think I want to use let's use Wagtail, even if they're not, you know, whatever technology they're in It should be

[25:15] a content management system that's kind of a top choice no matter what your technical background. The second one, I mean I'm not quite sure about how to phrase this, but we are clearly YTL is much bigger than Torchbox now. So we're just 65 people and small proportion of that are working on Wagtail. We are investing in it a lot, but it's it's much bigger than us now. We have people from four continents in the in the in the team. But we still I think investing the most and we still and I think it would be I think a good a good goal for it would be that White Tail was not at all reliant on torchbox in three years' time. Just not say you know we want to be at the heart of it, but I think it would be good if we didn't have to be. And then this is an also a tricky one to talk about because you know people don't don't really like talking about money with

[26:00] these kind of big altruistic open source projects, but I think it would be healthy for Wagtail to have a commercial ecosystem around it, for there to be more and more agencies that are specializing in Wagtail and you know, making money out of Wagtail and paying developers to work on it. And I think it would be good maybe to for there to be some commercial plugins so people make tools that that that do specific things that may not be free and you know not everyone will use them but I think that that's also an indication of a healthy a healthy project And the ways that we will get there, I think, will be by being following this idea of being principled but adaptive. So principled, I mean, we've always we've had some kind of clear principles and philosophies about Wagtail about being a tool that that doesn't have opinions, for example, about the fr about

[26:46] about front-end markup, that lets you build the site you want, that encourages you to do the right thing. right thing. But also we have to be adaptive because you know the in three years time the situation will be different. Just as in four years ago we weren't really thinking about sites that had React front ends. In three years time there's going to be other changes. That we haven't addicted yet. We need to be able to adapt and change to that, otherwise we will become irrelevant and there'll be something else. And I think the way we can also do that is by continuing and improving the way that we are friendly and supportive. And inclusive and i'm and so far that's that's the experience i've had from everyone i mean in Django generally to be honest but and python but also here and I really want to do that. But as well as being friendly and supportive, I also think it's really important that we crush the opposition.

[27:33] That's it. Thank you all very much.
