Skip to main content

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

https://github.com/mezardini/GroupMkr.git

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)

Uploaded Source

Built Distribution

GroupMkr-1.2.0.0-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page