On 03/31/2017 08:10 AM, David Krantz wrote:
On Fri, Mar 31, 2017 at 3:13 AM, Mark Sapiro <mark@msapiro.net> wrote:
We're really working on getting a consistent, workable installation story and even getting some packaged solutions. I know we're not yet there, but we're here to help when people run into problems. The site now works, but not the / url for the site. I get this error in the mailman-web.log (with a very long stacktrace before it)
NoReverseMatch: Reverse for 'hyperkitty.views.index.index' not found. 'hyperkitty.views.index.index' is not a valid view function or pattern name.
I think that would correspond to this line in urls.py
url(r'^$', RedirectView.as_view(url=reverse_lazy('hyperkitty.views.index.index'))),
Yes, that's the culprit. Replace it with the following:
url(r'^$', RedirectView.as_view(url=reverse_lazy('hk_root'))),
You can also update whatever guide you were using...
but this corresponds exactly to what the example config says and I know of no other name for hyperkitty. Probably it is dependent upon understanding the url dispatching in Django but that takes some time to read up on. The interesting thing is that /archives works so it is just this redirect that has problems. I can probably get apache to do the redirect instead but that is not the most elegant solution.
Then I of course have things to do on getting social logins to work. I currently get "DoesNotExist: SocialApp matching query does not exist." if trying to connect an account to google (which I started with). Not a showstopper as passwords do work. Did you follow django-allauth's guide on setting them up?