In this screencast I cover NewForms Personalization. Often you have a drop down or some other field in your NewForm that you need to have personalized, or changed based on the logged in user or other instance criteria. This screencast will show you how to accomplish that in your applications.
Source code for the screencast is provided below. Please be sure to read the README file included in the download.
Downloads
Regular (20.8 MB, 13:31, H.264, MP4)
IPod (9.8 MB, 13:31, H.264, MP4)
Source Code (124 KB)
Requires the latest version of QuickTime, VLC Media Player, or comparable software capable of playing MP4 container format and the H.264 codec.



You could define init as:
def init(self, user, **kwargs): ...
That way, user never ends up in the kwargs dictionary.
Wow, that was great! I’m still learning both Python and django, and these are really helpful.
I was wondering, do you publish your django app source anywhere? but your delnquent app is interesting from a learning perspective.
Thanks again, and keep ‘em coming.
J
janr: yeah a much better idea. Thanks.
John M: The source code is available above in the downloads section. It’s the application I was working with in its completed state. It’s all MIT License so feel free to do whatever you wish.
I think you can put a flash player here. The new version could play mp4 files directly (although it may require a fix of moov atoms to play it progressively.)
itsnotvalid: I’m working on flash for the screencasts as well. It’s just been a time issue to get everything in place. Hopefully in the next week or two.