Browsing Your Collection
Your main collection view displays all items with smart caching and pagination.Collection List View
The primary collection interface shows:Access Your Collection
Navigate to
/collection/items/ to see your complete collection. Items are displayed in a grid with:- Main photo (first photo from each item)
- Item name (auto-generated or custom)
- Club and season
- Key details (size, condition, player name)
View Options
The list view provides multiple viewing modes:
- Grid view - Visual cards with photos
- List view - Compact rows with details
- Feed view - Social media-style feed of recent additions
Optimized Performance
The collection list uses advanced optimization:- Reduces database queries from hundreds to ~3-5 per page
- Loads all related data in advance
- Significantly improves page load times
Collection pages are cached for 15 minutes. If you add or edit items and don’t see changes, the cache is automatically invalidated and refreshed.
Search Functionality
Search across all your items using multiple criteria.Basic Search
Access Search
Use the search bar at the top of your collection view. The search box accepts text queries.
Enter Search Terms
Type keywords to search:
- Club names - “Real Betis”, “Barcelona”
- Seasons - “2020-21”, “2023”
- Brands - “Adidas”, “Nike”, “Kappa”
- Player names - “Joaquin”, “Messi”
- Item names - Any part of the auto-generated or custom name
- Descriptions - Text from item descriptions
Search Scope
Searches query across multiple fields:| Field | Searchable | Example |
|---|---|---|
| Item Name | Yes | ”Real Betis Home 2020-21” |
| Club Name | Yes | ”Real Betis” |
| Brand Name | Yes | ”Kappa” |
| Season | Yes | ”2020-21” |
| Player Name | Yes | ”Joaquin” |
| Description | Yes | ”signed by player” |
| Kit Type | Yes | ”Home”, “Away”, “Third” |
| Competitions | Partial | Competition names |
| Tags | Yes | Custom tags |
Filtering Collections
Narrow down your collection using filters based on item attributes.Available Filters
Item Type Filter
Filter by item type:
- Jersey
- Shorts
- Outerwear
- Tracksuit
- Pants
- Other
Club Filter
Filter by club/team:
- Shows a list of all clubs in your collection
- Select one or multiple clubs
- Displays only items from selected clubs
Season Filter
Filter by season:
- Lists all seasons represented in your collection
- Select single or multiple seasons
- Useful for tracking items from specific eras
Brand Filter
Filter by manufacturer:
- Adidas, Nike, Puma, Kappa, Umbro, etc.
- Shows all brands in your collection
- View items by a specific manufacturer
Color Filter
Filter by color:
- Main Color - Primary jersey color
- Secondary Colors - Additional colors
Condition Filter
Filter by condition:
- Numeric range (1-10)
- Detailed condition: BNWT, BNWOT, Excellent, Very Good, Good, Fair, Poor
Combining Filters
Filters can be combined for precise searches: Example 1: Real Betis + 2020-21 + Signed- Shows all signed Real Betis items from 2020-21 season
- Shows all brand new with tags red Adidas jerseys
- Shows player version items with namesets in excellent condition
Database Indexes for Search Performance
FootyCollect uses optimized database indexes for fast searches:- Fast filtering by user, club, brand, season
- Quick item type filtering
- Efficient sorting by creation date
- Optimized privacy/draft queries
Advanced Search Tips
Using Item Type Queries
Query specific item types directly:Searching by Competition
Find items associated with specific competitions:Finding Items by Country
Search by country code:django-countries.
Color-Based Searches
Find items by color combinations:Design Pattern Searches
Filter by jersey design:Design patterns are stored as choices in
BaseItem.DESIGN_CHOICES. Custom designs can be added by extending this list.Feed View
The feed view provides a social media-style chronological display.Accessing the Feed
Navigate to/collection/feed/ to see:
- Recent additions to collections (yours and public)
- Items sorted by creation date
- Full item details including photos, descriptions, and metadata
- User profile information for each item
Feed Privacy
The feed respects privacy settings:- Your items - Always visible to you
- Public items - Visible to everyone
- Private items - Only visible to the owner
Custom Managers and Querysets
FootyCollect provides custom managers for common queries:BaseItem Manager
MTI Model Manager
For item types (Jersey, Shorts, etc.):base_item privacy and draft flags.
Collection Statistics
View statistics about your collection:- Total items - Count of all items
- By type - Breakdown of jerseys, shorts, etc.
- By club - Items per club/team
- By brand - Items per manufacturer
- By season - Items per season
- By condition - Distribution of conditions
Caching Strategy
Collection lists use intelligent caching:Cache Invalidation
The cache is invalidated when:- Items are created, updated, or deleted
- Photos are added, removed, or reordered
- Privacy settings change
- Draft status changes
If you have messages (notifications), caching is skipped to ensure messages display correctly. This prevents stale cache from hiding important notifications.
Search Performance Optimization
For large collections, FootyCollect implements several optimizations:- Database Indexes - Composite indexes on common query patterns
- Query Optimization - select_related and prefetch_related to minimize queries
- Caching - Page-level caching with intelligent invalidation
- Pagination - Limit results per page to reduce memory usage
- Lazy Loading - Load photos and related data only when needed
Next Steps
- Adding items - Add more items to search
- Privacy settings - Control search visibility
- Managing photos - Organize item photos