1👍
✅
What you want is the urlize filter, so, let’s say your Post
model has a field called text
, then in your template you’d do this:
{{ post_obj.text|urlize }}
👤Greg
Source:stackexchange.com