This project is based on the Django documentation tutorial for beginners, focusing on building a polling web application. It guides users through the process of setting up a Django project and creating a simple app where users can view and vote on polls.
- User authentication
- Creating, viewing, and voting on polls
- Admin interface for managing polls
- Clone the repository to your local machine:
git clone https://github.com/khaeyMensah/Django-pollingApp-tutorial.git
- Navigate to the project directory:
cd Django-pollingApp-tutorial
- Install the project dependencies:
pip install -r requirements.txt
- Apply database migrations:
python manage.py migrate
- Run the development server:
python manage.py runserver
- Access the application at http://localhost:8000 in your web browser.
Once the project is set up, you can:
- Create a superuser to access the admin interface:
python manage.py createsuperuser
- Log in to the admin interface at http://localhost:8000/admin to manage polls.
- Interact with the polling app by creating, viewing, and voting on polls.
Contributions to this project are welcome! If you'd like to contribute, please fork the repository and submit a pull request with your changes.
- Django Documentation: https://docs.djangoproject.com/en/stable/intro/tutorial01/
- Open-source contributors to Django and related libraries