I want to create custom url like this http://admin:testserver.com/login/
I've been trying different ways to to achieve this but all of my efforts were in vain. After reading Django document i'm able to create a custom url where i can add a certain prefix after the domain name which look like this
"http://127.0.0.1:8000/mod:add_product/"
with this line of code
url(r'^mod:', include('moderator.urls')),
My friend was suggesting to use django_subdomains to get a somewhat similar url which would look like this "http://admin.xyz.com/loign" i was considering that as an option but django_subdomains has been abandoned since July 2019 is there any other options to create such urls?