Welcome to the Django Calculator app! This simple calculator application is built using Django, allowing you to perform basic arithmetic operations right from your web browser.
- Addition: Add two numbers together.
- Subtraction: Subtract one number from another.
- Multiplication: Multiply two numbers.
- Division: Divide one number by another.
-
Clone the repository:
git clone https://github.com/kirubel-web/calculator-django.git ```
-
Navigate to the project directory:
cd calculator-django ```
-
Create and activate a virtual environment (optional but recommended):
python3 -m venv env source env/bin/activate ```
-
Run database migrations:
python manage.py migrate ```
-
Start the development server:
python manage.py runserver ```
-
Open your web browser and visit
http://localhost:8000
to access the calculator app.
- Enter the first number in the input field labeled "Number 1".
- Enter the second number in the input field labeled "Number 2".
- Select the desired operation by clicking on the corresponding button.
- The result will be displayed on the "Result" page.
Contributions are welcome! If you find any issues or have suggestions to improve the calculator app, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.
Enjoy calculating with the Django Calculator app!