Reputation: 562
How will I create django subdomains
for user accounts that can return user information even if the user isn't logged in. For example jane.website.com
returns jane's page even though jane isn't logged in. I have tried django-subdomains
but it keeps giving me this error:
Module not found error :No module named 'django.core.urlresolvers'.
I am pretty sure the error is from django-subdomains
so I rather use something else. Any suggestions?
Upvotes: 1
Views: 365
Reputation: 105
django.core.urlresolvers
module was removed in Django 2.0 and it was moved to django.urls
. django-subdomains
does not apply these changes. So ImportError
raised. See this issue.
This issue opend in jule 2018, but maintainer didn't fix that. And there has been no commit since 2016. So I think this library is not maintained.
Your choice:
Upvotes: 1