how i can build short cut site using django | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how i can build short cut site using django

hi guys im youssef Hariri i wanna know how i can build short cut urls sytem and shrt cut site using djangoo please i need to answer Quickly

24th May 2018, 1:23 AM
YoussefHariri
YoussefHariri - avatar
13 Answers
+ 2
you should some info on this types of sites and necessary security procedures before going to production. or you might have a lawsuit on your ass :D or just the police questioning yu
24th May 2018, 1:03 PM
Markus Kaleton
Markus Kaleton - avatar
+ 6
example. Like tinyurl
24th May 2018, 1:09 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 5
You mean, url shorteners like tinyurl?
24th May 2018, 1:31 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
thank you can you give me exampel please some exampel only
24th May 2018, 1:05 PM
YoussefHariri
YoussefHariri - avatar
+ 2
yes not problem thank you so later time
24th May 2018, 1:21 PM
YoussefHariri
YoussefHariri - avatar
+ 1
input>backend create rng url, check if url exists, if not> create redirect subsite with the rng name.html>push url and subsite short to database> and now if user uses the url it will get redirect to the target website
24th May 2018, 9:06 AM
Markus Kaleton
Markus Kaleton - avatar
+ 1
but, do i need to database
24th May 2018, 12:53 PM
YoussefHariri
YoussefHariri - avatar
+ 1
not necessarily, it would ease the load and if you had already exsisting urls saved up so you didnt have to create new pages for same urls, also kind of defensive mechanism for trolling by spamming requests for same link. this type of site needs a lot of security stuff implemented either way.
24th May 2018, 12:57 PM
Markus Kaleton
Markus Kaleton - avatar
+ 1
thank you so much i love you
24th May 2018, 1:00 PM
YoussefHariri
YoussefHariri - avatar
+ 1
i need to just code exampel please
24th May 2018, 1:10 PM
YoussefHariri
YoussefHariri - avatar
+ 1
got other stuff to code, cant spend hours building a web application :D
24th May 2018, 1:20 PM
Markus Kaleton
Markus Kaleton - avatar
+ 1
hello Pegasus [Back!] i dont mean , url shorteners like tinyurl but i mean url shorteners like adfly/geturl/shorte.st and more using django python
24th May 2018, 6:20 PM
YoussefHariri
YoussefHariri - avatar
0
yes , Thanks any way i waiting you
24th May 2018, 6:12 PM
YoussefHariri
YoussefHariri - avatar