You could run the django-cube tests !
If you don't give me the error trace, I cannot really help you !
On Sep 11, 8:10 pm, Lucian Romi wrote:
> Thanks for your help. It's very clear.
> I used measure_list method but it thrown and exception.
> Here's how I did,
> In my app's ModelAdmin I override
Thanks for your help. It's very clear.
I used measure_list method but it thrown and exception.
Here's how I did,
In my app's ModelAdmin I override changelist_view method.
I was able to get the queryset, then instantied cube with this queryset.
If I didn't call measure_list, everything works fine. B
class MyModelCube(Cube):
my_dimension = Dimension(field='my_float_field__range',
sample_space=[(0, 1.5), (1.5, 6.2)])
@static
def aggregation(queryset):
return queryset.count()/MyModel.objects.count() * 100
Basically when you declare a dimension, you can us
Also, need I define "my_float_field__range"? Thanks
On Fri, Sep 10, 2010 at 6:52 PM, Lucian Romi wrote:
> Hi, Sebastien
>
> Follow your instruction, I was able to create a Cube object and define
> sample_space.
> However, I don't know how to retrieve the measure result. Can you tell
> me how to d
Hi, Sebastien
Follow your instruction, I was able to create a Cube object and define
sample_space.
However, I don't know how to retrieve the measure result. Can you tell
me how to do that?
What do you mean by "instantiate a cube with a base queryset, and use
one of the methods
provided to calculat
To integrate a calculated value with search features from admin app, I
don't know any other way than create and save a calculated field on
your model ...
This calculated field, you can calculate it with cube ... but if you
don't use the Cube for any other statistic than that, it is too much
overhea
Thanks Sebastien.
Can I integrate Cube with filter and search features from the admin app?
Also, to make things simple, I'm going to use GChart, but I need
statistic data.
Let me download Cube and spend some time on it. Thanks.
On Mon, Aug 30, 2010 at 4:16 PM, sebastien piquemal wrote:
> I creat
I created an app to easily generate the stats part :
http://code.google.com/p/django-cube/ ; however you still have to
create the chart, for example with matplotlib :
http://www.scipy.org/Cookbook/Matplotlib/Django.
To create your stats with django-cube, you can use this code :
from cube.mode
On 30 août, 20:24, hollando wrote:
> I want to make a statistic app.
> There is a float field in my model(table).I want to use a chart to
> show what's the percentage in each range.
> Any suggestion to make such and app that can fit into django model.
Nope, but reposting the same question two tim
I want to make a statistic app.
There is a float field in my model(table).I want to use a chart to
show what's the percentage in each range.
Any suggestion to make such and app that can fit into django model.
Thanks.
--
You received this message because you are subscribed to the Google Groups
"D
10 matches
Mail list logo