Re: Django Admin New Look

2015-05-23 Thread Andy Baker
Hi, Is this thread still the most up to date place for discussing this? I'm trying to work out what the current status is and whether it is likely to land in 1.9. For the benefit of anyone else coming to this late here's what I can track down: Last comment here prior to mine was jezdez on Apr

A modest proposal - more blocks in admin templates

2015-07-24 Thread Andy Baker
Happy to do some work on this but wanted to get some feedback first. Loose methodology: 1. Skim the most popular admin extensions that exist on django-packages etc 2. Look out for places where they've had to copy entire admin templates to only override a small part 3. Add new {% blocks%} into t

Re: A modest proposal - more blocks in admin templates

2015-07-24 Thread Andy Baker
t;> https://code.djangoproject.com/query?status=assigned&status=new&component=contrib.admin&stage=Accepted&page=2&col=id&col=summary&col=status&col=owner&col=type&col=version&desc=1&order=id >>> >>> I am not sure how much value do

Re: A modest proposal - more blocks in admin templates

2015-07-24 Thread Andy Baker
gt; can think of. Send a pull request after changing a few templates so we can > get a flavor and see if you are on the right track. > > We don't have a big problem with trivial patches like this languishing. > > On Friday, July 24, 2015 at 10:43:38 AM UTC-4, Andy Baker wrote: &g

Re: Django Admin New Look

2015-07-29 Thread Andy Baker
I do a lot of projects with highly customized admins and having the full font awesome would be splendid. One option is to use optional requirements: pip install django[all-icons] but I don't think Django does this anywhere else so it's probably a big leap for a small part of contrib.admin Maybe

Field.get_flatchoices seems to never get used

2015-08-02 Thread Andy Baker
I'll file a ticket but I wanted a quick sanity check first. In db.models.fields.Field there is a method called get_flatchoices (as well as _get_flatchoices which is turned into a property). I've searched the source for 'get_flatchoices' and it's never called. There doesn't appear to be any ment

Re: Try out new inline features [GSoC admin-ui]

2009-07-07 Thread Andy Baker
Mmmm. That's a fair point but that article was written before web applications were so application-ey and expectations may well have changed. (I've noticed a lot of semi-modal dialogs in web apps complete with 'cancel' buttons and with javascript dialogs the back button doesn't do what Jakob impli

Re: The low down on the "Unsettings" project

2014-06-20 Thread Andy Baker
This sounds really interesting. Is there anything about this in writing? I'm not a fan of listening to audio on tech subjects (must... skim... read...). Not sure if anyone else shares this prejudice but do post here if there is a follow-up blog post or similar. -- You received this message bec

The 'rule'

2014-06-30 Thread Andy Baker
Hi, I was about to start a discussion about a patch I'd like to contribute when I remembered there is a rule about contributions. Is it the '5 for 1' rule? Something like that - the regulars here will know immediately what it is I'm trying to remember! I did try and find it here: https://docs

Re: Proposal new Django Admin css style

2014-08-23 Thread Andy Baker
I really like Thiago's new skin and I love the fact it's CSS only. The key thing to remember in any discussion about updating the admin is that there are three levels: 1. CSS/Static only - little to no breakage of 3rd party apps 2. Updated HTML - many apps that overrride admin templates or rely

Re: thinking about the admin's scope and its description in the docs

2016-02-10 Thread Andy Baker
I can't help but feel that the "admin is very rudimentary and hard to customize" is perpetually overplayed by many in the community. Maybe I'm suffering Stockholm Syndrome but I'd like to raise a dissenting voice. I find it the quickest and most efficient way to provide an admin interface for s

Re: thinking about the admin's scope and its description in the docs

2016-02-10 Thread Andy Baker
more general Django features can be glued together. On Wednesday, 10 February 2016 13:55:02 UTC, Andy Baker wrote: > > I can't help but feel that the "admin is very rudimentary and hard to > customize" is perpetually overplayed by many in the community. Maybe I'm >

Re: thinking about the admin's scope and its description in the docs

2016-02-11 Thread Andy Baker
ces on this rather monolithic page: https://docs.djangoproject.com/en/1.9/ref/contrib/admin/ A single 'common ways to customize the admin' page could go a long way to helping here. On Thursday, 11 February 2016 01:33:03 UTC, Curtis Maloney wrote: > > > > On 11/02/16 00:

Re: thinking about the admin's scope and its description in the docs

2016-02-12 Thread Andy Baker
to add these incredibly common >> features. This is probably one of my favorite things about the django >> framework. >> >> On Wednesday, February 10, 2016 at 5:33:03 PM UTC-8, Curtis Maloney wrote: >>> >>> >>> >>> On 11/02/16 00:55, Andy B

Admin: Allow FilterSpecs to return Q-likes

2016-10-07 Thread Andy Baker
In a few cases I've had to do filtering in Python because it wasn't possible purely at the db level. (mainly in cases where I'm expected small result sets obviously). I'd like to see this remain possible with any future changes. -- You received this message because you are subscribed to the Goo

Admin: Allow FilterSpecs to return Q-likes

2016-10-07 Thread Andy Baker
Actually - my recollection was faulty. As the queryset method always has to return a queryset (dur) I am not sure that I'm actually doing anything that couldn't be expressed as a Q object. I'm just doing some funky stuff to get my queryset in shape. So I suppose my question is this - are there