Admin site images not coming up in 1.1

2009-08-05 Thread emy_66
Hi, Just migrating my application to 1.1. Everything works fine except the images inside the admin site are not showing up. Any ideas why this may be? Everything worked with 1.0.1 and 1.0.2 I think. Thanks, Emily --~--~-~--~~~---~--~~ You received this message bec

Environmental variables not recognized by mod_python

2009-05-27 Thread emy_66
My django site isn't able to read my environmental variable - PATH - when run by mod_python. In my .profile file my path is /usr/local/ ncbi:/usr/local/bin. This gives me access to programs I call using subprocess from django. Could I get your advice as to what I should do? A search on google tell

threading causes connection reset in firefox

2009-01-26 Thread emy_66
Hello, I have a problem regarding the connection reseting in firefox (but not in IE) when I start a thread within a function in views.py. I use the thread to start another function running whilst I return a response showing a 'please wait' page. What seems to be happening is that when the proces

Mozilla connection interrupted error while using thread running python subprocess popen in shell

2008-10-20 Thread emy_66
Hello, I don't know much about networking. I keep getting a connection interrupted error page when I start a thread which runs the python subprocess popen method: "proc = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE)". After starting this thread my function returns a render to re

How to render a static html page and keep processing after?

2008-09-15 Thread emy_66
Hello, I'm new to web development and I am not sure how to code for this: Displaying an html page straight away after the user hits submit (telling the user that they will be notified by email when their job has finished running), whilst running the time-intensive task in the background. Any ad

Re: Data too long for column error using textfield

2008-06-05 Thread emy_66
I'm not sure if this is a bug or an error on my part. Any ideas will be appreciated. I am able to input the first three lines of this into the database before I get this error message so I'm guessing it's not any special characters nor the line breaks - this is the same with other similar data. Al

Data too long for column error using textfield

2008-06-03 Thread emy_66
Hi All, I have a problem with a DataError at /admin/polls/poll/5/ (1406, "Data too long for column 'choice' at row 1"), even though the model field is set as a textfield which is taking longtext. The data I'm trying to input is this below, as you can see it's not very long at all. I've tried set

How to change admin interface text boxes to text areas?

2008-05-28 Thread emy_66
Hello, I'm new at Django and is wondering if anyone knows how to change the text boxes that appear in the edit section of the admin pages to text areas? A couple of my attributes are very long strings with '\n' in them and when they appear in the text boxes only the first line appear. It would be

Re: TEMPLATE_DIRS problem -windows

2008-05-22 Thread emy_66
Hi Rajesh, I checked that and it is...Any other suggestions? Thanks Emily On May 22, 11:23 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > Hi Emily, > > On May 22, 1:42 am, emy_66 <[EMAIL PROTECTED]> wrote: > > > I'm doing the tutorials and am up to part

TEMPLATE_DIRS problem -windows

2008-05-21 Thread emy_66
I'm doing the tutorials and am up to part 2 where we can customise admin look and feel - I cannot get django to read my customise template file by editing TEMPLATE_DIRS. I am working in windows using the lastest dev version of django. I notice that even if I place a path that does not exist into