Live data from Hacker News

Show HN: Wagtail, our new Django CMS

news.ycombinator.com

41–50 of 99 posts

Re: Show HN: Wagtail, our new Django CMS

#41
post #32
post #25

Earlier quoted context omitted.

So a CMS that works as the client requires and has a very nice UI can't be taken seriously because it has no tests? That's a very developer focused mindset. I'm glad it's been open sourced and I hope to see tests added by them or the community, but it's not a deal-breaker for me. And if you contribute tests I hope they'll be full functional tests to spot cross-browser regressions, JS breaks and the rest ;)

Clients do care about having a stable and bug free software. Tests is one of the best way to achieve this.

I know and I agree, but I feel tests often cover the wrong thing, or what the developers feel is most important. Unit testing libraries within the system: great. Leaving the rest: not so great. Or aiming for 100% code coverage: uggh.

Playing devil's advocate here: Testing the system throughout to ensure components play nicely together and that functionally the system works as expected - this is in my opinion more important than unit testing.

Re: Show HN: Wagtail, our new Django CMS

#43

What's API support like? IE if I wanted to create a search widget that uses JSON. Have you considered something like Django REST Framework?

As it happens, the predictive search already returns JSON, but we don't have a general purpose API yet. It's on the list! Pages are just plain Django models under the hood, so Django REST Framework would be a good fit.

Re: Show HN: Wagtail, our new Django CMS

#45
post #8

Brilliant name! Good work chaps!

Thank you! It's named after these lovely little birds which hang round our offices (near Oxford, in the UK) from spring to autumn: https://www.rspb.org.uk/wildlife/birdguide/families/pipits.a...

Here in Hertfordshire too!

Re: Show HN: Wagtail, our new Django CMS

#46
Congrats on open sourcing this. It looks great! I'm very pleased to see a Django app where the design hasn't come as an afterthought.

I'm just about to test it out but I have a question – how easy is it to to integrate this into an existing project?

Re: Show HN: Wagtail, our new Django CMS

#47
post #42

Are there any developer docs? How extensible is it? How we do integrate 3rd party apps into the wagtail admin?

Developer docs: currently https://github.com/torchbox/wagtaildemo/blob/master/README.m... and this tutorial from contributor Serafeim Papastefanos: https://gist.github.com/tomdyson/8974456

Clearly this isn't enough and we're working on proper Sphinx docs which should be ready in the next few days.

Extensibility: it's just a Django app, so you can include it in your existing project, or add your own apps / views / middleware etc. There are some hooks, e.g. for including your app into the main admin navigation - see https://github.com/torchbox/wagtail/blob/master/wagtail/wagt... for an example of where a hook gets called. It's a good candidate for developer docs!

Re: Show HN: Wagtail, our new Django CMS

#48
post #46

Congrats on open sourcing this. It looks great! I'm very pleased to see a Django app where the design hasn't come as an afterthought. I'm just about to test it out but I have a question – how easy is it to to integrate this into an existing project?

Thanks! Wagtail is just a collection of apps which can be added to a standard Django project. Serafeim's tutorial demonstrates this: https://gist.github.com/tomdyson/8974456#creating-and-config...

Note https://github.com/torchbox/wagtaildemo/blob/master/wagtaild... (from the example Wagtail site). To incorporate it into an existing app you'll just need to adjust the URLs so Wagtail isn't taking over the whole URL space.

Re: Show HN: Wagtail, our new Django CMS

#49
post #46

Congrats on open sourcing this. It looks great! I'm very pleased to see a Django app where the design hasn't come as an afterthought. I'm just about to test it out but I have a question – how easy is it to to integrate this into an existing project?

[deleted]
Post reply on HN