intriguing django session save behavior

2012-03-18 Thread pyramid...@gmail.com
If i clear my cookies and run this view, i get a new session key each page load. If I comment out the print, and output the session key in the template, new session key each load. If I print session key in both view and template, the session key is 'saved' and remains the same each page load.

Re: Templates Cant find the CSS file

2009-01-12 Thread pyramid...@gmail.com
ok, I have been trying to set up Apache and mod_python. I followed all the tutorials, i seem to be getting the similar to error to alot of ppl but the solutions don't work for me. ImportError: Could not import settings 'bltss.settings' (Is it on sys.path? Does it have syntax errors?): No module

Templates Cant find the CSS file

2009-01-12 Thread pyramid...@gmail.com
Im trying to get the template to load the CSS, but it does not load, the server output shows a 404. in templates directory i have /default/layout.html (this is the website layout) /articles/index.html (the template defining blocks to replace in the template) I've tried a few things, im not

The First Page

2009-01-11 Thread pyramid...@gmail.com
Hello django users I am slightly confused with starting out I just want to start with the initial index page Do i need to create an app for that and then have views.py send me to the index.html template OR is this a bad way to do it how do u handle the url where they just type in the