A simple Django web application for lost and found items.
First, create and activate a virtual environment:
python -m venv env
./env/Scripts/activate
Ensure you have Django 5.1.6 installed:
pip install django==5.1.6
cd lostfound
python manage.py migrate
python manage.py runserver
Now, open your browser and visit http://127.0.0.1:8000/ to access the application.
Features Users can create, view, and track lost & found items. Admin panel for managing categories and items. Contact the item owner via Telegram. Project Structure bash Copy Edit lostfound/ │── lostfound/ # Main Django project settings │── lost/ # Lost & Found application │ │── static/lost/ # Static files (logo, styles) │ │── templates/lost/ # HTML templates │ │── views.py # Application views (CRUD operations) │ │── models.py # Database models │ │── forms.py # Django forms │ │── urls.py # URL routing │── manage.py # Django command-line utility
To access the Django admin panel, create a superuser:
python manage.py createsuperuser
Then login at http://127.0.0.1:8000/admin/.