'URL Variable Subdirectory Error in Django
A view in my Django app takes a URL variable/argument which in my case is a URL like:
https://google.com
so it would look something like this:
localhost:8000/api/https://google.com
Because the URL variable above contains slashes, Django will try to find new subdirectories whereas I want Django to ignore them. How can I achieve that???
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
