Dirk Alders 6b55e81816 Issues (TODO) moved to issuetracker | vor 3 Wochen | |
---|---|---|
locale/de/LC_MESSAGES | vor 4 Jahren | |
migrations | vor 3 Wochen | |
templates/users | vor 4 Jahren | |
.gitignore | vor 4 Jahren | |
LICENSE | vor 4 Jahren | |
README.md | vor 3 Wochen | |
__init__.py | vor 4 Jahren | |
admin.py | vor 4 Jahren | |
apps.py | vor 4 Jahren | |
context.py | vor 3 Wochen | |
forms.py | vor 4 Jahren | |
middleware.py | vor 4 Jahren | |
models.py | vor 4 Jahren | |
parameter.py | vor 3 Wochen | |
signals.py | vor 3 Jahren | |
tests.py | vor 4 Jahren | |
urls.py | vor 4 Jahren | |
views.py | vor 3 Wochen |
With the django library users, you are abel to register users, add users, login, logout and do some basic adjustments for the user. This library includes some pages for that based on the extension theme.
You need to ensure that pytz is available in your python environment.
You need to integrate the themes library as well.
Clone the library in your django application.
Add the following line to the list INSTALLED_APPS
:
'users.apps.UsersConfig',
and add the following line to the list urlpatterns
:
path('users/', include('users.urls')),
All parameters can be added in the django settings.py
or in a config.py
in the root django folder. The definitions in the config.py
will be used before the definitions in settings.py
.
This parameter can be True
or False
. It enables or disables the self registration.
You might want to add the user actions by calling users.context.menubar(bar, request)
with bar
as menubar. See theme dosumentation for more details.