Setting up Django is going fine until configuring MySQL. It requires
MySQLdb, which I downloaded from sourceforge as MySQL-
python-1.2.3c1.tar.gz (and MySQL-python-1.2.2.tar.gz) on Mac OS X,
Redhat, and Windows. When I try decompressing then extracting the file
returns error: "tar: This does not l
my problem was trying to execute the two queries in one
call, but breaking it out fixes it. Though I'm not sure if it's thread
safe or not.
Also, thank you Malcolm for your valuable input.
Regards,
MikeL
--~--~-~--~~~---~--~~
You received this message be
I figured it out. I had to run cursor.execute for the SET and the
SELECT line and it managed to remember the @row being 0 between them.
Though it would be nice if a django solution exists.
Regardless,
MikeL
On May 4, 10:15 am, MikeL wrote:
> I'm trying to make a query which lists t
moved the first line and did get a return, only it was
NULL. Is there anyway to do this with Django's models or a way to get
the sql above to work?
TIA,
MikeL
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"D
I've noticed that the "/manage.py test" script creates a temporary
database and requires fixtures to populate data for testing. But what
about when tests involving large amounts of data that can be changed
and we need to test our views by using that data? If someone
accidentally breaks a view by j
19, 2009 at 5:06 PM, MikeL wrote:
>
> > I'm using the code from:
>
> >http://www.eflorenzano.com/blog/post/easy-multi-database-support-django/
>
> > After repeated use, there can be over a hundred idling connection to
> > MySQL for both production and deve
I'm using the code from:
http://www.eflorenzano.com/blog/post/easy-multi-database-support-django/
After repeated use, there can be over a hundred idling connection to
MySQL for both production and development builds. Removing the
Multiple DB in the model causes the symptoms to stop.
I've been t
Thank very much Malcolm.
I realized that the problem was that I haven't set the User property
in my UserProfile class.
Thanks again.
On Nov 19, 12:39 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Tue, 2008-11-18 at 18:27 -0800, Mikel Pierre wrote:
> > Hi to all.
Hi to all.
I'm developing my first django app and very happy so far.
But I've a problem and I was unable to find the solution searching in
djangoproject.com and this group.
I have this in a template:
Users list
{% if users %}
{% for user in users %}
{{ user.username }}
{%
9 matches
Mail list logo