Skip to main content

django-edelweiss-data-usermanager

This is a django appliation to help manage users and user groups for an EdelweissData installation. It provides an admin dashboard creating and editing entites directly into the EdelweissData database.

It is assumed you already have a Edelweiss Data database. The django app will not try to create the EdelweissData core database tables.

Installation into your django project

Add this app to your installed apps in your settings.py file:

INSTALLED_APPS = [
    ....
    'django_edelweiss_data.usermanager',
]

You probably want to keep your EdelweissData core tables in a different schema from your django application files. You might even choose to use a different database. Add a router in your settings.py file so that django knows to look for the EdelweissData tables in a different location:

    DATABASE_ROUTERS = ['django_edelweiss_data.usermanager.router.Router']

Then configure your DATABASES section with default and edelweiss_datasets sections. In the following example, all tables are in the edelweiss database. The EdelweissData core tables are in the datasets schema and the django application tables are in the django schema.

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql',
        'OPTIONS': {
            'options': '-c search_path=django',
        },
        'NAME': 'edelweiss',
    },
    'edelweiss_datasets': {
        'ENGINE': 'django.db.backends.postgresql',
        'OPTIONS': {
            'options': '-c search_path=datasets',
        },
        'NAME': 'edelweiss',
    }
}

Connect to your database and create the django schema:

CREATE SCHEMA IF NOT EXISTS django;

And then run migrations:

python manager.py migrate usermanager

Release files for django-edelweiss-data-usermanager 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-edelweiss-data-usermanager 0.0.3
File Size Uploaded
django-edelweiss-data-usermanager-0.0.3.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-edelweiss-data-usermanager 0.0.3
File Interpreter ABI Platform
django_edelweiss_data_usermanager-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / django-edelweiss-data-usermanager-0.0.3.tar.gz

Download URL django-edelweiss-data-usermanager-0.0.3.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
179c994bf2bf803222a0553ab5471f1284f12e34e3739fdfa4d351a650c34a75
BLAKE2b-256 checksum
How to use checksums
27af6c53300d44c33456fcdae99c5075853a214263bceaac1b4896680f761a7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.2 CPython/3.6.9 Linux/5.3.0-26-generic

Release files / django_edelweiss_data_usermanager-0.0.3-py3-none-any.whl

Download URL django_edelweiss_data_usermanager-0.0.3-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac59ef968c007e61249e47d5cd7e0dbe23e6b021183c3f29d40c5aba8e9c2974
BLAKE2b-256 checksum
How to use checksums
b6e8935a1faf935583a1d6398879d7da7642ca6a9e508f258d22238f50ff56b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.2 CPython/3.6.9 Linux/5.3.0-26-generic

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page