Shouldn't you really be putting your js/css in your static directory?
Check out the docs for managing static files:
https://docs.djangoproject.com/en/1.3/howto/static-files/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this
In this lesson I’ll show you how to make Django load your template
containing CSS and image.
1. Let’s create a project ‘girl’:
django-admin.py startproject girl
2. In ‘girl’ directory we create 2 new directories:
- templates
- media
3. Put index.html in ‘templates’ directory.
--
2 matches
Mail list logo