Dojango + DB Model

26 views
Skip to first unread message

Nathan

unread,
Dec 27, 2011, 10:39:39 AM12/27/11
to dojango-users
Hey Guys,

Just found dojango and really happy with what I see, great work!

I do however have a big DB model and I need an advanced yet simple to
use Datagrid,

any suggestions?

Thanks.

- Nathan

Tobias Klipstein

unread,
Jan 2, 2012, 4:22:44 AM1/2/12
to dojango-users
Hi Nathan,

I would suggest having a look into http://code.google.com/p/dojango-datable/
or https://github.com/SitePen/dgrid.git.

Regards, Tobias

Michal Pasternak

unread,
Jan 2, 2012, 5:02:41 AM1/2/12
to dojang...@googlegroups.com
I created dojango-datable. I use it for my own project and it looks like that with the latest updates to the API, I can do a lot of funky stuff, especially with ForeignKeys - without escaping to lambda functions. 

In case I need to create something special for my application - I can reuse it later.

Unfortunatley, there is totally no documentation for the project, and some parts of it are complicated.

First of all, we have Columns - that display data. 

Columns use Serializers to get the information from the model. Columns also are UI elements, and they allow sorting of the QuerySet.

Widgets are user UI elements, that take input from user and can be used to filter the QuerySet. Widgets use various Converters to convert Python data to and from JavaScript. 

Both Columns and Widgets are bundled together in the Storage object - which also bundles the QuerySet.

Storage is wrapped in the Table object. Table can be rendered on the webpage.

Please see example app in dojango-datable for an implementation. 

-- 
m


2012/1/2 Tobias Klipstein <tob...@uxebu.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.




--
Pozdrawiam,
Michał Pasternak
+48 793 66 87 33
Reply all
Reply to author
Forward
0 new messages