My templates don't render correctly

2009-06-19 Thread mojo
Does anyone know why django doesn't render pages with trailing slashes? I have a template that looks something like this: templates/ - _base.html - index.html - work/ - subfold1/ -sub1_index.html - subfold2/ - f1_index.html

Re: My templates don't render correctly

2009-06-19 Thread Karen Tracey
On Fri, Jun 19, 2009 at 3:58 PM, mojo wrote: > > [snip] > in the "urls.py" file > ... > ... > (r'^work$', direct_to_template, {'template': 'work/f1_index.html'}), > (r'^work/w1/$', direct_to_template, {'template': 'work/subfold1/ > sub1_index.html'}), > ... > ... > > > when I open the page: (ht

Re: My templates don't render correctly

2009-06-19 Thread mojo
Thanks for the reply Karen... but I still didn't get the CSS thing. here how is "mysite" folder looks like: settings.py urls.py ... ... templates/ - _base.html - index.html - work/ - _base_work.html - subfold1/ -sub1_index.html -

Re: My templates don't render correctly

2009-06-19 Thread Gabriel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 mojo escribió: > {% block title %} Home {% endblock title %} > type="text/css" / >

Re: My templates don't render correctly

2009-06-19 Thread mojo
Will... I thought there is a problem with "media_root","settings.py", or the way I served the static files... I didn't expect that at all... But, that solved the problem! I really appreciated it! Thank you! On Jun 19, 9:03 pm, Gabriel wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 >