-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
general chicken-egg problem #33
Comments
I made a simple view to create a multisite.models.Alias entry for the current host with the default SITE_ID. I can contribute this via pull request. |
Similar problem here but I get into an infinite loop instead of a 404. |
Hey @jedie - to be fair you could manually add the domain from a python or db shell in that situation, but point taken :) We'd welcome a PR for that view! I don't think we should neccessarily change the default fallback behaviour, but it could be useful to have that view around as an out-of-the-box option. |
The DynamicSiteMiddleware will always raise 404 if he can't find the current Domain in the Alias model. But i can't login and use the admin panel, if i always get a 404...
Set MULTISITE_FALLBACK will not really help here.
So i have to deactivate DynamicSiteMiddleware, login and insert the current Domain and activate DynamicSiteMiddleware ?!?
The text was updated successfully, but these errors were encountered: