A Django-based web application that helps users manage their wardrobe and get personalized outfit recommendations.
- User Authentication: Sign up and sign in functionality
- Wardrobe Management: Add, view, and delete clothing items with images
- Outfit Recommendations: Get suggestions based on occasions (office, party, casual, custom)
- User Profiles: Store user preferences and information
- Feedback System: Users can provide feedback to improve the system
- Donation Feature: Contact system for donating clothes
- Python 3.8 or higher
- pip (Python package installer)
-
Navigate to the project directory:
cd "<path>"
-
Install required packages:
pip install -r requirements.txt
-
Run database migrations:
python manage.py makemigrations python manage.py migrate
-
Create a superuser (for admin access):
python manage.py createsuperuser
Follow the prompts to create an admin account.
-
Run the development server:
python manage.py runserver
-
Access the application:
- Main application: http://127.0.0.1:8000/
- Admin panel: http://127.0.0.1:8000/admin/
myproject/
├── manage.py # Django management script
├── db.sqlite3 # SQLite database
├── requirements.txt # Python dependencies
├── media/ # User uploaded images
├── myproject/ # Main project settings
│ ├── settings.py # Django settings
│ ├── urls.py # Main URL configuration
│ └── wsgi.py # WSGI configuration
└── stylesense/ # Main application
├── models.py # Database models
├── views.py # View functions
├── urls.py # App URL patterns
├── admin.py # Admin configuration
├── static/ # Static files
│ └── stylesense/
│ ├── style.css # Stylesheets
│ └── script.js # JavaScript
├── templates/ # HTML templates
│ └── stylesense/
│ └── index.html # Main template
└── migrations/ # Database migrations
- Sign Up: Create a new account with your details
- Sign In: Log in with your credentials
- Add Clothes: Upload pictures of your clothing items by category
- View Wardrobe: Browse all your stored clothing items
- Get Recommendations: Select an occasion to get outfit suggestions
- Provide Feedback: Share your experience to help improve the system
- Access the admin panel at http://127.0.0.1:8000/admin/
- Log in with superuser credentials
- Manage users, wardrobe items, and feedback
GET /- Home pagePOST /signup/- User registrationPOST /signin/- User loginGET /signout/- User logoutPOST /wardrobe/add/- Add clothing itemGET /wardrobe/view/- View wardrobe itemsPOST /wardrobe/delete/- Delete clothing itemPOST /feedback/- Submit feedback
- user (OneToOne with Django User)
- age
- gender
- location
- country
- preference
- user_profile (ForeignKey)
- category
- description
- image
- user_profile (ForeignKey)
- text
- submitted_at
Issue: Static files not loading
- Run:
python manage.py collectstatic
Issue: Image upload not working
- Ensure the
media/directory exists and has write permissions - Check that
MEDIA_ROOTandMEDIA_URLare properly configured in settings
Issue: Database errors
- Delete
db.sqlite3and run migrations again - Ensure all migrations are applied:
python manage.py migrate
- AI-powered outfit recommendations using machine learning
- Weather-based suggestions
- Social sharing features
- Shopping integration
- Advanced filtering and search
For questions or support, contact: stylesenseai@gmail.com
This is a mini project for educational purposes.