Programming/Django: Difference between revisions

From Dev Wiki
Jump to navigation Jump to search
m (Brodriguez moved page Django to Programming/Django)
(Rework page to actually be useful)
Line 1: Line 1:
[[Django/Production]]
[https://docs.djangoproject.com/en/dev/ Django] is a [[Programming/Python | Python]]-based web framework.
 
It's the equivalent to [https://laravel.com/ Php's Laravel].
 
 
== Useful References ==
 
* [[Django/Production]]
 
 
== Recommended Packages ==
 
See also {{ todo | Add link to recommended Python packages. Also create page/section for such. }}
 
=== Personally Curated ===
 
[https://django-dump-die.readthedocs.io/en/latest/ Django DumpDie (Django DD)]
django-dump-die                # Dump-and-die debugging tool.
 
 
[https://django-expanded-test-cases.readthedocs.io/en/latest/ Django Expanded Test Cases (Django ETC)]
django-expanded-test-cases      # Utilities for easier testing.
 
 
=== Database Connectors ===
 
[https://github.com/PyMySQL/mysqlclient "MySQL Client" MySQL Connector] - See also [[Programming/MySQL | MySQL]]
mysqlclient                    # Allows connecting to MySQL databases.
 
 
[https://www.psycopg.org/docs/ "Psycopg2 Binary" PostgreSQL Connector] - See also [[Programming/PostgreSQL | PostgreSQL]]
psycopg2-binary                # Allows connecting to PostgreSQL databases.
 
 
=== Websockets, Asyncronous Communication, & APIs ===
 
[https://channels.readthedocs.io/en/stable/ Django Channels]
channels                        # Allows using websockets for client-server communication.
channels-redis                  # Supplementary for channels package.
 
 
[https://www.django-rest-framework.org/ Django Rest Framework]
djangorestframework            # Allows easy creation of standardized and secure API calls.
 
 
=== Utility & Other ===
 
[https://django-debug-toolbar.readthedocs.io/en/latest/ Django Debug Toolbar]
django-debug-toolbar            # Displays helpful debug-toolbar on side of browser window, after page load.
 
 
[https://django-localflavor.readthedocs.io/en/latest/ Django LocalFlavor]
django-localflavor              # Support for locality handling, such as national states/regions.
 
 
[https://github.com/spulec/freezegun Freeze Gun] - Allows for date/time-sensitive testing in cases that would otherwise be difficult to thoroughly test.
freezegun                      # Allows "freezing" tests to specific datetimes, for consistent checking and output.

Revision as of 04:02, 12 November 2022

Django is a Python-based web framework.

It's the equivalent to Php's Laravel.


Useful References


Recommended Packages

See also

ToDo: Add link to recommended Python packages. Also create page/section for such.

Personally Curated

Django DumpDie (Django DD)

django-dump-die                 # Dump-and-die debugging tool.


Django Expanded Test Cases (Django ETC)

django-expanded-test-cases      # Utilities for easier testing.


Database Connectors

"MySQL Client" MySQL Connector - See also MySQL

mysqlclient                     # Allows connecting to MySQL databases.


"Psycopg2 Binary" PostgreSQL Connector - See also PostgreSQL

psycopg2-binary                 # Allows connecting to PostgreSQL databases.


Websockets, Asyncronous Communication, & APIs

Django Channels

channels                        # Allows using websockets for client-server communication.
channels-redis                  # Supplementary for channels package.


Django Rest Framework

djangorestframework             # Allows easy creation of standardized and secure API calls.


Utility & Other

Django Debug Toolbar

django-debug-toolbar            # Displays helpful debug-toolbar on side of browser window, after page load.


Django LocalFlavor

django-localflavor              # Support for locality handling, such as national states/regions.


Freeze Gun - Allows for date/time-sensitive testing in cases that would otherwise be difficult to thoroughly test.

freezegun                       # Allows "freezing" tests to specific datetimes, for consistent checking and output.