websauna.system.user.subscribers module

Register UserEvent subscribers.

websauna.system.user.subscribers.site_init(e)[source]

Initialize the website.

When the first user hits the site, capture its login and add him to the admin group.

Parameters

e (UserCreated) – UserCreated event.