breakpoint(): A Simple Way to Debug Your Python Code
Roxanna Coldiron Feb. 11, 2022
Imagine a typical work day as a developer. You write a function that's supposed to do something but either nothing happens or the wrong thing happens. Or, you are updating functions and BOOM! Nothing works like you expected. What can you do now? DEBUGGING! Figuring out why code is not working or…
Filed under Developers Django/Wagtail
Adding Placeholder Text to Wagtail Forms
Jeremy Childers Feb. 11, 2022
Wagtail forms let the editor customize field types and titles, but not placeholder text. While you could write a custom template and hard-code the placeholder text, this quickly becomes a burden whenever the forms need changed. Here’s how to extend the Wagtail form field to enable editors to custo…
Filed under Developers Django/Wagtail
2022 will be an Exciting Year for Wagtail
Vince Salvino Feb. 1, 2022

Since being released 7 years ago, Wagtail is all grown up and has matured quite well. But this year, there is a swelling of energy and initiatives surrounding Wagtail that will eclipse anything we have seen to date. Here's an outlook of what's coming to Wagtail in 2022, and why it has me excited…
Filed under Developers Django/Wagtail
Golang for Python Devs
Vince Salvino Feb. 25, 2021

After doing Python for the past 10 years, Go seemed totally foreign. But a few days and a few hundred online searches later, I had finally cobbled together my first “real” Go program. The one thing I wish I had was a 1:1 guide mapping Python language concepts to Go... and not just the equivalent s…
Filed under Developers
How To Alternate Blocks in Your Django & Wagtail Templates
Roxanna Coldiron Feb. 19, 2021
When we get a website design from a designer, we have to figure out how to implement that design in the code. Sometimes this means that we need to create custom page models or custom page templates to bring the design to life for a site. One of the pages that the client wanted would need to pull i…
Filed under Developers Django/Wagtail
Join us for Hacktoberfest 2020
Make your first open source contribution
Roxanna Coldiron Oct. 6, 2020

CodeRed is participating in Hacktoberfest! If you are a new web developer and want to participate in the Hacktoberfest challenge from Digital Ocean , we have several issues that are beginner-friendly! CodeRed Issues Open For Hacktoberfest We have hand-picked some beginner-friendly issues for …
Filed under Developers Django/Wagtail
How to Dump Your Django Database and Load It into a New Project
Roxanna Coldiron Oct. 2, 2020

Sometimes you just need to transfer your Django project database into a fresh environment with a new database. This could be the case if you are changing from one type of database to another, or if you want to share an entire copy of a project with someone else. You may not want to have to add in …
Filed under Developers Django/Wagtail
Spell Check Django Templates, HTML, Markdown, and RST Files in VS Code
Vince Salvino June 2, 2020

Spelling is important, and something that most developers are less than perfect at (myself included). In the age of spellcheck and autocorrect, it's inexcusable to have spelling or typographical errors in Markdown, RST, or HTML - yet none of the popular editors can intelligently spell-checking tho…
Filed under Developers Django/Wagtail
Building a Python Agent with CLI and Web API
Vince Salvino Jan. 2, 2020
Did you ever wish to have a little python program running on your server to help automate tasks? While a lot can be done with cron jobs, bash scripts, and SSH-based tools such as ansible — sometimes having your own program waiting and ready to do your bidding is exactly what you need. In this ar…
Filed under Developers
Beta Testers Wanted!
Introducing our Django & Wagtail hosting platform: CodeRed.cloud
Vince Salvino Dec. 19, 2019

Go to any Django or Wagtail support forum and you’ll probably find one question coming up over and over again: “How the heck do I deploy this thing?” OR “Help! I deployed it and now have 100 yaks to shave!” Python is not exactly the easiest thing to deploy to a web server, compared to say PHP wh…
Filed under Developers Django/Wagtail News