Re: SQL Server Support - Does it Exist

2015-04-29 Thread Alex-droid AD
We try to use django-pyodbc on CentOS (python 2.7 + Django 1.8, connection to MS SQL Server 2012) While running 'migrare' I get the same error as mentioned above: 'django_pyodbc' isn't an available database backend Can't understand what has been done wrong... On Sunday, March 24, 2013 at 5:14:55

Fields outside Aggregation functions

2015-05-04 Thread Alex-droid AD
There is example in Django documentation about using Aggregate and Annotate clauses The same rules apply to the aggregate() clause. If you wanted to know the lowest and highest price of any book that is available for sale in a store, you could use the aggregate: Store.objects.annotate(min_pr

Re: Fields outside Aggregation functions

2015-05-04 Thread Alex-droid AD
4$* But I want to see wich book was selected by Max() function: *Publisher pr_maxbook_id* *Publisher-a; 1$; 2* *Publisher-b; 4$; 14* On Monday, May 4, 2015 at 1:48:30 PM UTC+3, Alex-droid AD wrote: > > > > There is example in Django documenta