
Connecting two models - 30 days of Django
Today, we are going to make it possible to connect a task to a category.
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.
Today, we are going to make it possible to connect a task to a category.
I want to make it possible to have tasks in different categories. So let's add one more Django app.
Now it's time to get some data from the database and render it in the template we have created.
Learn how to use the built in Django admin interface to add data to the database.
Let's set up the database model for the tasks and learn a little bit about our choices.
One of Djangos most important thing is that you shouldn't repeat your self. So in this part, we learn how to reuse parts of a template.
Let's run the development server and test our website in the browser.
Let's learn how to set up a simple template, and show information from a view.
Now it's time to create our first view and learn a little bit more about this.
It's time to create our first Django app and learn what it actually is.
Let's go through the different files in toodoo and find out what they do and how they're connected.
In this part, we will install and create a virtual environment, and install Django into it.
In this tutorial series, you will get an introduction to Django in just 30 days.
You might wonder how small you can make a django project. Keep reading to see how you can make a Django project with only 1 file and 13 lines of code, and this include line breaks
Most applications requires some sort of input from users. Learn how to get input from the keyboard.
Sometimes we need to convert a string to an integer, a float to a string, etc.
Learn how to build a simple CRM using Django and Vue by following this full course. This course is based on a previously series.
Learn how to build a simple todo application using Django (Python), Htmx and Tailwind.
Learn how to build a very basic todo application using Laravel 8 and Tailwind.
Learn how to create a live chat using Django and Channels. Plus how to authenticate users.