Hi Folks

project-name is "heller"
site-name is "personal"

my directory-structure (in short)

heller/
      personal/
           views.py
           .
           .
      templates/
           personal/
                 includes/
                 x.html
                 y.html
                 .
                 .
     settings.py
     url.py
     .
     .
I'd like to save some java-script functions in external files
quadrat.js, store them in
                heller/personal/templates/personal/includes/
or in
               heller/personal/templates/personal/

and include them in an html-file with

   <script src="quadrat.js" type="text/javascript"></script>

But I don't know, how is the "src=..." to reach this .js-File.
Problem of not enough understanding of Djangos-URL-Structure.

Please -give me some hints.

And I know about {% include %} - Tag.

Thx
Timothy
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to