Search: "django"

20 results

I didn't know what to build, so I made scaffolding

Building an app factory, that utilizes Cloudflare's free tier resources to have quick and dirty apps to demo.

Agents as productivity leverage (24 tested PR's to production during naptimes)

Agents, and especially great harnesses, like Cursor, have taken the drudgery out of coding. I like solving problems, and the level of abstraction for problems does not matter. Some programmers struggle with the change, since a big part of their identity has been chiseling out the code.

At the same time, I'm grateful for the fact that I can code, so I can appreciate the tools we now have. It's not unlike music - you can appreciate it more, if you understand the complexity and skills required to produce it.

I made a new social media platform nobody asked for

Uutislauta-logo

I like to discuss news. Actually most of the stuff that gets discussed in social media is news related. So I made a (UPDATE: and decommissioned, because law), where you can discuss news.

I made a thing

This one time, at band camp.. No, not really at band camp, but recently I woke up and had a dumb idea of having a website dedicated to Finnish superlatives. So I made one.

superlatiivit.com

Let's change email-server to Gmail

I have used an external email-server for my forms in Django. Let's change that to Gmail, since Gandi has started to want more money for using theirs.

Upgrading Django 3.2 to Django 4.2

All good things come to an end. Version 4.2 is the new Django LTS-version (Long Term Support) for a popular Python web framework. This is how you can upgrade your project handily with django-upgrade.

How to create template forms in Angular

This is a follow-along-a-tutorial article that has some insights about the framework and the methods used.

End result - a working rudimentary Angular form

A simple Angular tutorial project

This is a documentation of a learning experience with Angular. It follows along the Hero-tutorial of Angular.io.

Implementing reCAPTCHA v2 after Simple Captcha

This article details the steps you need to take in order to modify your existing Captcha to reCAPTCHA.

Simple forms of Captcha are easily defeated by robots, so this is an essential step to beef up your spam protection.

End result: working reCAPTCHA

Implementing search to a Django project

Search is a vital component of almost all web projects. Luckily Django has made it really easy to implement.

Working Django search

Making CAPTCHA-forms for your page

In this article, I'll show you how you can implement CAPTCHA's for yourself. CAPTCHA's are easy to figure out for humans, but harder for bots, so they're a widespread way of protecting online forms from abuse.

Invalid CAPTCHA

Creating class based comment-functionality with Django

The idea of this article is to show you how you can create a commenting possibility to a web page. The scope is a working local version with email-notifications.

Django contact form

A contact form can be good for some customers, as some people like it better than sending email. It essentially does the same thing - it provides the first point of contact.

The scope of this article is a locally working installation and some quick pointers for a production implementation.

Getting SSL-certified (Certbot & Apache2)

SSL-certification is essential if you're going to have a site that people will send and receive data from. It's easily evident from the little lock icon on the address bar of your browser if you have it or don't.

End result - you can see the coveted lock closed

Dumping a PostgreSQL database and automating the process

There are many reasons why you'd need to have your data in a dump, and one of those is to back it up.

How to change user's password to Django project from cli

It's quite simple, just use the command:

manage.py changepassword *username*

How to run multiple Django apps in production at the same Apache server

I have a practical problem - I'm building a web site, but I have one app already running in production for the site. So I need to take care that I don't lose the data in my app and make sure that 2 apps work together.

How to change a production database from SQLite to PostgreSQL

Django ships with SQLite, but PostgreSQL is a more capable DBMS. I wanted to try out the migration to a different system to learn about the process.

How to create a shopping list app in Django

This is a step by step guide to creating a Shopping list app with users, registration and admin. The writing of this article and the coding took me about 5 hours with a production install included. You should be able to replicate the results in about half of that time.

How to split a string in Django template + Model

Why would you need this? In my example, I have a simple shopping list and since Sqlite doesn't support arrays, this is an easy was to iterate the items to a neat list.