Proper way to create custom Group

2021-10-02 Thread Scot Hacker
It is possible to create a custom Group model in Django, although there is no `settings.AUTH_GROUPS_MODEL` equivalent to `AUTH_USER_MODEL`. When creating a custom Group system one can either inherit from the Django's `Group` model, or not. If you do, you still can use `user.groups.all()

Re: Is there any way to custom group models in the admin panel?

2021-01-17 Thread Prashanjeet Halder
Not preferred but I guess you can do it by following the below-given steps: As soon as you end up creating your web app 1) Run the command: "python manage.py collectstatic" 2) Check for the static/admin/index.html file. 3) Edit the HTML files as per your need and convenience. Please let me know if

Re: Is there any way to custom group models in the admin panel?

2021-01-15 Thread onyilimba martins mclaren tochukwu
I stumbled on the need to do this, is there any pacakage that does this now? the one I saw was last updated 2018 On Wednesday, July 18, 2007 at 6:05:02 PM UTC+1 Sebastian Macias wrote: > I just opened a ticket for this. > > http://code.djangoproject.com/ticket/4918 > > Sebastian Macias > > > On

Custom Group

2020-05-26 Thread Soumen Khatua
Hi Folks, Actually my requirement is a registered user can create a room/group where n(could be any number) number of peoples can join for a certain period of time like 1 hr,But I don't have any idea about this,How I can do this in Django?! Any help will be appreciated Thank You Regards, Soumen

Re: strategies for adding a custom group permission

2016-11-09 Thread Larry Martell
On Wed, Nov 9, 2016 at 8:32 AM, Melvyn Sopacua wrote: > On Tuesday 08 November 2016 09:55:51 Larry Martell wrote: > >> I need to add a configurable data filter that will be used in my app >> and I want that filter to be specifiable at the django group level. I >> want to be able to give users perm

Re: strategies for adding a custom group permission

2016-11-09 Thread Melvyn Sopacua
On Tuesday 08 November 2016 09:55:51 Larry Martell wrote: > I need to add a configurable data filter that will be used in my app > and I want that filter to be specifiable at the django group level. I > want to be able to give users permission, both at the group level and > the user level, to edit

RE: strategies for adding a custom group permission

2016-11-08 Thread Matthew Pava
[mailto:django-users@googlegroups.com] On Behalf Of Larry Martell Sent: Tuesday, November 8, 2016 8:56 AM To: django-users@googlegroups.com Subject: strategies for adding a custom group permission I posed a question yesterday asking how to separate the group editing permissions from the permission to

strategies for adding a custom group permission

2016-11-08 Thread Larry Martell
I posed a question yesterday asking how to separate the group editing permissions from the permission to edit a new custom group permission that I added. I did not get any replies to that and in researching it I am thinking perhaps that is not possible. So I want to pose the question differently

separating group editing permission from custom group extension permission

2016-11-07 Thread Larry Martell
I have extended the group model and added a custom field and permission. I want to be able to give a user permission to edit this new field, but not have permission to edit any of the other group attributes. But if I do not grant the 'can change group' permission they cannot get to the group admin

Re: Is there any way to custom group models in the admin panel?

2007-07-18 Thread Sebastian Macias
I just opened a ticket for this. http://code.djangoproject.com/ticket/4918 Sebastian Macias On Jul 12, 6:37 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 7/12/07,SebastianMacias <[EMAIL PROTECTED]> wrote: > > > > > By default models are grouped by app. I really need to be able to >

Re: Is there any way to custom group models in the admin panel?

2007-07-12 Thread James Bennett
On 7/12/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > This isn't possible at present. You can collect the fields on an > individual model into groups, but there isn't currently a mechanism to > group models other than by application. Sure there is, just supply a template 'admin/index.html'

Re: Is there any way to custom group models in the admin panel?

2007-07-12 Thread Russell Keith-Magee
On 7/12/07, Sebastian Macias <[EMAIL PROTECTED]> wrote: > > By default models are grouped by app. I really need to be able to > break down that grouping a little bit more. I will have an app with > probably 40-50 models and would like to group those logically instead > of having them all listed un

Re: Is there any way to custom group models in the admin panel?

2007-07-12 Thread Ryan
I am interested in this as well. I've searched for a way to organize models in the admin panel but I haven't found anything. It seems illogical to create multiple apps simply for the fact to separate them in the admin panel. --~--~-~--~~~---~--~~ You received this

Re: Is there any way to custom group models in the admin panel?

2007-07-12 Thread Lic. José M. Rodriguez Bacallao
I would like to know if this is posible in a simple and clean way, if anyone has the answer, please, post it. On 7/11/07, Sebastian Macias <[EMAIL PROTECTED]> wrote: > > > By default models are grouped by app. I really need to be able to > break down that grouping a little bit more. I will have an

Is there any way to custom group models in the admin panel?

2007-07-11 Thread Sebastian Macias
By default models are grouped by app. I really need to be able to break down that grouping a little bit more. I will have an app with probably 40-50 models and would like to group those logically instead of having them all listed under my app name. Thanks, Sebastian --~--~-~--~~---