Backend Base
Allows you to implement basic backend functionality for your application. Based on the Django Framework. It contains the followings packages of the Django Framework:
Disclaimer: This project is not affiliated with the Django Framework. This package contains code extracted from the Django framework, with the purpose of using certain functionality in other projects that do not have to do with django. The code has certain modifications but in theory it is based on the django structure
Usage in your project
Configuration
You need to define the following environment variables:
SETTINGS_MODULE_ENVIRONMENT_VARIABLE(default:config.settigs): The environment variable that contains the path to the settings module of your project
Environment variables
The following environment variables are used:
| Name | Default Value | Overwrite required | Description | Reference |
|---|---|---|---|---|
SETTINGS_MODULE_ENVIRONMENT_VARIABLE |
config.settings |
Yes | The path to the settings module of your project | Django Documentation |
EMAIL_BACKEND |
backend_base.mail.backends.smtp.EmailBackend |
Yes | The email backend to use (Replace django for backend_base) |
Django Documentation |
EMAIL_HOST |
localhost |
Yes | The host to use for sending email. | Django Documentation |
EMAIL_PORT |
25 |
Yes | The port to use for the SMTP server specified in EMAIL_HOST. | Django Documentation |
EMAIL_USE_LOCALTIME |
False |
No | Whether to use the local time when formatting dates in email messages. | Django Documentation |
EMAIL_HOST_USER |
'' |
Yes | Username to use for the SMTP server specified in EMAIL_HOST. | Django Documentation |
EMAIL_HOST_PASSWORD |
'' |
Yes | Password to use for the SMTP server specified in EMAIL_HOST. | Django Documentation |
EMAIL_USE_TLS |
False |
No | Whether to use a TLS (secure) connection when talking to the SMTP server. | Django Documentation |
EMAIL_USE_SSL |
False |
No | Whether to use an implicit TLS (secure) connection when talking to the SMTP server. | Django Documentation |
EMAIL_TIMEOUT |
None |
No | A timeout in seconds for blocking operations like the connection attempt. | Django Documentation |
EMAIL_SSL_KEYFILE |
None |
No | The filename of a private key file for use in SSL connections. | Django Documentation |
EMAIL_SSL_CERTFILE |
None |
No | The filename of a certificate file for use in SSL connections. | Django Documentation |
DEFAUL_CHARSET |
utf-8 |
No | The default character set to use for the email. | Django Documentation |
SERVER_EMAIL |
root@localhost |
No | The email address that error messages come from, such as those sent to ADMINS and MANAGERS. | Django Documentation |
Metadata
Release files for backend-base 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| backend-base-0.1.3.tar.gz | 21.2 kB | Without provenance | Details for backend-base-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| backend_base-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for backend_base-0.1.3-py3-none-any.whl |
Total release size: 46.6 kB
Release files / backend-base-0.1.3.tar.gz
| Download URL | backend-base-0.1.3.tar.gz |
|---|---|
| Size | 21.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5c63f425c0d3c791992b4a05cfd2f143397c638e5895566f6440cd92ab3bb79
|
|
BLAKE2b-256 checksum How to use checksums |
7d2ab8597f6512fadcc46ba8333f749da47259cd4ed815454535e147a340576d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.5
|
Release files / backend_base-0.1.3-py3-none-any.whl
| Download URL | backend_base-0.1.3-py3-none-any.whl |
|---|---|
| Size | 25.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f7b16af7428a13ca8366dccebbc5dc0f52487860904921240479a3a4481c73b
|
|
BLAKE2b-256 checksum How to use checksums |
4b9eca66f8b85ee97d4382ea9207aa1919a6fb154e149cc391fdf336c53b242d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.5
|
Security for backend-base 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.