On 24 Dez., 09:35, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
>
>
> Very unlikely. There aren't really any significant differences between
> 2.4 and 2.5 that would hurt us here. The tests all currently pass with
> python 2.3 and 2.4, so there's something else going on there.
>
> Malcolm
>
There
OK, i founf out, that I get these Error with every model where I have
a ManyToMany Field inside.
I have some other applications running on the server and there I have
the same problems in models with manytomany fields.
Is this a problem with python2.4?
christian.
--~--~-~--~~
Hi,
I've a problem with the Django admininterface on my productive server.
If I want add an object with the admininterface I get following error
message:
KeyError at /admin/catalog/artikel/add/
Request Method: GET
Request URL:--MYSERVER--/admin/catalog/artikel/add/
Exception Type:
I use at this time the ugly version with eval(). I really don't know
how ugly it is. Can I have problems if there is python code or
something else in the uploaded file?
What is the best solution for me until this is fixed?
Christian.
--~--~-~--~~~---~--~~
You rec
> To validate your images, just try to open it with PIL
When I said I validate the image then did I mean that I try to open it
with PIL. I do this in the view an if something went wrong I would
save an error variable in the postdata. It is the same like in
http://www.oluyede.org/blog/2007/03/18/d
ok, thats the fact. But I can not imagine whats wrong in my code. I
have nearly copy and paste all of it from
http://www.oluyede.org/blog/2007/03/18/django-image-uploading-validation-and-newforms/
There, it seems to work... how do you validate files or images with
django newforms? Is there somet
Hi,
I have a form to upload a picture and i try to validate it in
newforms. But i can not read the content-type. I get the error
"'unicode' object has no attribute 'get'".
I use Python 2.5. This is my code:
view.py
...
postdata = request.POST.copy()
if 'bild' in request.FILES:
postdata.
Hi,
I want to search some entrys in a database. These entrys have a name
and a discription. At first I want to find all entrys whose names
start with the search query, at second i want to find all entrys whose
name contains the search query and then I want to have the entrys with
the query in its
Got the same Problem here. On my Laptop all is fine but on the Server
I got an Unicode Error. Seems to me, that the german month "März"
isn't correctly encoded.
Can someone help? On both PCs is DEFAULT_CHARSET = 'utf-8' in the
settings and a postgres database running.
Christian.
--~--~---
On 26 Jan., 06:37, "ak" <[EMAIL PROTECTED]> wrote:
> Same thing with national characters ...
> DEFAULT_CHARSET = 'utf-8'
This doesn't solve the problem. The errormessage still appears with the
same traceback.
Any other ideas?
--~--~-~--~~~---~--~~
You received th
Hi,
I've got a problem with putting non unicode signs into a mysql table.
I get an UnicodeEncodeError when an user puts the Euro Sign () in a
newform Textfield. The Exception raises when when Django want to write
into the MySQL Database.
Do I have to encode (or decode) the string before I put
11 matches
Mail list logo