jazzband / django-invitations

Generic invitations app for Django
GNU General Public License v3.0
559 stars 166 forks source link

Bug: On localhost port is not included in the accept-invite URL #245

Closed Huge closed 5 months ago

Huge commented 6 months ago

Mails have links like http://localhost/invitations/accept-invite/y2g3lqnftohfwhismsuq9ecdaitmbcggequqmgfdu0zricyitjokslnpbxjzkcoz

instead of http://localhost:8000/invitations/accept-invite/y2g3lqnftohfwhismsuq9ecdaitmbcggequqmgfdu0zricyitjokslnpbxjzkcoz

nebiyuelias1 commented 6 months ago

But this is what I'm getting instead: If you'd like to join, please go to http://localhost:8000/invitations/accept-invite/9ary1xawihqhqykgwgpkpqmtjqqau8dmvil4m0pdulrbxkh4cbwbr31ztz1kvdeg Can you please provide the steps you used?

Huge commented 5 months ago

Oh, damn, it seems I was missing this line in my settings.py: SITE_URL = f'http://localhost:8000'