Browse Source

haha hotfix patch

main
Julia Luna 2 years ago
parent
commit
6fe358f7ce
Signed by: xenua
GPG Key ID: 6A0C04FA9A7D7582
  1. 2
      scopedsites/middleware.py
  2. 2
      setup.py

2
scopedsites/middleware.py

@ -26,3 +26,5 @@ class DomainAutoCreateMiddleware:
Domain.get_from_request(request) Domain.get_from_request(request)
except Http404: except Http404:
Domain.objects.create(fqdn=request.META.get('HTTP_HOST')) Domain.objects.create(fqdn=request.META.get('HTTP_HOST'))
return self.get_response(request)

2
setup.py

@ -3,7 +3,7 @@ from setuptools import setup
setup( setup(
name="django_scopedsites", name="django_scopedsites",
packages=["scopedsites", "scopedsites.migrations"], packages=["scopedsites", "scopedsites.migrations"],
version="0.1.1", version="0.1.2",
description="django_scopes x django.contrib.sites", description="django_scopes x django.contrib.sites",
python_requires=">=3.6", python_requires=">=3.6",
install_requires=[ install_requires=[

Loading…
Cancel
Save