Django blog is a beginner friendly blog application. This project illustrate Django Class Based views, How to use django models with custom model manager, how to use custom template tags, django Forms and model form, how to send mail with django, how to add rss syndication, and generate sitemap and unit test for model, view, form and template tags and also how to seed database with Factory Boy, Faker and management commands.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
open terminal and type git clone https://github.com/devmahmud/DjangoBlog.git https://github.com/devmahmud/DjangoBlog.git Create a virtual environment and active it and install requirements type: pip install -r requirements.txt In this project i have used postgres as a database, change db information in settings with your database information
python manage.py makemigrations python manage.py migrate python manage.py collectstatic python manage.py createsuperuser python manage.py seed --posts number_of_post example: python manage.py seed --posts 50 EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'smtp.gmail.com' EMAIL_PORT = 587 EMAIL_USE_TLS = True EMAIL_HOST_USER = 'your email' EMAIL_HOST_PASSWORD = 'your email password' python manage.py runserver Then go to http://127.0.0.1:8000 in your browser python manage.py test python manage.py test && flake8 or you can simple run flake8
Mahmudul alam Email: expelmahmud@gmail.com 


