{"id":36744157,"url":"https://github.com/gabeduke/django-gift-wiki","last_synced_at":"2026-01-12T12:31:16.496Z","repository":{"id":210334381,"uuid":"726302531","full_name":"gabeduke/django-gift-wiki","owner":"gabeduke","description":null,"archived":false,"fork":false,"pushed_at":"2025-12-30T00:06:09.000Z","size":7509,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-02T07:30:16.496Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gabeduke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-12-02T01:47:13.000Z","updated_at":"2025-12-30T00:06:15.000Z","dependencies_parsed_at":"2024-01-07T02:20:07.233Z","dependency_job_id":null,"html_url":"https://github.com/gabeduke/django-gift-wiki","commit_stats":null,"previous_names":["gabeduke/django-gift-wiki"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gabeduke/django-gift-wiki","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabeduke%2Fdjango-gift-wiki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabeduke%2Fdjango-gift-wiki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabeduke%2Fdjango-gift-wiki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabeduke%2Fdjango-gift-wiki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gabeduke","download_url":"https://codeload.github.com/gabeduke/django-gift-wiki/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabeduke%2Fdjango-gift-wiki/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-12T12:31:15.809Z","updated_at":"2026-01-12T12:31:16.490Z","avatar_url":"https://github.com/gabeduke.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django Gift Wiki\n\nA family-oriented gift wish list management application built with Django.\n\n## Features\n\n- 👨‍👩‍👧‍👦 Family-based organization\n- 🎁 Wish list creation and management\n- 📝 Item tracking with purchase status\n- 🎨 Family crest generation (optional, disabled by default)\n- 🔐 User authentication and profiles\n\n## Quick Start\n\n### Feature Flag Admin\n\n**NEW:** Manage feature flags from the admin interface!\n\n1. Visit http://localhost:8000/admin/\n2. Login with superuser credentials\n3. Look for **\"Feature Flags\"** in the Gift section\n4. Toggle features on/off with checkboxes - no server restart needed!\n\nSee `FEATURE_FLAG_ADMIN_README.md` for detailed instructions.\n\n## Quick Start (Standard)\n\n### Prerequisites\n- Python 3.10+\n- pipenv (install via `pip install pipenv`)\n\n### Setup\n\n1. **Clone the repository**\n   ```bash\n   cd django-gift-wiki\n   ```\n\n2. **Install dependencies**\n   ```bash\n   pipenv install\n   ```\n\n3. **Configure environment**\n   ```bash\n   cp env.example .env\n   # Edit .env with your settings\n   ```\n\n4. **Run migrations**\n   ```bash\n   pipenv run python manage.py migrate\n   ```\n\n5. **Create superuser (optional)**\n   ```bash\n   pipenv run python manage.py createsuperuser\n   ```\n\n6. **Start development server**\n   ```bash\n   pipenv run python manage.py runserver\n   ```\n\n7. **Access the application**\n   - Home: http://localhost:8000/\n   - Admin: http://localhost:8000/admin/\n\n8. **Run tests**\n   ```bash\n   make test           # Run all tests\n   make test-cov      # Run with coverage\n   make test-api      # Run API tests only\n   ```\n\n## Testing\n\nThis project uses **pytest**, **pytest-django**, and **pytest-bdd** for comprehensive testing.\n\n### Test Commands\n\n```bash\nmake test              # Run all tests\nmake test-cov         # Run with coverage report\nmake test-unit        # Run unit tests only\nmake test-api         # Run API tests only\nmake test-bdd         # Run BDD tests only\nmake test-parallel    # Run tests in parallel\n```\n\n### Test Structure\n\n- `tests/api/` - API and view tests\n- `tests/features/` - BDD feature definitions (.feature files)\n- `tests/steps/` - BDD step implementations\n- `tests/conftest.py` - Shared test fixtures\n\n### Current Test Status\n\n- ✅ Comprehensive test suite covering:\n  - View tests (home, wishlist, item, authentication)\n  - Business rules (ownership, purchase behavior, soft delete)\n  - Managers functionality (multi-user wishlist management)\n  - Scraped page import functionality\n- ✅ BDD feature files for acceptance testing\n- ✅ Test fixtures for common test data\n\nSee `tests/README.md` for detailed testing documentation.\n\n## PyCharm Setup\n\nThis project is configured for PyCharm:\n\n1. Open project in PyCharm\n2. PyCharm should detect the Pipenv virtual environment automatically\n3. Use the \"giftwiki\" run configuration to start the server\n4. Use \"python manage.py shell\" run configuration for Django shell\n\n## Project Structure\n\n```\ndjango-gift-wiki/\n├── gift/                    # Main gift management app\n│   ├── models.py            # Database models\n│   ├── views.py             # View functions\n│   ├── forms.py             # Form classes\n│   └── templates/           # HTML templates\n├── crest_generator/         # Crest generation app (optional)\n├── giftwiki/               # Django project settings\n│   ├── settings.py         # Configuration\n│   └── urls.py             # URL routing\n├── deploy/                 # Kubernetes deployment configs\n└── requirements.txt         # Python dependencies\n```\n\n## Database Models\n\n- **WikiUser**: Custom user model with family associations\n- **Family**: Family groups for organizing users\n- **WishList**: Gift lists belonging to users\n- **Item**: Individual items on wish lists\n- **Suggestion**: Suggested variations for items\n- **Crest**: Family crest information (if enabled)\n\n## Feature Flags\n\nEnable optional features via environment variables in `.env`:\n\n```bash\n# Enable crest generator (optional)\nCREST_GENERATOR_ENABLED=TRUE\nOPENAI_API_KEY=your-openai-key\n\n# Enable steward/proxy functionality (optional, confusing UI)\nSTEWARD_PROXY_ENABLED=TRUE\n```\n\nSee `FEATURE_FLAGS.md` for detailed documentation on all feature flags.\n\n## Development Notes\n\n- Uses SQLite for local development\n- PostgreSQL configured for production deployment\n- AWS S3 support for media file storage\n- Kubernetes-ready with deployment manifests\n\n## Recent Changes\n\n- Crest generator shelved behind feature flag\n- Core gift workflow fixed and tested\n- All redirect URLs corrected\n- Simplified wishlist creation workflow\n\n## License\n\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabeduke%2Fdjango-gift-wiki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabeduke%2Fdjango-gift-wiki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabeduke%2Fdjango-gift-wiki/lists"}