Re: Django.contrib.markup problems

2007-07-27 Thread Robert Coup
On 28/07/07, Steve <[EMAIL PROTECTED]> wrote: > I am on a shared hosting environment, and am attempting to make use of > the textile filter. I have installed the textile library in $HOME/lib/ > python2.3/site-packages, which is on my $PATH, and my $PYTHONPATH. I > can import textile through the

Re: problem with django dev server and subprocess.Popen

2007-07-06 Thread Robert Coup
Robert Coup wrote: > Carl Karsten wrote: > >> Malcolm Tredinnick wrote: >> >> >>> I don't know what htmldoc does, but if it tries to access the url you >>> give it, you can't do that. The dev server is single threaded. It is >>>

Re: problem with django dev server and subprocess.Popen

2007-07-06 Thread Robert Coup
Carl Karsten wrote: > Malcolm Tredinnick wrote: > >> I don't know what htmldoc does, but if it tries to access the url you >> give it, you can't do that. The dev server is single threaded. It is >> already serving one request (running your view), so it can't serve the >> second parallel access

Re: View (maybe middleware?) question

2007-05-30 Thread Robert Coup
Chris Kelly wrote: > I am in the process of writing an app that will have a "theme" based > on if a subdirectory is specified e.g.: > > http://somesite.com/app/(theme)/abunchofviews/ > > basically, if they go to /app/bluetheme/register, it'll give them a > registration page with a blue theme

Re: Offline Django Apps

2007-05-22 Thread Robert Coup
Rob Hudson wrote: > Cool. What's the best way to coordinate the effort? A wiki page to > start with? > Current trends seem to be to use Google Code for projects that aren't likely to become part of the core django distro. A link from the Django wiki is probably a good idea though. > 1)

Re: upload_to with username

2007-04-02 Thread Robert Coup
Stephen Mizell wrote: > I'm wanting to have upload_to for my file so it uploads to a different > directory for each user. This works when I use it with a newform, but > when I try to use the Django admin, it puts None as the username (I > want to base it on whatever username I select for

Re: Newbie Question: If statement in templates help

2007-02-25 Thread Robert Coup
Merric Mercer wrote: > I may be wrong but I believe that the you cannot use the If statement > inside a template to evaluate a specific value. You use it to > determine whether the object or value exists ( has been returned by the > view). > > I think that this is because the developers

Re: Django over modpython

2007-02-18 Thread Robert Coup
[EMAIL PROTECTED] wrote: > Yes, most of the hostings have fastCGI, but not flup. > I know the best is to have VPS hosting, but they are very expensive, > and I think I can manage with a shared hosting. > I think Blouehost looks good. > For VPS i can't recommend http://www.rimuhosting.com/

Re: [howto] Django profiling with hotshot and kcachegrind

2007-02-11 Thread Robert Coup
[EMAIL PROTECTED] wrote: > The link: http://www.rkblog.rk.edu.pl/w/p/django-profiling-hotshot-and- > kcachegrind/ > The cool screenshot: http://www.rkblog.rk.edu.pl/site_media/resources/ > python.rk.edu.pl/images/djangoprof2.png > > Kcachegrind can visualize profilers logs in many nice readable >

Re: javascript and form fields

2007-02-02 Thread Robert Coup
[EMAIL PROTECTED] wrote: > Not necessarily... You don't have to get them by ID. You can get them > by tagname or, with a simple helper, class name. > Or group them, then cycle through... something like > var controls = > document.getElementById("controls").getElementsByTagName("a") > for(var