Re: How to customize admin page rendering?

2019-08-25 Thread Aldian Fazrihady
It is open source. Therefore, theoretically, you can customize everything. For admin page, I have customized many things, such as main templates, actions, validations, etc Regards, Aldian Fazrihady http://aldianfazrihady.com On Sun, 25 Aug 2019, 22:55 Jani Tiainen, wrote: > Hi. > > Instead

Re: How to customize admin page rendering?

2019-08-25 Thread Jani Tiainen
Hi. Instead of trying that I suggest that you build your own managenent console where you can do all you want to. Admin is a great tool but it can't replace proper management tools. Mainly because admin isn't built for much of customization beyond what you can find from the docs. su 25. elok.

How to customize admin page rendering?

2019-08-25 Thread Pema Galey
I want to change/customize rendering of admin default page. For example, in search_field, I want to add placeholder or help text for searching. Help me in customization. Thank you -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Customize admin site labels

2014-12-17 Thread Collin Anderson
Hi, I think this is what you want: https://docs.djangoproject.com/en/dev/ref/contrib/admin/#customizing-adminsite Collin On Monday, December 15, 2014 12:00:17 PM UTC-5, Xairi Valdivia Maker wrote: > > Hi all. > > I was trying to customize the Django admin site today. I'm strating trying > to

Customize admin site labels

2014-12-15 Thread Xairi Valdivia Maker
Hi all. I was trying to customize the Django admin site today. I'm strating trying to change the labels Django admin in the login and in the admin site for something else, but i can't. I found this: https://docs.djangoproject.com/en/1.7/ref/contrib/admin/#adminsite-attributes But i don't

Re: Customize admin page title (from tutorial)

2014-10-21 Thread Pat Claffey
On Saturday, October 18, 2014 1:16:32 PM UTC+1, pranee...@gmail.com wrote: > > Hi, > I am new to django. I am following Django tutorial(part2). I want to > know how to customize title of my admin page from "*Django > administration" to " some Text".* Help me..*! *Thanks in advance.. >

Re: Customize admin page title (from tutorial)

2014-10-20 Thread Carl Meyer
Hi Pat, On 10/18/2014 03:47 PM, Pat Claffey wrote: > Hi, > yes this is possible. I have recently done this tutorial and succeeded > in customizing the title. > In my opinion the instructions in this part of the tutorial are hard to > understand. Here is what I did: > > 1.0 Navigate to the

Re: Customize admin page title (from tutorial)

2014-10-18 Thread Russell Keith-Magee
Or, if you're using Django 1.7, you can change the site header (amongst other labels) as a configuration item: https://docs.djangoproject.com/en/1.7/ref/contrib/admin/#adminsite-attributes Yours, Russ Magee %-) On Sun, Oct 19, 2014 at 5:47 AM, Pat Claffey wrote: >

Re: Customize admin page title (from tutorial)

2014-10-18 Thread Pat Claffey
Hi, yes this is possible. I have recently done this tutorial and succeeded in customizing the title. In my opinion the instructions in this part of the tutorial are hard to understand. Here is what I did: 1.0 Navigate to the project directory mysite/mysite/ 2.0 Create a new sub-directory

Re: Customize admin page title (from tutorial)

2014-10-18 Thread Andreas Kuhne
I don't know if it is possible, but you can do it with the django-grappelli plugin Med vänliga hälsningar, Andréas Kühne Software Development Manager Suitopia Scandinavia AB 2014-10-18 14:16 GMT+02:00 : > Hi, > I am new to django. I am following Django

Customize admin page title (from tutorial)

2014-10-18 Thread praneeth4990
Hi, I am new to django. I am following Django tutorial(part2). I want to know how to customize title of my admin page from "*Django administration" to " some Text".* Help me..*! *Thanks in advance.. -- You received this message because you are subscribed to the Google Groups "Django

Re: Customize admin look & fee (Django 1.7 / Windows)

2014-10-06 Thread Bit Rainbow
Did you ever get an answer to this, I'm a bit unsure on why my template files aren't working? On Friday, September 26, 2014 7:41:27 AM UTC+1, Dario Chemello wrote: > > Uhm. > > site_title|default:_('Dario Administration') > > > Is site_title valorized??? > I think, if yes, that the problem

Re: Customize admin look & fee (Django 1.7 / Windows)

2014-09-26 Thread Dario Chemello
Uhm. site_title|default:_('Dario Administration') Is site_title valorized??? I think, if yes, that the problem is only there. But on tutorial, imho, this part is not so clear. Il giorno venerdì 26 settembre 2014 08:37:58 UTC+2, Dario Chemello ha scritto: > > Yes! > And I change on the

Re: Customize admin look & fee (Django 1.7 / Windows)

