Re: Developing on Apache w/ mod_python

2009-06-21 Thread gte351s
> Don't use: >   > and use: >   Works like a charm. I now remember reading it and then it blanked out. Thanks! Shilo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: Developing on Apache w/ mod_python

2009-06-18 Thread gte351s
SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE mysite.settings PythonOption django.root /mysite PythonDebug On PythonPath "['/home/gte351s/dev/django'] + sys.path" #

Re: Developing on Apache w/ mod_python

2009-06-16 Thread gte351s
Gabriel - thanks for the quick response. Sorry for the delay in answering, I was away for a bit :) I had some issues with the setup, but I think I'll put it on hold for a bit and use the django built-in dev-server for now. Many thanks! shilo On Jun 15, 8:47 pm, "Gabriel ."

Developing on Apache w/ mod_python

2009-06-15 Thread gte351s
django.test DocumentRoot "/home/gte351s/dev/django/mysite" PythonPath "['/home/gte351s/dev/django/mysite', '/usr/local/lib/python2.6/dist-packages/django'] + sys.path" SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJ

Re: GHRML Documentation

2009-06-15 Thread gte351s
> It's a generic templating language, it's not particularly geared toward HTML. > It's no HAML (you'll still get to write all the HTML yourself), but writing > custom tags is much easier than with Django. Also, it compiles templates to > Python code, which makes it reaaally fast. fast is always

Re: GHRML Documentation

2009-06-14 Thread gte351s
kg - Nothing special about it I don't like, it's just that I find the HAML/GHRML syntax very clean and readable. It's a matter of taste, I suppose :) Emm - I've looked at Mako, though it doesn't look too far off from normal template HTML **at first glance** (I'm sure I've barely skimmed the

GHRML Documentation

2009-06-13 Thread gte351s
I'm trying to learn how to work with django after working with ruby on rails for some time (not too long). Rails has a nice template language called Haml (http://haml.hamptoncatlin.com/), which I find much more readable than regular HTML. It is also indent oriented, which all python fans must