This is Blog website created in Django
This is a simple project to practice Django. The idea was to create some basic blogging platforms.
It was built using Python 3.6 + Django and the database is SQLite. Bootstrap 5 was used for styling.
It includes a login and registration functionality.
The user has his own blog page, where he can add new blog posts and new categories. Can comment on each of the posts
Each authenticated user can like and dislike posts made by other users.
It is very easy to use
- Font Hand user interface for Add Blog Posts and Categories
- Add new features easily
- Add new style easily and replace old style (style.css)
-
Install requirements
1.1 Python 3.6 above versions 1.2 Django 3.1 above versions 1.3 Pillow 1.4 Django-ckeditor
-
Default You can run the application from the command line with manage.py. Go to the root folder of the application.
Run migrations:
python manage.py migrate
python manage.py runserver 8000
. Default superUser is create
. Default Username ==> admin
. Default Password ==> admin
. Default Email address ==> [email protected]
It is possible to add an additional admin user who can login to the admin site. Run the following command:
python manage.py createsuperuser
Enter your choice username and press Enter
Username: admin_username
You will then be prompted for your email address:
Email address: [email protected]
The final step is to enter your desired password. You will be asked to enter your password twice, the second time as a confirmation of the first.
Password: **********
Password (again): *********
Superuser created successfully.
Go to the browser and visit http://localhost:8000/admin