2014-09-26 Thread Dario Chemello
Yes! And I change on the template only the "title": {% extends "admin/base.html" %} {% block title %}{{ title }} | {{ site_title|default:_('Dario Administration') }}{% endblock %} {% block branding %} {{ site_header|default: _('Dario Administration') }} {% endblock %} {% block nav-global

Re: Customize admin look & fee (Django 1.7 / Windows)

2014-09-25 Thread Collin Anderson
Did you save your template here? C:/Users/Dario/mysite/templates/admin/base_site.html -- 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

Customize admin look & fee (Django 1.7 / Windows)

2014-09-25 Thread Dario Chemello
Hi all, I've read a lot about other posts regardind problems to this part of the tutorial: https://docs.djangoproject.com/en/1.7/intro/tutorial02/#customize-the-admin-look-and-feel I've tried everything, but nothing happen! - using TEMPLATE_DIRS = [os.path.join(BASE_DIR, 'templates')] as

Customize Admin Advice

2014-02-02 Thread brian
I'm hoping to get advice about customizing the admin. I have a series of filters I need to run and then I want the ability to loop though this list. I'm thinking of starting with a form where I can select the filter options. I want a next/previous buttons when I'm looping. How would I

How to customize admin site to upload multiple images

2009-11-22 Thread Radhikavk
hi, model class room_type(models.Model): room_type_id = models.AutoField(primary_key=True,null=False,blank=False) room_type_name = models.CharField(max_length=100,unique=True,null=False,blank=False) room_type_desc = models.TextField(null=True) standard_occupancy =

Overriding get_form to customize admin forms based on request

2009-03-28 Thread AndyB
I've tried various methods to achieve this. I decided against overriding formfield_for_dbfield as it's doesn't get a copy of the request object and I was hoping to avoid the thread_locals hack. I settled on overriding get_form in my ModelAdmin class and tried the following: class

Re: How to customize admin interface to edit foreignkey objects on the same page?

2009-01-09 Thread itsnotvalid
Just to add: would is be better to create a ParentProfile and link it to the default profile of user and then Subclass every other custom profiles to this ParentProfile and make some manager/model methods to all the system to find the user's profiles? Also would it be possible to access the

How to customize admin interface to edit foreignkey objects on the same page?

2009-01-08 Thread itsnotvalid
I have two model, say CustomProfile and User. When I want to edit CustomProfile I also want to edit the required User object at the same time, which means that for the admin it would look like they are joined together on the add/edit page of CustomProfile. However since I have different profiles

Re: Trying to customize admin interface form

2008-10-08 Thread bmsilva
That's what happens when I don't read the documentation until the end. Found this in django documentation: """ Templates which may be overridden per app or model¶ Not every template in contrib\admin\templates\admin may be overridden per app or per model. The following can: *

Trying to customize admin interface form

2008-10-08 Thread bmsilva
Hi, I tried to change submit_line.html in the admin interface for a particular model without success. /myproj/templates/admin/submit_line.html --> works /myproj/templates/admin/myapp/submit_line.html --> nothing happens /myproj/templates/admin/myapp/mymodel/submit_line.html --> nothing happens

Re: Customize Admin Object elements

2007-10-31 Thread äL
I would like to do the same. But if I try class Meta: ordering = ['name'] the drop down menu is still ordered by ID and not by name. Because name is in an other model (foreign key). This is my code: ### CODE ### class Person(models.Model): nameLast = models.CharField

Re: Customize Admin Object elements

2007-10-27 Thread Griffin Caprio
Gustaf, Awesome thanks. - Griffin On Oct 27, 2007, at 2:15 PM, [EMAIL PROTECTED] wrote: > > class MyModel(models.Model): > ... > > class Meta: > ordering = ['name'] > > /Gustaf > > On Oct 27, 8:07 pm, Griffin <[EMAIL PROTECTED]> wrote: >> Is there any way to customize the drop

Re: Customize Admin Object elements

2007-10-27 Thread [EMAIL PROTECTED]
class MyModel(models.Model): ... class Meta: ordering = ['name'] /Gustaf On Oct 27, 8:07 pm, Griffin <[EMAIL PROTECTED]> wrote: > Is there any way to customize the drop down lists that appear when > editing an object in the admin interface? I would like to change the > order

Customize Admin Object elements

2007-10-27 Thread Griffin
Is there any way to customize the drop down lists that appear when editing an object in the admin interface? I would like to change the order that elements appear. Instead of sorting by id, I would like to sort by another property such as name. I've already customized the Admin class within

Q: customize admin view of django.contrib.auth

2007-05-25 Thread Mikhail Gusarov
Hi, Is there way to customize admin interface for django.contrib.auth? We are using external authentication and authorization database, so several options in admin interface are to be hidden (user's password, permissions, 'add group' button etc), other are to be read-only (user's staff/active

Re: customize admin

2006-08-01 Thread Ian Holsman
Hi Gen-Nan.you can override the template that the admin app uses to generate the listing page if that helps.so for example in my performance monitoring app, I created a template admin/perf/log/change_list.htmland put that file in my template directory.now when i click on the 'perf/log' model in

customize admin

2006-08-01 Thread Gennan Chen
Hi!django's admin is pretty neat and I will like to customize it. I know there is a documentation to change its appearance. But how about I want to add a bit more function or buttons on the form. For example, I need to run some server side scripts/program after user click saving changes. How do I