Ok, I've got a new problem. I've set up the files as in the examples
in the Django book.

The @login_required decorator always sends the user to /accounts/
login. However, since this uses the same css as the other templates, I
try and have it inheriting from them.

The problem is that it then trys to serve the css from the wrong url -
in the server window I get

 "GET /accounts/site_media/default.css HTTP/1.1" 404 2644

whereas the correct path is /site_media/default.css

Obviously I could use a different template for this, but then I have
to use a different template for each level of the file system
hierarchy - how else can I get round this?

Thanks,
Matt


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to