mirror of
https://github.com/aljazceru/cryptoanarchywiki.github.io.git
synced 2025-12-17 13:14:21 +01:00
Add post
This commit is contained in:
@@ -4,7 +4,7 @@ title: "Custom redirect urls django"
|
|||||||
date: 2016-04-20 09:41:20 +0700
|
date: 2016-04-20 09:41:20 +0700
|
||||||
categories: [python, django]
|
categories: [python, django]
|
||||||
---
|
---
|
||||||
Example in this problem we need redirect the url `http://localhost:8000/a/b/C/123/4/5` to `http://localhost:8000/abC12345` without `/` slash.
|
Example in this problem we need redirect the url `http://localhost:8000/a/b/C/123/4/5/` to `http://localhost:8000/abC12345` without `/` slash.
|
||||||
|
|
||||||
#### 1. In your `views.py`
|
#### 1. In your `views.py`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user