I completely agree with Vinay Sajip. If you are going to create an application with django with GWT, this means that django will be the backend, and GWT will be the interface, and they exchange data via JSON.
So, if you are thinking about exposing your basic django model directly for the GWT interface, your program is too simple or you are designing with a missing layer - data transfer objects (DTOs). When the GWT interface is present, it does not need all the attributes from the backend model, in fact, it should only transmit what it needs.
One simple example: if you are creating an email application, you certainly do not want to transfer all the content of the email body when downloading the email name listing. (Run firebug and spy on gmail, you will be delighted)
I also struggled with the same problem for a while, especially if you followed the RPC line of thinking.
user658991
source share