Django way of serving apple-app-site-association

Key for solving was looking up how facebook does it at https://facebook.com/.well-known/apple-app-site-association.


path('.well-known/apple-app-site-association', TemplateView.as_view(
template_name='txt/apple-app-site-association',
content_type='application/json',
)),

Note: apple domain association can be verified at special site.

 

Kirill