On Mon, Aug 20, 2012 at 5:24 PM, Amyth Arora <[email protected]> wrote:
> Hey,
Thanks for the kind help.
>
> seems you are using django 1.4. FYI ->
Yes, you are right.
> django.template.loaders.app_directories.load_template_source has been
> deprecated so you should rather use
> django.template.loaders.app_directories.Loader
I had already added this to my file, but i made a mistake that i did
not remove the load_template_source.
Thanks again, it works for me.
> Just change :
>
> django.template.loaders.app_directories.load_template_source
> TO
> django.template.loaders.app_directories.Loader

> in the TEMPLATE_LOADERS dictionary in your settings.py file and it
> should have it fixed.
>
>
> On Mon, Aug 20, 2012 at 4:30 PM, Satinderpal Singh
> <[email protected]> wrote:
>> I have to deploy osmeditor on my system, and download code from the
>> link: http://wiki.openstreetmap.org/wiki/Editors/Django
>> The database used in this was postgis, but i have mysql on my system,
>> as the tables was successfully made by changing in the settings.py
>> file, but on running it in the browser, it gives the following error:
>>
>> Error importing template source loader
>> django.template.loaders.filesystem.load_template_source: "'module'
>> object has no attribute 'load_template_source'"
>>
>> If anybody helps me to solve the problem. Thanks in advance.
>>
>> --
>> Satinderpal Singh
>> http://satindergoraya.blogspot.in/
>>
>> --
>> 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.
>>
>
>
>
> --
> Thanks & Regards
> ----------------------------
>
> Amyth [Admin - Techstricks]
> Email - [email protected], [email protected]
> Twitter - @a_myth_________
> http://techstricks.com/
>
> --
> 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.
>



-- 
Satinderpal Singh
http://satindergoraya.blogspot.in/

-- 
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