On Fri, Mar 31, 2017 at 12:01 AM, Mark Sapiro <mark(a)msapiro.net> wrote:
I'm not sure what you mean by drop and recreate the databases. You
should just drop the `social_auth*` tables, or if there's nothing in the
database you want, just starting with an empty database should work.
Very good! Thank you very much, I got a bit further.
The database contained a couple of test lists that I can recreate, so
nothing of value. The strange thing was that drop database followed by
create database did not yield an empty database in Postgres. I
probably forgot a commit somewhere.
I got a bit further. The problem with not being an expert on Django is
that the configuration of all web frameworks is that is a bit
involved. I have no experience of Django outside of this and I just
want to get it running in this case.
Now I get the following errors in the mailman_web-log, somehow
complaining on the url mapping.
ERROR 2017-03-31 00:51:31,558 exception 2456 140113416898304 Internal
Server Error: /mailman3/lists/
Traceback (most recent call last):
line 458, in render
url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app)
line 91, in reverse
prefix, *args, **kwargs)))
line 497, in _reverse_with_prefix
NoReverseMatch: Reverse for 'hk_user_login' not found. 'hk_user_login'
is not a valid view function or pattern name.
The Django 1.18 points to a Django 1.11rc1, should probably be mentioned.
My urls.py (a copy from the docs, I think)
from django.conf.urls import include, url
from django.core.urlresolvers import reverse_lazy
from django.views.generic import RedirectView
from django.contrib import admin
# Comment the next two lines to disable the admin:
urlpatterns = [
# Django admin