README: replace vague cross-app section with actual code dependencies
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 43s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 43s
List specific model imports, glue services, and internal APIs that market code actually references. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
13
README.md
13
README.md
@@ -43,11 +43,16 @@ shared/ # Submodule → git.rose-ash.com/coop/shared.git
|
|||||||
glue/ # Submodule → git.rose-ash.com/coop/glue.git
|
glue/ # Submodule → git.rose-ash.com/coop/glue.git
|
||||||
```
|
```
|
||||||
|
|
||||||
## Cross-App Integration
|
## Dependencies
|
||||||
|
|
||||||
- **Cart:** "Add to cart" posts to cart app. Cart widget fetched via internal API.
|
**Cross-app model imports:**
|
||||||
- **Blog:** Post/page data fetched via internal API for page-scoped marketplaces.
|
- `blog.models.ghost_content.Post` — `app.py` hydrates page data for marketplace views
|
||||||
- **Glue:** MarketPlace uses generic containers (`container_type + container_id`) to attach to pages without FK coupling.
|
|
||||||
|
**Glue services:**
|
||||||
|
- `glue.services.navigation.get_navigation_tree` — context processor builds site nav
|
||||||
|
|
||||||
|
**Internal APIs:**
|
||||||
|
- Calls `GET /internal/cart/summary` — context processor for cart widget
|
||||||
|
|
||||||
## Scraping
|
## Scraping
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user