This is a simple django project which shows how to add email subscription to a website using django and ajax.
I wrote an article about how I accomplished this, you can read it here
- django
- ajax
- sendgrid
Clone/download the repository to your computer. In the project folder, create and actiavat the virtual environment then install the requirements using this command
pip install -r requirements.txt
Make migrations, to creat the tables in your database
python manage.py makemigrations && python manage.py migrate
Optionally you can create a superuser
python manage.py createsuperuser
Start the development server
python manage.py runserver