Skip to main content

Backend base package based of some django modules

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

backend-base-0.1.3.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

backend_base-0.1.3-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

Details for the file backend-base-0.1.3.tar.gz.

File metadata

  • Download URL: backend-base-0.1.3.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.5

File hashes

Hashes for backend-base-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e5c63f425c0d3c791992b4a05cfd2f143397c638e5895566f6440cd92ab3bb79
MD5 a137885a699b88e689910cf3800372c5
BLAKE2b-256 7d2ab8597f6512fadcc46ba8333f749da47259cd4ed815454535e147a340576d

See more details on using hashes here.

File details

Details for the file backend_base-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for backend_base-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4f7b16af7428a13ca8366dccebbc5dc0f52487860904921240479a3a4481c73b
MD5 13b1b6191039fd1c5a48986035f5d5c4
BLAKE2b-256 4b9eca66f8b85ee97d4382ea9207aa1919a6fb154e149cc391fdf336c53b242d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page