User management django application for Edelweiss Data
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-edelweiss-data-usermanager-0.0.2.tar.gz.
File metadata
- Download URL: django-edelweiss-data-usermanager-0.0.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.2 CPython/3.6.9 Linux/5.3.0-26-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
125b50f71acee817378935b43316221d55f19bcc1030edeb224c660109baf1a2
|
|
| MD5 |
61fa759020b3c37a7c6a2a6b082e71ed
|
|
| BLAKE2b-256 |
720ecf1f1931203d5999edeea234411907d996c1abd27924562bdea955da9d4c
|
File details
Details for the file django_edelweiss_data_usermanager-0.0.2-py3-none-any.whl.
File metadata
- Download URL: django_edelweiss_data_usermanager-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.2 CPython/3.6.9 Linux/5.3.0-26-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35bf88073a38916c732935e24795f6eec0fd665c41143af9d84a6dc33267940b
|
|
| MD5 |
4239ebaaaa2adedbe85acedb9c4da5aa
|
|
| BLAKE2b-256 |
a8a1718116e339d5ab687f89a786aa8370db143520a2284231170b3c9310c087
|