Anuncios Libros Cursos Categorías

How to use Django with Python: Create a simple listing view

14-07-2023 - Andrés Cruz

How to use Django with Python: Create a simple listing view

Django We are going to create a listing page of all the elements or records that we have in the MySQL database using Django.

Continuar leyendo


Pagination of tables (records) in Django using Bootstrap 4 or 5

14-07-2023 - Andrés Cruz

Pagination of tables (records) in Django using Bootstrap 4 or 5

Django We are going to know how we can create a paginated list of records with Django and Bootstrap 5 using the Paginator class that the framework itself offers us.

Continuar leyendo


Load views into files from URLs in Django

14-07-2023 - Andrés Cruz

Load views into files from URLs in Django

Django We are going to see two different ways that we have to load views in our application; using the include function and manually.

Continuar leyendo


Creating our first complete hello world example in Django

13-07-2023 - Andrés Cruz

Creating our first complete hello world example in Django

Django Let's create a simple example to see how the basic flow of a Django application works that in a nutshell the Hello World in Python web.

Continuar leyendo


Working with forms in Django, creating a record

13-07-2023 - Andrés Cruz

Working with forms in Django, creating a record

Django Learn how to process a form in Django and insert the validated data into the database.

Continuar leyendo


CRUD in Django, create detail page or show

13-07-2023 - Andrés Cruz

CRUD in Django, create detail page or show

Django We are going to generate a detail page or template to show the detail of a product in our application in Django, and you will learn how to create routes with parameters and the get_object_or_404 function.

Continuar leyendo


Create migrations for the database in Django 3

12-07-2023 - Andrés Cruz

Create migrations for the database in Django 3

Django Sabes como trabajar con los modelos de tus aplicaciones en conjunto con migraciones para administrar y definir tu base de datos en Django; es muy fácil y aquí hablamos de todo sobre las migraciones en Django.

Continuar leyendo


Websockets in Django using Django Channels, wsgi and asgi servers

12-07-2023 - Andrés Cruz

Websockets in Django using Django Channels, wsgi and asgi servers

Django In this video we talk about ASGI and WSGI servers in Django for synchronous and asynchronous apps (WebSockets).

Continuar leyendo


The __str__ method on models to print a text representation of the model/class

11-07-2023 - Andrés Cruz

The __str__ method on models to print a text representation of the model/class

Django We will see how to represent an object as a String in Django or Python when you print it in your template or through the console.

Continuar leyendo


Create an authentication backend for custom login in Django

11-07-2023 - Andrés Cruz

Create an authentication backend for custom login in Django

Django Let's see how we can create a custom login or backend for authentication in Django.

Continuar leyendo