Re: startproject template context

2012-06-10 Thread Sam Simmons
Using a custom command with defined options will work quite nicely and be much clearer. Thanks for the suggestion! At the very least, the existing --template option shows an interesting example of using the template engine to render arbitrary files. On Friday, June 8, 2012 4:37:38 AM UTC-5, Jan

Re: startproject template context

2012-06-08 Thread Jannis Leidel
On 07.06.2012, at 17:32, Luke Plant wrote: > On 01/05/12 22:58, Ramiro Morales wrote: >> On Tue, May 1, 2012 at 11:04 AM, Sam Simmons wrote: >>> For app/project templates I found the docs a little misleading when they say >>> 'Any option passed to the startapp command' will be added to the conte

Re: startproject template context

2012-06-07 Thread Luke Plant
On 01/05/12 22:58, Ramiro Morales wrote: > On Tue, May 1, 2012 at 11:04 AM, Sam Simmons wrote: >> For app/project templates I found the docs a little misleading when they say >> 'Any option passed to the startapp command' will be added to the context. > > You' ve understood the documentation corr

Re: startproject template context

2012-05-06 Thread Sam Simmons
Here it is for future reference: https://code.djangoproject.com/ticket/18277 On Tuesday, May 1, 2012 4:58:16 PM UTC-5, Ramiro Morales wrote: > > On Tue, May 1, 2012 at 11:04 AM, Sam Simmons > wrote: > > For app/project templates I found the docs a little misleading when they > say > > 'Any op

Re: startproject template context

2012-05-06 Thread Sam Simmons
Ok, thanks. Will open one now. On Tuesday, May 1, 2012 4:58:16 PM UTC-5, Ramiro Morales wrote: > > On Tue, May 1, 2012 at 11:04 AM, Sam Simmons > wrote: > > For app/project templates I found the docs a little misleading when they > say > > 'Any option passed to the startapp command' will be a

Re: startproject template context

2012-05-01 Thread Ramiro Morales
On Tue, May 1, 2012 at 11:04 AM, Sam Simmons wrote: > For app/project templates I found the docs a little misleading when they say > 'Any option passed to the startapp command' will be added to the context. You' ve understood the documentation correctly. This is a feature that is currently (and A

startproject template context

2012-05-01 Thread Sam Simmons
For app/project templatesI found the docs a little misleading when they say 'Any option passed to the startapp command' will be added to the context. This got me thinking I could add arbitrary options to the