Дайджест Python: итоги 2022 года, обзор версии 3.11 и курсы от Google
Дайджест интересных статей о Python: что нового в версии 3.11, гайды по программированию на Python и обучающие статьи.
Читать: «Дайджест Python: итоги 2022 года, обзор версии 3.11 и курсы от Google»
Дайджест интересных статей о Python: что нового в версии 3.11, гайды по программированию на Python и обучающие статьи.
Читать: «Дайджест Python: итоги 2022 года, обзор версии 3.11 и курсы от Google»
👍1🔥1🌚1
Understanding Models in Django
Django is a popular web framework for building web applications in Python. One of the key features of Django is its support for models, which allow developers to define the structure of the data that their applications will work with. In this blog po...
Read: https://nileshdarji.hashnode.dev/understanding-models-in-django
Django is a popular web framework for building web applications in Python. One of the key features of Django is its support for models, which allow developers to define the structure of the data that their applications will work with. In this blog po...
Read: https://nileshdarji.hashnode.dev/understanding-models-in-django
Testing and Modules
What are Unit tests and TDD?
Unit tests:
Unit tests are some pieces of code that exercise the input, the output, and the behavior of your code.
TDD tests:
Test-Driven Development is a strategy that entails first thinking about (and writing!) tests.
...
Read: https://sarahthedeveloper.hashnode.dev/testing-and-modules
What are Unit tests and TDD?
Unit tests:
Unit tests are some pieces of code that exercise the input, the output, and the behavior of your code.
TDD tests:
Test-Driven Development is a strategy that entails first thinking about (and writing!) tests.
...
Read: https://sarahthedeveloper.hashnode.dev/testing-and-modules
Django Channels - Building Real-time Web Applications with Django
Django is a widely used web framework for building web applications with Python. However, it's built mainly for synchronously handling HTTP requests and responses. With the rise of real-time web applications such as online multiplayer games, chat app...
Read: https://sarahthedeveloper.hashnode.dev/building-real-time-web-applications-with-django
Django is a widely used web framework for building web applications with Python. However, it's built mainly for synchronously handling HTTP requests and responses. With the rise of real-time web applications such as online multiplayer games, chat app...
Read: https://sarahthedeveloper.hashnode.dev/building-real-time-web-applications-with-django
Getting Started With Django Web Sockets: A Step-by-Step Guide
What Are Django Web Sockets?
Django Web Sockets are a Django-specific implementation of web sockets that make it easier for developers to build web applications with real-time features. By leveraging the WebSocket protocol, developers can create inte...
Read: https://sense.hashnode.dev/getting-started-with-django-web-sockets-a-step-by-step-guide
What Are Django Web Sockets?
Django Web Sockets are a Django-specific implementation of web sockets that make it easier for developers to build web applications with real-time features. By leveraging the WebSocket protocol, developers can create inte...
Read: https://sense.hashnode.dev/getting-started-with-django-web-sockets-a-step-by-step-guide
Launching my E-book on Django Signals Demystified: A Step-by-Step Guide to Event-Driven Programming
Are you tired of tightly coupled code and struggling to keep track of events in your Django application? Look no further! Our new e-book, "Django Signals Demystified: A Step-by-Step Guide to Event-Driven Programming" is here to help you master the po...
Read: https://blog.devjunction.in/launching-my-e-book-on-django-signals-demystified-a-step-by-step-guide-to-event-driven-programming
Are you tired of tightly coupled code and struggling to keep track of events in your Django application? Look no further! Our new e-book, "Django Signals Demystified: A Step-by-Step Guide to Event-Driven Programming" is here to help you master the po...
Read: https://blog.devjunction.in/launching-my-e-book-on-django-signals-demystified-a-step-by-step-guide-to-event-driven-programming
Wagtail finding url name for submitting new translation
We're adding Translations tab to the wagtail admin edit pages. Something like this:-
And if there's no translation yet, add link for creating new translation like this:-
So I was scouring wagtail github repo looking for the url name to be used in t...
Read: https://grep.koditi.my/wagtail-finding-url-name-for-submitting-new-translation
We're adding Translations tab to the wagtail admin edit pages. Something like this:-
And if there's no translation yet, add link for creating new translation like this:-
So I was scouring wagtail github repo looking for the url name to be used in t...
Read: https://grep.koditi.my/wagtail-finding-url-name-for-submitting-new-translation
A layer over Django Channels to push model updates through websockets
Read: https://pythonawesome.com/a-layer-over-django-channels-to-push-model-updates-through-websockets/
Read: https://pythonawesome.com/a-layer-over-django-channels-to-push-model-updates-through-websockets/
Python Awesome
A layer over Django Channels to push model updates through websockets
Django Websockets Framework Django Websockets Framework (DWF) is a layer over Django Channels aimed to make it as simple as possible to broadcast changes in Django models to browsers through websockets, with minimal latency. It’s been tested in production…
Django Unleashed Framework
Photo
Django 4.2 alpha 1 released
Django 4.2 alpha 1 is now available. It represents the first stage in the 4.2
release cycle and is an opportunity for you to try out the changes coming in
Django 4.2.
Django 4.2 has a farrago of new features which you can read about in the
in-development 4.2 release notes.
This alpha milestone marks the feature freeze. The current release schedule
calls for a beta release in about a month and a release candidate about a month
from then. We'll only be able to keep this schedule if we get early and often
testing from the community. Updates on the release schedule are available on
the Django forum.
As with all alpha and beta packages, this is not for production use. But
if you'd like to take some of the new features for a spin, or to help find and
fix bugs (which should be reported to the issue tracker), you can grab a
copy of the alpha package from our downloads page or on PyPI.
The PGP key ID used for this release is Mariusz Felisiak: 2EF56372BA48CD1B.
Read: https://www.djangoproject.com/weblog/2023/jan/17/django-42-alpha-1-released/
Django 4.2 alpha 1 is now available. It represents the first stage in the 4.2
release cycle and is an opportunity for you to try out the changes coming in
Django 4.2.
Django 4.2 has a farrago of new features which you can read about in the
in-development 4.2 release notes.
This alpha milestone marks the feature freeze. The current release schedule
calls for a beta release in about a month and a release candidate about a month
from then. We'll only be able to keep this schedule if we get early and often
testing from the community. Updates on the release schedule are available on
the Django forum.
As with all alpha and beta packages, this is not for production use. But
if you'd like to take some of the new features for a spin, or to help find and
fix bugs (which should be reported to the issue tracker), you can grab a
copy of the alpha package from our downloads page or on PyPI.
The PGP key ID used for this release is Mariusz Felisiak: 2EF56372BA48CD1B.
Read: https://www.djangoproject.com/weblog/2023/jan/17/django-42-alpha-1-released/
Models in Django
One of the key features of Django is it use of models, which are used to represent the data in a Django application. Now before we move, this is a continuation of my Django Basics series, you can read them here
What are Models
Models in Django are de...
Read: https://akolade.hashnode.dev/models-in-django
One of the key features of Django is it use of models, which are used to represent the data in a Django application. Now before we move, this is a continuation of my Django Basics series, you can read them here
What are Models
Models in Django are de...
Read: https://akolade.hashnode.dev/models-in-django
Getting Started With PostgreSQL and Django: A Comprehensive Guide
What Are PostgreSQL and Django?
PostgreSQL is a powerful, open-source database management system (DBMS). It is commonly used in the production environments of large organizations such as banks, telecommunications companies, and governments. Django is...
Read: https://sense.hashnode.dev/getting-started-with-postgresql-and-django-a-comprehensive-guide
What Are PostgreSQL and Django?
PostgreSQL is a powerful, open-source database management system (DBMS). It is commonly used in the production environments of large organizations such as banks, telecommunications companies, and governments. Django is...
Read: https://sense.hashnode.dev/getting-started-with-postgresql-and-django-a-comprehensive-guide
❤🔥1
Using django-environ to Create Environment Variables in Django Project
To prevent exposing your sensitive data when sharing your code, environment variables are useful to save the data (either on your local machine or your production server) which your project depends on. In this article, we would learn how to use djang...
Read: https://thecodingprocess.hashnode.dev/using-django-environ-to-create-environment-variables-in-django-project
To prevent exposing your sensitive data when sharing your code, environment variables are useful to save the data (either on your local machine or your production server) which your project depends on. In this article, we would learn how to use djang...
Read: https://thecodingprocess.hashnode.dev/using-django-environ-to-create-environment-variables-in-django-project
Introduction à python (partie 1)
Python est l'un des langages de programmation les plus populaires. Depuis des années, il occupe la première place dans le classement de langage de programmation les plus utilisés dans le monde entier.
Python est souvent caractérisé par sa facilité d'...
Read: https://lushidev.hashnode.dev/introduction-a-python-partie-1
Python est l'un des langages de programmation les plus populaires. Depuis des années, il occupe la première place dans le classement de langage de programmation les plus utilisés dans le monde entier.
Python est souvent caractérisé par sa facilité d'...
Read: https://lushidev.hashnode.dev/introduction-a-python-partie-1
how to set up and env variable in django
Environmental variables are a way to store and pass information between processes on a computer. They are commonly used to configure applications, including web frameworks such as Django.
In Django, environmental variables can be used to set up secre...
Read: https://gwill.hashnode.dev/how-to-set-up-and-env-variable-in-django
Environmental variables are a way to store and pass information between processes on a computer. They are commonly used to configure applications, including web frameworks such as Django.
In Django, environmental variables can be used to set up secre...
Read: https://gwill.hashnode.dev/how-to-set-up-and-env-variable-in-django
Django Key (id)=(244584) already exists, Django unique constraint primary key
Replace stock_price with the table name on which you got the unique constraint issues.
SELECT MAX(id) FROM stock_price;
ALTER SEQUENCE stock_price_id_seq START WITH 245000;
ALTER SEQUENCE stock_price_id_seq RESTART;
Read: https://rajeshpudasaini.com.np/django-key-id244584-already-exists-django-unique-constraint-primary-key
Replace stock_price with the table name on which you got the unique constraint issues.
SELECT MAX(id) FROM stock_price;
ALTER SEQUENCE stock_price_id_seq START WITH 245000;
ALTER SEQUENCE stock_price_id_seq RESTART;
Read: https://rajeshpudasaini.com.np/django-key-id244584-already-exists-django-unique-constraint-primary-key
What is the Django Learning Web Development Roadmap?
Introduction to Django
Django is a high-level Python web framework that enables the rapid development of secure, scalable, and maintainable web applications. It is based on the Model-View-Controller (MVC) architectural pattern and is one of the most ...
Read: https://sense.hashnode.dev/what-is-the-django-learning-web-development-roadmap
Introduction to Django
Django is a high-level Python web framework that enables the rapid development of secure, scalable, and maintainable web applications. It is based on the Model-View-Controller (MVC) architectural pattern and is one of the most ...
Read: https://sense.hashnode.dev/what-is-the-django-learning-web-development-roadmap
How to set up an env variable in django
Environmental variables are a way to store and pass information between processes on a computer. They are commonly used to configure applications, including web frameworks such as Django.
In Django, environmental variables can be used to set up secre...
Read: https://gwill.hashnode.dev/how-to-set-up-an-env-variable-in-django
Environmental variables are a way to store and pass information between processes on a computer. They are commonly used to configure applications, including web frameworks such as Django.
In Django, environmental variables can be used to set up secre...
Read: https://gwill.hashnode.dev/how-to-set-up-an-env-variable-in-django
Bulk Actions in Table with Django, htmx, and AlpineJS
When it comes to displaying large amounts of data in a tabular format, tables are often the go-to choice for developers. However, traditional tables can be limiting in their functionality, especially when it comes to performing actions on multiple ro...
Read: https://enzircle.com/bulk-actions-in-table-with-django-htmx-and-alpinejs
When it comes to displaying large amounts of data in a tabular format, tables are often the go-to choice for developers. However, traditional tables can be limiting in their functionality, especially when it comes to performing actions on multiple ro...
Read: https://enzircle.com/bulk-actions-in-table-with-django-htmx-and-alpinejs