On Sat, 2007-10-06 at 19:08 +0000, tim_perrett wrote: > Thanks for the speedy reply Malcom... > > Ive taken a look at loaders.py in the latest trunk... I see what you > mean; pretty interesting. I could just write my own loader, import any > classes I needed to use (like the django.http.HttpRequest so I can use > get_host()) and even use the ORM in the framework, again by importing > any given classes I wanted to use into that new, custom loader?
Yes. > To clarify, if I wanted to use this new custom loader in my project, > would I need to put it in with my Django installation? Or can i just > load it up from my project somehow? See [1] and [2]. At this point, spending some quality time with the documentation is going to answer a lot of your questions. [1] http://www.djangoproject.com/documentation/templates_python/#loader-types [2] http://www.djangoproject.com/documentation/settings/#template-loaders Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---