Re: future of QuerySet.extra()?

2015-08-04 Thread Anssi Kääriäinen
On Tue, Aug 4, 2015 at 8:06 AM, Tai Lee wrote: > I think that while `extra()` gets a bad rap, it is extremely useful when > creating generic pluggable apps, and I for one would miss it if it were to > be removed. The idea is that expressions should do everything that extra() can do. There might b

How to disable system check framework?

2015-08-04 Thread Marcin Nowak
Hi, I need to upgrade project to Django 1.8 but the SystemCheck Framework bothers me. It complains about thigs that should work, even if they are a little tricky. I need to disable system checks designed for blogs and other simple sites. How can I do that? Best Regards, Marcin -- You receive

Re: How to disable system check framework?

2015-08-04 Thread Carl Meyer
> On Aug 4, 2015, at 9:18 AM, Marcin Nowak wrote: > > I need to upgrade project to Django 1.8 but the SystemCheck Framework bothers > me. > It complains about thigs that should work, even if they are a little tricky. > > I need to disable system checks designed for blogs and other simple sites

Re: How to disable system check framework?

2015-08-04 Thread Marcin Nowak
Thanks, Carl. I know about silencing but I want to disable unwanted "feature". Working with Django is getting harder with every new version. On Tuesday, August 4, 2015 at 3:25:22 PM UTC+2, Carl Meyer wrote: > > > > On Aug 4, 2015, at 9:18 AM, Marcin Nowak > wrote: > > > > I need to upgrade p

View permissions to admin

2015-08-04 Thread petr . dlouhy
Hi, 4 months ago, I have implemented view permissions for Django admin and posted it under following ticket: https://code.djangoproject.com/ticket/8936 The patch in my branch contains tests and documentation. I am willing to give my time to make this commited to official Django branch. But I w

Re: future of QuerySet.extra()?

2015-08-04 Thread Shai Berger
Hi, On Tuesday 04 August 2015 03:28:03 Josh Smeaton wrote: > On Tuesday, 4 August 2015 07:10:05 UTC+10, Shai Berger wrote: > > On Monday 03 August 2015 10:27:14 Anssi Kääriäinen wrote: > > > You can annotate raw SQL with expressions. I think the only case that > > > can't be done with expressions

Re: future of QuerySet.extra()?

2015-08-04 Thread Anssi Kääriäinen
On Tuesday, August 4, 2015, Shai Berger wrote: > > The classic database aggregation examples involve aggregation over time: > Sum > of sales per quarter (which is, itself, a function over date); average > temparature per month; etc. All these require group-by clauses which name > (expressions over

Re: future of QuerySet.extra()?

2015-08-04 Thread Josh Smeaton
You're right about that. You can aggregate over custom expressions. For aggregating over enums you should be able to use case expressions On Wed, 5 Aug 2015 at 05:05 Anssi Kääriäinen wrote: > On Tuesday, August 4, 2015, Shai Berger wrote: >> >> The classic database aggregation examples involve

Re: Setting up Django Over Apache Web-server

2015-08-04 Thread Russell Keith-Magee
Hi Mudassar, If you're looking for help on how to use or deploy Django, you should post to the django-users mailing list. This list is for discussing the development of Django itself. Yours, Russ Magee %-) On Tue, Aug 4, 2015 at 7:36 AM, Mudassar Hashmi < mudassarziahash...@hotmail.com> wrote:

Re: How to disable system check framework?

2015-08-04 Thread Josh Smeaton
Your "scare quotes" for "feature" are really disappointing. Especially considering that the checks were hardcoded and couldn't be silenced prior to the "system check framework". > Working with Django is getting harder with every new version. If you want to turn off new features or extension poi

Re: View permissions to admin

2015-08-04 Thread Josh Smeaton
Hi Petr, Thanks for working on that ticket. I'm probably not the person to be reviewing work in the admin, but here are a few ideas for getting your patch noticed. 1. Create a pull request against the Django repository. Even if it's not ready to be merged, a pull request makes it a lot easier