Error
Closed this issue · 4 comments
jasonhoward64 commented
I'm getting the following error when I try to runserver.
ModuleNotFoundError: No module named 'django_hosts.middleware.HostsRequestMiddlewaremultipledomain'; 'django_hosts.middleware' is not a package
fanckush commented
Did you put the middleware in the correct order like instructed?
jasonhoward64 commented
Yes
…On Tue, Aug 28, 2018, 8:52 AM Imad abdulkarim, ***@***.***> wrote:
Did you put the middleware in the correct order like instructed?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#86 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AiA6zTaa0bqoqVC2NPhzfWrtq16oEIdtks5uVVk9gaJpZM4WKrkV>
.
jasonhoward64 commented
It's all good. I was able to write my own middleware to handle subdomains. Thanks though!
bastianwegge commented
Sorry to "revive" this very old issue. It actually arises if you forget to put a comma at the end of the line inside the list of middlewares. Just for anybody coming here seeing this :).
Thank you for this awesome package!