I have an issue with the Sites system in Django. My problem is when running Site.objects.get_current()
on some pages on initial load of the development server I get an exception saying Site matching query does not exist.
however if I load the main page of the site it loads just fine then I can go back to any other page with the exception and they load fine as well.
Has anyone come across this issue before?
Thanks,
Nick