[Answered ]-What is type is Site.objects.get_current() in django ; it returns <SIte: example.com>. I need to serialize it

2👍

Probably the Django Site model
The values are only site.domain and site.name
This model is used for when you’re hosting multiple sites on one django platform.
Use this to determine which site is accessed.

👤Henkes

Leave a comment