Error in DojangoDatagrid sample

10 views
Skip to first unread message

Fred Chevitarese

unread,
Dec 20, 2010, 12:42:44 PM12/20/10
to dojango-users
Hi all!

I'm trying to use DojangoDatagrid following the tutorial in
http://code.google.com/p/dojango/wiki/DojangoDatagrid.

But, when i test the page, i get the grid without information. Only a
message "Sorry, an error occour"

I've looked with firebug and i see that the error was in googleapi.
so, i made a downgrade in dojango and that error stops. But i still
get no data in the grid.

I made everything like the tutorial.

I know there's no much information, but, anyone can try to help me?

Here's my files in dpast ;)

Models.py --> http://dpaste.com/hold/288679/
Views.py --> http://dpaste.com/hold/288680/
temp.html --> http://dpaste.com/hold/288681/

I try with the templatetags too and got the same error.
The database has values,. (i followed the tutorial and generate data)

i'm using Dojango_0.4.7 final version =D

Thanks in advance and sorry about my poor english ...

klipstein

unread,
Dec 20, 2010, 5:13:01 PM12/20/10
to dojango-users
Hi Fred,

maybe you are just missing the setting (in your settings.py) that you
can access the model within your app:

DOJANGO_DATAGRID_ACCESS = ("myapp.Test", "myapp.Result",)

Regards, Tobias

On Dec 20, 6:42 pm, Fred Chevitarese <fchevitar...@gmail.com> wrote:
> Hi all!
>
> I'm trying to use DojangoDatagrid following the tutorial inhttp://code.google.com/p/dojango/wiki/DojangoDatagrid.

Fred Chevitarese

unread,
Dec 20, 2010, 5:46:37 PM12/20/10
to dojang...@googlegroups.com
I'll do it tomorrow because the codes were on my notebook.
But the documentation says nothing about this setting, or do I'm too slow?! : P

Thanks in advance ;) 

http://chevitarese.wordpress.com
Fred Chevitarese - GNU/Linux


2010/12/20 klipstein <tobias.k...@googlemail.com>
--
You received this message because you are subscribed to the Google Groups "dojango-users" group.
To post to this group, send email to dojang...@googlegroups.com.
To unsubscribe from this group, send email to dojango-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dojango-users?hl=en.


klipstein

unread,
Dec 21, 2010, 3:35:19 AM12/21/10
to dojango-users
Hi Fred,

the documentation clearly states it.

Regards, Tobias

On Dec 20, 11:46 pm, Fred Chevitarese <fchevitar...@gmail.com> wrote:
> I'll do it tomorrow because the codes were on my notebook.
> But the documentation says nothing about this setting, or do I'm too slow?!
> : P
>
> Thanks in advance ;)
>
> http://chevitarese.wordpress.com
> Fred Chevitarese - GNU/Linux
>
> 2010/12/20 klipstein <tobias.klipst...@googlemail.com>
> > dojango-user...@googlegroups.com<dojango-users%2Bunsu...@googlegroups.com>
> > .

Fred Chevitarese

unread,
Dec 21, 2010, 5:28:44 AM12/21/10
to dojang...@googlegroups.com
Thanks :P 


Fred Chevitarese - GNU/Linux



2010/12/21 klipstein <tobias.k...@googlemail.com>
To unsubscribe from this group, send email to dojango-user...@googlegroups.com.

Fred Chevitarese

unread,
Dec 21, 2010, 6:14:25 AM12/21/10
to dojang...@googlegroups.com
Show!!! 

That was the error... Sorry :P 

Thanks! 



Fred Chevitarese - GNU/Linux



2010/12/21 Fred Chevitarese <fchevi...@gmail.com>
Reply all
Reply to author
Forward
0 new messages