Installation

To install the django-e2ee-framework package for your Django project, you need to follow two steps:

  1. Install the package

  2. Add the app to your Django project

Installation from PyPi

The recommended way to install this package is via pip and PyPi via:

pip install django-e2ee-framework

Or install it directly from the source code repository on Gitlab via:

pip install git+https://gitlab.hzdr.de/hcdc/django/django-e2ee-framework.git

The latter should however only be done if you want to access the development versions.

Install the Django App for your project

To use the django-e2ee-framework package in your Django project, you need to add the app to your INSTALLED_APPS, configure your urls.py, run the migration, add a login button in your templates. Here are the step-by-step instructions:

  1. Add the django_e2ee app to your INSTALLED_APPS

  2. in your projects urlconf (see :setting:`ROOT_URLCONF`), add include django_e2ee.urls via:

    from django.urls import include, path
    
    urlpatterns += [
        path("django-e2ee-framework/", include("django_e2ee.urls")),
     ]
    
  3. Run python manage.py migrate to add models to your database

  4. Configure the app to your needs (see Configuration options).

That’s it! For further adaption to you Django project, please head over to the Configuration options. You can also have a look into the testproject in the source code repository for a possible implementation.

Installation for development

Please head over to our contributing guide for installation instruction for development.