Programming/Django

From Dev Wiki
< Programming
Revision as of 07:26, 12 November 2022 by Brodriguez (talk | contribs) (Add more references)
Jump to navigation Jump to search

Django is a Python-based web framework.

It's the equivalent to Php's Laravel.


Useful References


Related Packages and Libraries

See also Python Packages and Libraries .


Personally Curated

Django DumpDie (Django DD) - Mostly stable.

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


Django Expanded Test Cases (Django ETC) - WIP, but basic integration tests are stable at this point.

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.


Testing Tools

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.


[Selenium] - For launching browser instances to test actual site page loads. selenium # Support for running UnitTests that directly simulate browser usage.


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.