A Django-based web application created for educational purposes, showcasing best practices in Django development and testing using pytest
and pytest-django
. This project is ideal for developers looking to learn or improve their skills in building and testing Django applications.
- Django Framework: Implements a robust and scalable web application using Django.
- Testing Integration: Comprehensive test suite leveraging
pytest
andpytest-django
for unit and integration testing. - Educational Focus: Designed to demonstrate practical examples of Django development and testing workflows.
Follow these steps to set up the project locally:
-
Clone the Repository:
git clone https://github.com/your-username/pytest_udemy_django.git cd pytest_udemy_django
-
Set Up the Environment: Install dependencies using
pipenv
:pip install pipenv pipenv install --default
-
Apply Database Migrations:
pipenv run python manage.py migrate
-
Run the Development Server:
pipenv run python manage.py runserver
- Access the application in your browser at
http://127.0.0.1:8000/
. - Explore the features and functionality provided by the application.
Run the test suite to ensure everything is working as expected:
pipenv run pytest
Contributions are welcome! Feel free to fork the repository, make changes, and submit a pull request.
This project is licensed under the MIT License. See the LICENSE
file for details.