Re: Adding Model Inline with Group Model

2008-12-03 Thread VoiDeT
Perfect! Thanks alot Karen :) Just getting my bearings into the plentiful overriding :D --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegr

Re: Adding Model Inline with Group Model

2008-12-03 Thread Karen Tracey
On Wed, Dec 3, 2008 at 8:04 PM, VoiDeT <[EMAIL PROTECTED]> wrote: > > Excellent! > That worked fine, i guess i had to unregister it first and then dump > my code into the admin.py file. > However now the Group is a multiple select widget whereas before it > would use a widget that i could add grou

Re: Adding Model Inline with Group Model

2008-12-03 Thread VoiDeT
Excellent! That worked fine, i guess i had to unregister it first and then dump my code into the admin.py file. However now the Group is a multiple select widget whereas before it would use a widget that i could add group permissions and take them away via an arrow to two neighbouring multiple sel

Re: Adding Model Inline with Group Model

2008-12-03 Thread Karen Tracey
On Wed, Dec 3, 2008 at 7:08 PM, VoiDeT <[EMAIL PROTECTED]> wrote: > > Hey Karen, > > I have tried this scenario above, however the GroupLevels does not > show inline with the Groups Model in Admin. I don't understand why > not, no errors, just simply does not display. I have also tried to > inline

Re: Adding Model Inline with Group Model

2008-12-03 Thread VoiDeT
Hey Karen, I have tried this scenario above, however the GroupLevels does not show inline with the Groups Model in Admin. I don't understand why not, no errors, just simply does not display. I have also tried to inline the Groups Model into the GroupLevels Model yet i get an error saying that Gro

Re: Adding Model Inline with Group Model

2008-12-03 Thread VoiDeT
Hey Karen, I have the setup as you have posted above, however i neither see GroupLevels model or the GroupLevels model inline with the Groups admin section. Indeed i am trying to get the GroupLevels model to display where the Groups section is in admin, however i have tried both scenarios and nei

Re: Adding Model Inline with Group Model

2008-12-03 Thread Karen Tracey
On Wed, Dec 3, 2008 at 2:46 PM, VoiDeT <[EMAIL PROTECTED]> wrote: > > Hi Karen, > > Thanks alot for your quick reply! > Indeed the admin.site.register(Group, GroupAdmin) was meant to write > as admin.site.register(GroupLevels, GroupAdmin). However when i do > this it doesn't display it inline, ins

Re: Adding Model Inline with Group Model

2008-12-03 Thread VoiDeT
Hi Karen, Thanks alot for your quick reply! Indeed the admin.site.register(Group, GroupAdmin) was meant to write as admin.site.register(GroupLevels, GroupAdmin). However when i do this it doesn't display it inline, instead merely throws back an error saying Group doesn't have a foreignkey to Grou

Re: Adding Model Inline with Group Model

2008-12-03 Thread Karen Tracey
On Wed, Dec 3, 2008 at 2:29 PM, VoiDeT <[EMAIL PROTECTED]> wrote: > > Hey there, > > I am trying to figure out how to solve this: > I have created a new model called GroupLevels to extend the already > existing Group model by django.contrib.auth.models.group. I wish to > have the GroupLevels inlin

Adding Model Inline with Group Model

2008-12-03 Thread VoiDeT
Hey there, I am trying to figure out how to solve this: I have created a new model called GroupLevels to extend the already existing Group model by django.contrib.auth.models.group. I wish to have the GroupLevels inline with the Group Model in the admin panel. I have attempted to do this via: cl