Django Package which enable Gmail API to send email inside your project
Project description
Django Google Mailer
Development
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
django-google-mailer-0.2.1.tar.gz
(10.9 MB
view hashes)
Built Distribution
Close
Hashes for django-google-mailer-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54234711cd5bc3e17aa13142a899af79cc4aaf206a64b64f870fc72725fa4398 |
|
MD5 | d65366c5e015d8c7f984d7fcaaa46908 |
|
BLAKE2b-256 | 38350cc9b6a1ac33bec277b74c5840603966bb05a5b70372d4d75647b523285e |
Close
Hashes for django_google_mailer-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82add8bc86675a8c6721f4e87711b6fc6bbc875e5eadfaab300831c8c7419a08 |
|
MD5 | 221d3db98f0f21ac509445dcec282ceb |
|
BLAKE2b-256 | 7b78b9530e47df9187c8b110350c3cb8cebe0602d70a51cd615ba2762afb9349 |