refactor: rename Wizamart to Orion across entire codebase
Replace all ~1,086 occurrences of Wizamart/wizamart/WIZAMART/WizaMart with Orion/orion/ORION across 184 files. This includes database identifiers, email addresses, domain references, R2 bucket names, DNS prefixes, encryption salt, Celery app name, config defaults, Docker configs, CI configs, documentation, seed data, and templates. Renames homepage-wizamart.html template to homepage-orion.html. Fixes duplicate file_pattern key in api.yaml architecture rule. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Module System Architecture
|
||||
|
||||
The Wizamart platform uses a **plug-and-play modular architecture** where modules are fully self-contained and automatically discovered. Simply create a module directory with the required structure, and the framework handles registration, routing, and resource loading automatically.
|
||||
The Orion platform uses a **plug-and-play modular architecture** where modules are fully self-contained and automatically discovered. Simply create a module directory with the required structure, and the framework handles registration, routing, and resource loading automatically.
|
||||
|
||||
## Key Features
|
||||
|
||||
@@ -1029,11 +1029,11 @@ __all__ = ["process_import", "export_products"]
|
||||
|
||||
### Exceptions
|
||||
|
||||
Module-specific exceptions inherit from `WizamartException`.
|
||||
Module-specific exceptions inherit from `OrionException`.
|
||||
|
||||
| Location | Base Class | Usage |
|
||||
|----------|------------|-------|
|
||||
| `exceptions.py` | `WizamartException` | Domain errors |
|
||||
| `exceptions.py` | `OrionException` | Domain errors |
|
||||
|
||||
**Structure:**
|
||||
```
|
||||
@@ -1044,9 +1044,9 @@ app/modules/{module}/
|
||||
**Example:**
|
||||
```python
|
||||
# app/modules/orders/exceptions.py
|
||||
from app.exceptions import WizamartException
|
||||
from app.exceptions import OrionException
|
||||
|
||||
class OrderException(WizamartException):
|
||||
class OrderException(OrionException):
|
||||
"""Base exception for orders module."""
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user