Re: {% include %} for remote files?

2008-01-16 Thread Derek Steinkamp
Yeah, #3 is probably what I'll end up going with. The files in question are a standardized lab-wide header/footer/css. They don't change often, but they may in fact change and I would like to keep current. Good point made in #2, I didn't really think of that. I just wish HTML had something in

{% include %} for remote files?

2008-01-16 Thread Derek Steinkamp
Hi, I am looking to use {% include "file.html" %} in templates, but instead of including a local HTML file via absolute path, I would like to include an HTML file via a URL {% include "http://path.to/remote/file.html"; %}. Django doesn't currently appear to support this. Is there any other wa

Re: Accessing Multiple Databases

2007-12-12 Thread Derek Steinkamp
//code.djangoproject.com/wiki/MultipleDatabaseSupport > > On Dec 11, 2:48 pm, Derek Steinkamp <[EMAIL PROTECTED]> wrote: > >> I read through all the relevant documentation but I couldn't find any >> info on an issue I am about to face: accessing multiple tables

Accessing Multiple Databases

2007-12-11 Thread Derek Steinkamp
I read through all the relevant documentation but I couldn't find any info on an issue I am about to face: accessing multiple tables in different databases with Django. Here's a quick example: My Django app (MyApp) has r/w access to the MyApp database on MySQLserver1, and all of MyApp models l