Yes, this is what actually I need. But I do not know how to apply that
in the default admin index page. If I kwew how to do that, the problem
would be solved.
Do you know if there is a similar way to apply the ordering in this
page?
Thanks.
On 18 abr, 06:14, backdoc wrote:
> I think you are look
I think you are looking for something like this to your model class:
class Meta:
ordering = ('lname', 'fname')
So, you would have something like:
class MyModel(models.Model):
fields = SOMEFIELDS(.)
class Meta:
ordering = ('some', 'column', 'names')
On Sat, Apr 17, 2010 at 10:10
Hello,
thank you for answering so quickly. OK, so the page in fact is called
admin index page. I fixed the problem I had with the apps I want to be
shown in the page, thanks to permissions assigned depending on the
user. Then, there is just one critical problem to solve with that.
How can I avoid
On Sat, Apr 17, 2010 at 6:43 PM, Caumons wrote:
> Hi everybody!
>
> Is there a way to change the appearance of the admin page after
> loggin? I do not know the name of this page, but is the one where the
> apps are listed and were the models of each app registered whith the
> admin appear.
>
> Wha
Hi everybody!
Is there a way to change the appearance of the admin page after
loggin? I do not know the name of this page, but is the one where the
apps are listed and were the models of each app registered whith the
admin appear.
What I want is to do not show some apps in this page, for example
5 matches
Mail list logo