Re: Google Analytics API

2014-10-21 Thread Florian Apolloner
Hi, this mailinglist is about the development of Django itself, you should write to django-users. Cheers, Florian On Wednesday, October 22, 2014 8:33:30 AM UTC+2, Muhammed Tüfekyapan wrote: > > Hi Everyone, > > > > I want to make an app. User come on site, they signed in and give access > to

Google Analytics API

2014-10-21 Thread Muhammed Tüfekyapan
Hi Everyone, I want to make an app. User come on site, they signed in and give access to their google analytics account. And I generate some reports for them. I try to use Google Analytics API but I think I use the wrong one. https://developers.google.com/analytics/ Which one I should use?

Re: cursor.callproc()

2014-10-21 Thread Shai Berger
On Monday 20 October 2014 21:26:50 Carl Meyer wrote: > Hi Marc, > > On 10/19/2014 12:54 AM, Marc Tamlyn wrote: > > I guess now with migrations we have a nice way of running the SQL > > against the database to create the stored procedures. > > > > However if we plan to make this a public API, it s

Re: cursor.callproc()

2014-10-21 Thread Shai Berger
On Tuesday 21 October 2014 18:23:44 Chris Foresman wrote: > Is there some benefit to using `.callproc()` over this? > > ``` python > query = 'CALL sp_recommendation_engine(%s, %s)' > profile = user.get_profile() > cursor = connection.cursor() > cursor.execute(query, [user.id, profi

Why doesn't ModelChoiceField.queryset support slicing?

2014-10-21 Thread Kamil Śliwak
Hi I have just stumbled upon a problem with how ModelChoiceField handles its 'queryset' argument and I'd like to ask whether it's a deliberate design choice or if I should report it as a bug. Let's say you have a model called Book: class Book(models.Model): rating = models.Integer

Re: cursor.callproc()

2014-10-21 Thread Chris Foresman
Is there some benefit to using `.callproc()` over this? ``` python query = 'CALL sp_recommendation_engine(%s, %s)' profile = user.get_profile() cursor = connection.cursor() cursor.execute(query, [user.id, profile.id]) ``` On Monday, October 20, 2014 1:29:49 PM UTC-5, Carl Meyer wr