@ -26,3 +26,5 @@ class DomainAutoCreateMiddleware:
Domain.get_from_request(request)
except Http404:
Domain.objects.create(fqdn=request.META.get('HTTP_HOST'))
return self.get_response(request)
@ -3,7 +3,7 @@ from setuptools import setup
setup(
name="django_scopedsites",
packages=["scopedsites", "scopedsites.migrations"],
version="0.1.1",
version="0.1.2",
description="django_scopes x django.contrib.sites",
python_requires=">=3.6",
install_requires=[