My understanding from template system was:
Django template system is to create html files on fly while returning
the resulting html to user's browser !!!! and the resulting static files
would not be saved any where in file system.

How can I save the created files by template system on file system ?





________________________________
 From: kenneth gonsalves <[email protected]>
To: [email protected] 
Sent: Tuesday, June 19, 2012 3:42:34 PM
Subject: Re: Writing or editing files using Django
 
On Tue, 2012-06-19 at 00:40 -0700, Blaxton wrote:
> I am a newbie in Django and in need of some hints to 
> point in the right direction. 
> 
> I am building a new 
> application which users would enter some names and then 
> after 
> clicking on submit, some non .html files should be created or
> modified 
> while entered data should be inserted in some parts of the file that 
> have been created 
> or modified. also those files are not going to be
>  served in web, they are just 
> some static files located at 
> different locations in system for other uses. 

why use django? just plain html using cheetah or mako or jinja and some
python will do the trick.
> 
> should I start using template  to generate those non html files ? 
> does Django has
>  a module to create a file and capable of insert parameters to file ? 
> which python template is best suited and supported by Django ? jinja2 
> or mako or cheetah ? 

the django template language is best suited and supported by django - of
course you are free to use anything you want.
> 
> what is the best way of calling C++ 
> programs within Django ? 

subprocess.call()?
-- 
regards
Kenneth Gonsalves

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to