Help with error uploading files

2012-11-07 Thread Carlos Aguilar
Hello, I am working in a project that requires you upload an image in a model. The project was started by other developer. Today testing, without realize changes in the model I am receiving the following error: 'cStringIO.StringO' object has no attribute 'size' I not have idea what is causin

Re: tutorial first step. -ImportError: No module named django.core-

2012-11-07 Thread Daniel
Hi Elena, I actually had the exact same problem Francesco was having. I wasn't able to start a project, and then I tried your question. The cmd line went something like this: (env) path/to/directory/python env/Scripts/django-admin.py startproject newproject It worked! While I'm happy with t

Re: reading raw binary data from clob columns using oracle backend

2012-11-07 Thread Michał Nowotka
I mean BLOB, sorry. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/nI-3ngGIdA8J. To post to this group, send email to django-users@googlegroups.com. To uns

Re: Incorrect Python Version Being Used

2012-11-07 Thread Bestrafung
Thanks for the info. I built mine using: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-python=/opt/python2.7/bin/python I'm fairly certain everything is good there. I'm able to load both projects individually using "python manage.py runserver 0.0.0.0:8000" without issue. The trouble

reading raw binary data from clob columns using oracle backend

2012-11-07 Thread Michał Nowotka
Hello, I'm working with oracle legacy DB and need to read and write binary data (png images, and and MDL *Molfiles*). Django's inspectdb command generated text fields for these columns, saying that's only a guess. Now, when I'm trying to retrieve a value from this class fields i get: DjangoUnicodeD

Re: tutorial first step. -ImportError: No module named django.core-

2012-11-07 Thread Francesco Serafini
Hi Elena, Thanks for your replies. Sorry, but in the end I started a new installation without virtualenv because I was curious about django and I didn't want to wait. When I will use again virtualenv (I know I'll do) I'll try again to do my best. Thanks for you help, really! Francesco 2012/11/5

Tests tutorial for djangoproject.com

2012-11-07 Thread Daniele Procida
I have done some work on writing up a tutorial for testing (part 5 of the existing tutorial, in effect). My draft so far: I'd really appreciate feedback, on any aspect (accuracy, style, terminology, good p

Re: Design decision

2012-11-07 Thread Dollinger Robert
Thanks for the tip with more than one db. I will take a look a that. Am 06.11.2012 um 17:17 schrieb bruno desthuilliers: > There's no one-size-fits-all answer, depends on how the "project" is to be > sold and what it does. Given your description (per-customer settings / > installed apps / stati

Re: Status of bug #11580 ?

2012-11-07 Thread Tomas Ehrlich
Hi Michał, actually, you *do have* such a privilege. Simply clone development version of django, fix the file with bug, test it, and post patch to ticket you've mentioned. If you include test which check, that your patch really fix the bug, core developers will pull in into repository soon. It's

Re: Status of bug #11580 ?

2012-11-07 Thread Michał Nowotka
OK, so first of all I'm new to both lists. I already asked some questions here and usually I get email with my question 5 minutes after post (I mean my original question not the answer). I was waiting long and I though my question didn't pass moderation so maybe it would be better to ask it on prob