semvec/pypi-packages huggingface dataset:
django-sus 0.0.2
A Django app to share user sessions across subdomains
Requires Python: >=3.6

# diddemo-sus

Django sus (Shared User Session) is a Django app that allows you to share user sessions across sub domains

Quick start:


1) Add "django_sus" to your INSTALLED_APPS setting like this.

    INSTALLED_APPS = [
        ...
        'django_sus',
    ]

2) Add 'django_sus.middleware.ShareSession' to middleware - make sure it is below 'django.contrib.auth.middleware.AuthenticationMiddleware'

	MIDDLEWARE = [
    
    ...
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    ...
    'django_sus.middleware.ShareSession',
    
]
3) Run "python manage.py makemigrations" to create the models.

4) Run "python manage.py migrate" to migrate your new models