How can transmit variable and values to Django template other then Context?

2010-04-23 Thread JohnHenry
Hi, all As I know, Django Templates got all variables through views function with Context dict; But I read some source, There is some variables like {{SITE_ROOT}} {{MEDIA_URL}} {{MEDIA_SERIAL}} {{request}} {{ user }} {{siteconfig}} ; Such variables seems globlly usable; But I can't find any C

Ask for help about extending development on Django apps

2010-04-14 Thread JohnHenry
Hi, all I want to do some change on existing django models; I want to add two fields to an existing model and update Database tables; The Django document said syncdb command won't change existing table structure. And It said "use the sql command to display the new SQL structure and compare that