News for hackers. Stuff that matters.
Re:Ask HN: WordPress vs. Django/Flask? by chadpaulson on Saturday September 16, 2023 @03:15PM (#37537767)
Django has a CMS called Wagtail, which has some really nice features including custom content blocks which allow you to easily create unique looking pages.

Wagtail has over 15,000 stars on GitHub, is heavily supported and was created in 2014. It has since been adopted by organizations such as NASA, Google, and the National Health Service.

Below is a comparison between Wagtail and Wordpress.

https://wagtail.org/wagtail-vs-wordpress/

Re:Ask HN: WordPress vs. Django/Flask? by physicsguy on Saturday September 16, 2023 @03:24PM (#37537862)
Worth noting that it also has Django-CMS although having used it, I wouldn’t advise adopting it as a lot of QoL things are not really well developed. Doing a migration into it by creating pages in a programmatic way for e.g. was not straightforward.
Re:Ask HN: WordPress vs. Django/Flask? by chadpaulson on Saturday September 16, 2023 @03:38PM (#37537957)
I have used both Django-CMS and Wagtail. Wagtail is much more user-friendly and extensible. You can create Wikis, Blogs and regular content pages with models and maintain it all through a friendly CMS interface that rivals Wordpress.
Re:Ask HN: WordPress vs. Django/Flask? by gremlinsinc on Saturday September 16, 2023 @05:14PM (#37538776)
I was going to go this route till I found laravel has the same thing basically in filamentphp, I really just wanted a change from PHP so spent a month in wagtail really liked it but I feel I could get more done faster sticking to laravel.

I've tried to ditch laravel so many times, I really like sveltekit and the idea of plugging it into Postgrest or firebase or just use prisma, but I always end up back at laravel.

Wagtail almost had me because Django has a nice migration system but I don't like how it creates special tables for polymorphism and special sauce like for content types etc, in laravel I always know what the data schema is and there's no gotchas or unexpected things.

Re:Ask HN: WordPress vs. Django/Flask? by lnxg33k1 on Saturday September 16, 2023 @03:57PM (#37538111)
Omg the python userbase is made of such piece of shit ffs, its like plugins/packages in wagtail can’t introduce security issues
Re:Ask HN: WordPress vs. Django/Flask? by chadpaulson on Saturday September 16, 2023 @05:02PM (#37538667)
The Python user base is perfectly fine. Of course, any additional package installed outside of Django and Wagtail can introduce security risks. Since Wagtail and all of its additional packages incorporates Django's security features, which includes protection against many common attack methods, it is a more secure offering.

https://docs.djangoproject.com/en/4.2/topics/security/

Not to mention security through obscurity, Wagtail is a lot less common than Wordpress. Therefore, not as many attack vectors exist for Wagtail as they do for Django / Wagtail, especially if you keep on top of the security patches.

https://www.djangoproject.com/weblog/2023/sep/04/security-re...

Re:Ask HN: WordPress vs. Django/Flask? by lnxg33k1 on Sunday September 17, 2023 @08:19PM (#37550749)

  Of course, any additional package installed outside of Django and Wagtail can introduce security risks.
Nothing to add your honour