strange / django-usergroups Goto Github PK
View Code? Open in Web Editor NEWA simple application that adds basic, albeit extensible, functionality to manage groups of users in a project.
License: BSD 3-Clause "New" or "Revised" License
A simple application that adds basic, albeit extensible, functionality to manage groups of users in a project.
License: BSD 3-Clause "New" or "Revised" License
================= Django Usergroups ================= A simple application that adds basic, albeit extensible, functionality to manage groups of users in a project. Disclaimer ========== This is a total rewrite of my ancient reusable group app. There are several kinks that I have not yet worked out. I will be modifying my old projects to support this application. There might be some backwards incompatible changes to this application as well (class-, module- and attribute name changes, modified views, URL layout changes, improved way to register configs etc). Installation and configuration ============================== Add ``usergroups`` to ``INSTALLED_APPS`` in your project's settings module. Add urls:: (r'^', include('usergroups.urls')), Create a model that extends the BaseGroup:: class MyGroup(BaseGroup): extra = models.CharField(max_length=20) Register the model:: options.register('groups', MyGroup) A list of groups should then be available at:: /groups/ You can override default behaviour and settings by extending ``options.BaseUserGroupConfiguration`` (see ``options.py`` for details):: class MyConfig(options.BaseUserGroupConfiguration): paginate_members_by = 35 list_template_name = 'my_list_template.html' def get_create_group_form(self): return MyGroupForm And register the configuration:: options.register('groups', MyGroup, MyConfig) Examples ======== There are some non-exhaustive examples in the application `example` located in the root directory of the repository.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.