Django Rrweb

Django Rrweb is an Apache2 licensed Django application that records and replays sessions in web browsers.

Features

  • Record sessions in web browsers

  • Replay sessions in web browsers

  • Tested on Python 3.7, 3.8, 3.9, 3.10

  • Tested on Django 3.2 LTS and Django 4.0

https://github.com/grantjenks/django-rrweb/workflows/integration/badge.svg https://github.com/grantjenks/django-rrweb/workflows/release/badge.svg

Quickstart

Installing Django Rrweb is simple with pip:

$ pip install django-rrweb

Changes to settings.py like:

INSTALLED_APPS += ['django.contrib.humanize', 'django_rrweb']

And

MIDDLEWARE += ['django_rrweb.middleware.session_key_middleware']

Changes to urls.py like:

urlpatterns += [path('rrweb/', include('django_rrweb.urls'))]

The Django “admin” is also required for replaying and deleting sessions.

Then migrate the database like:

$ python manage.py migrate

Reference and Indices

Django Rrweb License

Copyright 2022 Grant Jenks

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.