How to design good Django models?
Designing good Django models is very important when it comes to readability and to maintainability. In this post I'll share some good tips on how to implement some good techniques.
Code With Stein offer both free and premium courses and tutorials. And track your progress. You will learn how to build web sites, web apps, optimizations and so much more.
Write a comment or join our Discord server for free. Talk about programming, server stuff or just show of your work.
Designing good Django models is very important when it comes to readability and to maintainability. In this post I'll share some good tips on how to implement some good techniques.
With Slots you can make it possible to structure the content of a component in a semantic way, and the parent component can control the contents of them.
Filters are justed to apply formatting and transformations to values used in a template interpolation. You include filters in you components and you can use them on all dynamic data. The underlying data will not be change, just the way they are presented on the screen.
Vue.js computed properties helps you to make computations and changes to your data variables.
When you're working with Vue.js you often need to run a function when a certain value changes. Vue.js watchers helps you with that.
Props are used to pass data from a component to another. In this post we will go through how you can pass strings, objects and other data types.
When you're building a Vue.js app you often need to send information from a component to another, here is how you do that.
Python has something called lists which is a collection of objects.
A string can be anything from a letter, to a word or a whole sentence.
A random string can be used for a lot of different purposes like password, filename, etc. But how do you generate one?
Generating random number using JavaScript isn't hard, but you need to know how to do it.
Django and Vue.js are my two favorite frameworks for building the best websites. In this post I will tell you everything you need to know to use them together.
Sometimes you need to optimize your website by either using throttle or debounce, but what's the difference?
It's normal to have ForeignKeys field in ModelForm. And if this is a hidden field, the save function will crash.
In this guide, I will show you how to create a simple modelform using Django.
Every now and then, we want to check if an e-mail address is valid. Maybe you're building a user sign up or a newsletter registration form?
Django has some shortcuts to help you speed up your development process even more. In this post we'll cover a few of them.
Sometimes you want to select an element inside another HTML element, but how do you do it?
Making an object move is something everyone needs to know how to do. This is one of the basic buildings blocks of game building.
A PixiJS application has a default size. But what if you want to size to match the window or you just want a completely different size?