Hi all,
perhaps I've missed something important in my very-beginning with
Django, because I encouter a problems with JavaScript localization.
1. I serve .js as a static files directly by Apache, so they reside on
MEDIA_ROOT out of project/apps folder tree
-> I cannot build message files. I need to move .js files among
remaining source files and do manual deployment of those files
into proper location on MEDIA_ROOT
2. Once .js moved, I can build them into myproject/locale/.... folders,
by I cannot refer them from templates - if I enter 'myproject', it does
not work. I have to move locale folder into next level, eg.
'myproject.myapp' to be found.
###
ad 1. What is a recommended way to manage .JS files in Django projects?
ad 2. Is there a way how to refer project level locales or they can reside
just on application level only?
Thanks, Peter
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---