This repository contains a simple question-answer Django admin app that uses SQLite as the database.
- Django 🐍 - A high-level Python web framework.
- SQLite 📁 - A lightweight, file-based relational database management system.
- HTML/CSS 🎨 - Front-end technologies for creating user interfaces.
- Allows administrators to add, edit, and delete questions and answers.
- Questions and answers are stored in an SQLite database.
- The app provides a user-friendly web interface powered by Django's admin site.
-
Clone the repository:
git clone https://github.com/Muhammad-Bilal-7896/Technical-Test.git
-
Create and activate a virtual environment:
python3 -m django-env env source env/bin/activate
-
Install the required dependencies:
pip install -r requirements.txt
-
Set up the SQLite database:
python manage.py migrate
-
Start the development server:
python manage.py runserver
-
Open your web browser and navigate to http://localhost:8000/admin/.
-
Log in with your superuser account or create one using the following command:
python manage.py runserver
-
Once logged in, you can perform the following actions through the Django admin interface:
- Add questions and answers by clicking on the "Questions" or "Answers" section.
- Edit existing questions and answers.
- Delete questions and answers.
Contributions are welcome! If you find any issues or have suggestions for improvements, please create a new issue or submit a pull request.
This project is licensed under the MIT License.