[Answered ]-URL shortening in django

2đź‘Ť

âś…

If in your database, every “application” is ForeignKey-related to a parent “project”, you can drop the “project” name/Id from you URL path.

A path like exmple.com/12345 (where “12345” is your application pk) is about as short as it gets.

You can even make it shorter and Base64 encode that number, so you get an even shorter alphanum value.

👤C14L

Leave a comment