Fixed url pattern in the doc for path-based shops
This commit is contained in:
@@ -121,8 +121,8 @@ request.state.clean_path = "/shop/products"
|
||||
**Example** (Path-Based Mode):
|
||||
|
||||
```python
|
||||
# Input (path-based mode)
|
||||
original_path = "/vendor/WIZAMART/shop/products"
|
||||
# Input (path-based development mode)
|
||||
original_path = "/vendors/WIZAMART/shop/products"
|
||||
clean_path = "/shop/products" # From VendorContextMiddleware
|
||||
|
||||
# Path rewrite
|
||||
|
||||
Reference in New Issue
Block a user