This repository contains a Django project for managing posts and user authentication. I crafted a full-stack Django application for lost and found items, encompassing user profiles and posts. Users, equipped with the ability to create multiple posts, can seamlessly share images and location information. The user-friendly interface displays four posts per page, streamlining the lost-and-found experience with seamless image uploads and detailed information for efficient item recovery.
The project structure is organized as follows:
- django_project/: Main project directory.
- django_project/: Django project settings.
- urls.py: URL patterns for the project.
- blog/: Django app for managing posts.
- models.py: Defines the database models for posts.
- views.py: Contains views for rendering post-related pages.
- users/: Django app for user authentication.
- views.py: Contains views for user registration and profile management.
- media/: Directory for storing media files uploaded by users.
- django_project/: Django project settings.
- README.md: This file provides an overview of the project and instructions for setup and usage.
- User registration and authentication.
- Post management:
- Viewing posts.
- Creating posts.
- Updating posts.
- Deleting posts.
- User profile management:
- Updating user information.
- Uploading profile pictures.
-
Clone the repository:
git clone <repository_url>
-
Install 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.
- Register a new account or login with existing credentials.
- View, create, update, and delete posts from the dashboard.
- Manage your profile by updating user information and uploading profile pictures.
- venkatasai7
- mhv2408