Django Package which enable Gmail API to send email inside your project
Project description
Django Google Mailer
make venv
. venv/bin/activate
make setup
make run
Testing
django-admin startproject mysite && cd mysite
python3 -m venv venv && . venv/bin/activate
pip install django
pip install ../django-google-mailer/dist/django-google-mailer-0.1.tar.gz
echo "INSTALLED_APPS += ['gmailer',]" >> mysite/settings.py
echo "GMAIL_SECRET = 'google_client_secret.json'" >> mysite/settings.py
echo "GMAIL_SCOPES = ['https://www.googleapis.com/auth/gmail.metadata','https://www.googleapis.com/auth/gmail.send',]" >> mysite/settings.py
echo "GMAIL_REDIRECT = 'http://localhost:8000/gmailer/verify'" >> mysite/settings.py
echo "from django.urls import include" >> mysite/urls.py
echo "urlpatterns += [path('gmailer/', include('gmailer.urls')),]" >> mysite/urls.py
python manage.py makemigrations && python manage.py migrate
python manage.py runserver localhost:8000
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-google-mailer-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 258f92b727c7c417ff4a0d324bf21bd957a0dcb3d924c924820dff96f59ee822 |
|
MD5 | a28a7efc2ee1c6114f60e29a9c50b06d |
|
BLAKE2b-256 | 31af0e341d3e57a6b813b3e8eba6aea7fcd1d3ee8764cafb5dce4625159e9e91 |
Close
Hashes for django_google_mailer-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 500ee6f7af654cfaea34319a955a727943cd6a901683a01bb22a721d10b4ba27 |
|
MD5 | c9be68efa28921e26667ff0b9b71f075 |
|
BLAKE2b-256 | 08ef7e512fb4220928ae1a18c2b6f38358d48927d45c7ff31b0129019f8da76e |