Programming FlashCards

Explore our curated collection of programming flashcards. Each card contains practical examples and code snippets to help you master programming concepts quickly.

Filter by Technology

Django Models programming concept visualization
Django

Django Models

Django models are Python classes that define the structure of your database. Each model corresponds to a table in the database, and each attribute of the model represents a field in that table. Use models to create, retrieve, update, and delete records in your database with ease.

Model Fields programming concept visualization
Django

Model Fields

Django models define the structure of your database. Each field in a model corresponds to a column in the database table. You can specify various field types such as CharField, IntegerField, and DateField to suit your data requirements.

Django Signals programming concept visualization
Django

Django Signals

Django signals allow certain senders to notify a set of receivers when some action has taken place. This is useful for decoupling applications and allowing different parts of your application to communicate.

Django Middleware programming concept visualization
Django

Django Middleware

Middleware in Django is a framework of hooks into Django's request/response processing. It’s a way to process requests globally before they reach the view or after the view has processed them.

Django ORM programming concept visualization
Django

Django ORM

Django's Object-Relational Mapping (ORM) allows developers to interact with databases using Python code instead of SQL. It abstracts the database interactions, enabling easy data retrieval, insertion, and manipulation through model classes.

Django QuerySet programming concept visualization
Django

Django QuerySet

A QuerySet in Django is a collection of database queries that can be filtered, ordered, and manipulated. It allows developers to retrieve data from the database using a high-level Pythonic interface.

Django JsonResponse programming concept visualization
Django

Django JsonResponse

The JsonResponse class in Django is used to return JSON-encoded data. It is a subclass of HttpResponse and automatically sets the content type to application/json. This is particularly useful for APIs.

Django Views programming concept visualization
Django

Django Views

In Django, views are Python functions or classes that receive web requests and return web responses. They handle the logic for processing requests and rendering responses, allowing developers to create dynamic web applications.

Template Filters programming concept visualization
Django

Template Filters

Django template filters are used to modify variables for display. They can be applied to variables in templates to format data, such as changing text to uppercase or formatting dates.

Template Inheritance programming concept visualization
Django

Template Inheritance

Django's template inheritance allows you to define a base template that other templates can extend. This promotes reusability and cleaner code by allowing child templates to override specific blocks defined in the parent template.

Django Database Migrations programming concept visualization
Django

Django Database Migrations

Understand how to create, apply, and manage database schema changes using Django's migration system with makemigrations and migrate commands

Django Model Relationships programming concept visualization
Django

Django Model Relationships

Learn how to define different types of database relationships between Django models using ForeignKey, OneToOneField, and ManyToManyField.

Django URL Reverse programming concept visualization
Django

Django URL Reverse

Use reverse() to dynamically generate URLs by name, allowing flexible URL routing without hardcoding paths in views or templates.

Django FileResponse programming concept visualization
Django

Django FileResponse

A specialized HTTP response for serving file content efficiently, automatically setting appropriate headers for file downloads.

Django DetailView programming concept visualization
Django

Django DetailView

A generic view that displays details of a single object retrieved from a model, typically used to show specific item information based on a primary key or slug

Django ListView programming concept visualization
Django

Django ListView

A class-based view that displays a list of objects, automatically handling pagination and rendering a template with object list context.

SchemaEditor Rename programming concept visualization
Django

SchemaEditor Rename

Demonstrates how to use SchemaEditor to rename database table or column programmatically during Django migrations.

Django SchemaEditor programming concept visualization
Django

Django SchemaEditor

SchemaEditor is a Django database abstraction class that allows programmatic database schema modifications across different database backends.

Django Middleware Chain programming concept visualization
Django

Django Middleware Chain

Explore how Django's middleware processes requests and responses sequentially, allowing global transformations and cross-cutting concerns before reaching the view.

Django HttpRequest programming concept visualization
Django

Django HttpRequest

Learn how to access request data and method in Django views, including retrieving GET/POST parameters and checking request type.

Previous Page 1 of 1 Next