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 this answers your question  
I am a newbie in  Django, so I would love to know if there is any other way 
of doing the same. 

Thanks, 
Happy Coding :)

>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/529de26a-0f5c-4e4a-9765-6e51fedf5db8n%40googlegroups.com.


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 Jul 12, 6:37 pm, "Russell Keith-Magee" 
> wrote:
>
>
> > On 7/12/07,SebastianMacias  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 togroupthose logically instead
>
>
> > > of having them all listed under my app name.
> >
> > This isn't possible at present. You can collect the fields on an
>
> > individual model into groups, but there isn't currently a mechanism 
> togroupmodels other than by application.
>
>
> >
> > It is an interesting idea though. I would suggestion opening a ticket
> > requesting this feature - we are currently rewriting the admin views
> > to use newforms. This particular feature probably won't be a target
> > for the initial release, but its worth documenting it to make sure we
> > don't code ourselves into a corner.
> >
> > Yours,
> > Russ Magee %-)
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/239eb7a0-92ba-400c-9fd8-aa198bb873e7n%40googlegroups.com.


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
> > break down that grouping a little bit more. I will have an app with
> > probably 40-50 models and would like togroupthose logically instead
> > of having them all listed under my app name.
>
> This isn't possible at present. You can collect the fields on an
> individual model into groups, but there isn't currently a mechanism 
> togroupmodels other than by application.
>
> It is an interesting idea though. I would suggestion opening a ticket
> requesting this feature - we are currently rewriting the admin views
> to use newforms. This particular feature probably won't be a target
> for the initial release, but its worth documenting it to make sure we
> don't code ourselves into a corner.
>
> Yours,
> Russ Magee %-)


--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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' which
specifies the grouping you want, and ensure that it's in a location
which will be found before the app-specific one ;)


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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 under my app name.

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.

It is an interesting idea though. I would suggestion opening a ticket
requesting this feature - we are currently rewriting the admin views
to use newforms. This particular feature probably won't be a target
for the initial release, but its worth documenting it to make sure we
don't code ourselves into a corner.

Yours,
Russ Magee %-)

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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 message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



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 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
>
>
> >
>


-- 
Lic. José M. Rodriguez Bacallao
Cupet
-
Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo
mismo.

Recuerda: El arca de Noe fue construida por aficionados, el titanic por
profesionales
-

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---