Skip to main content

Project URL

Use Case

Some users need to create links with the project public domain.
In order to make this seamless cross environments (local, prod) a util function is provided.

To use it import the get_project_url utility function as follows:

from abstra.common import get_project_url
from abstra.messages import send_email

url = f'{get_project_url()}/register'
send_message("bobby@example.com", f"This is the url to register yourself: {url}")