Re: Django (SVN-Version) doesn't execute raw sql-queries

2007-12-29 Thread beewee
Hi! it works now when calling the connection._commit() function (which is completely undocumentated) after executing the query. (I know that you shouldn't call functions starting with _ in general) --~--~-~--~~~---~--~~ You received this message because you are

Django (SVN-Version) doesn't execute raw sql-queries

2007-12-27 Thread beewee
Hi, I'm using the latest svn version of django with mysql. Since some time I have the problem that raw UPDATE-queries I execute don't get really executed. Have a look at this: >>> from django.db import connection as con >>> cur = con.cursor() >>> cur.execute('SELECT topic_id FROM forum_vote')

Re: Model that has more options

2006-04-13 Thread beewee
Hm, if you don't understand me, I'll try to explain it more clearly: I've a blog-like news site where some users can publish news using the django admin panel. They can enter thome things, for example subject, introduction, text etc (and this works finde already). But now I want that it is

Model that has more options

2006-04-12 Thread beewee
Hi, I'm trying to create a model where the user can either upload an image or enter a URL to an image or select an given image by a combobox. How this would be possible? (I hope, I'm understandable...) Thanks for your help, Benjamin Wiegand