GroupMkr is a module that simplifies creation of user groups and permissions in the terminal
Project description
GROUP MKR
Create User groups in the python shell
Procedure
- Install the module
- Create a .py file in the apps folder that contains the views and models file
- Import the add_group function from the module in the file 'from GroupMkr import add_group'
- Add this line to the file 'add_group (group_name={Group Name}, permission= {Permission})', edit the strings to your choice
- To create the groups from the shell, run the 'python manage.py shell' command and run the 'exec(open('app_name/file.py').read())'. Edit the app_name and file
Check the github repo for the code if interested
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
GroupMkr-1.2.0.0.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for GroupMkr-1.2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 377a77502f830f8c808a5313a78796a5440eba964d963e58846a6feebb8456c0 |
|
MD5 | 220b58eadfdebea7f9b74a44c2e31eef |
|
BLAKE2b-256 | b240646129d35cab425792f0044773cf5f69d9362d42108cec610547407919a1 |