i know we can pass information to the function that calls the template that way:
from django.urls import path
from . import views
urlpatterns = [
path("domain/<str:u>/",views.pd)
]
in views.py:
from django.shortcuts import render
def rt(req,u):
print(u)
return render(req,'teste.html')
But how can we do this without showing the information in the link? For exemple, without 'http://localhost:8000/route/aaa/' in the link for passing the 'aaa' string