Reference to form cleaned data field throws TypeError: 'exceptions.AttributeError' object is not callable

2014-06-03 Thread Gloria W
This is the strangest bug I've seen in Django. (1.6.4 on Ubuntu 14.04, Python 2.7.6) It is sporadic, but once it starts happening, it is consistent until I restart the process. To try and debug it, I print the value of self.cleaned_data just before it occurs. The value prints fine. The code

"original" not set in admin template django/contrib/admin/templates/admin/submit_line.html after upgrade

2013-09-25 Thread Gloria W
Hi all, I recently upgraded a site from 1.4 to 1.5.4, and it seems like in the submit_line template, "original" is not set. This line fails for that reason: {% if show_delete_link %}{% trans "Delete" %}{% endif %} The template chain at this point is so nested that it's hard to figure out wher

Re: Circular import on every backend except sqlite

2011-06-03 Thread Gloria W
ans wrote: > On Thu, Jun 2, 2011 at 12:44 PM, Gloria W wrote: > > I am experiencing this: > >https://code.djangoproject.com/ticket/16136 > > and the only way I can prevent it is by using sqlite. > > Does anyone have a patch for this, or more info? > > Thank you in a

Circular import on every backend except sqlite

2011-06-02 Thread Gloria W
I am experiencing this: https://code.djangoproject.com/ticket/16136 and the only way I can prevent it is by using sqlite. Does anyone have a patch for this, or more info? Thank you in advance, Gloria -- You received this message because you are subscribed to the Google Groups "Django users" grou

Re: Any SELECT returns no results via Django

2007-12-20 Thread Gloria W
More info on this: I am connecting to the db via an ssh tunnel. In the settings-*.py files, I use DATABASE_HOST = '127.0.0.1' Works like a charm, except with the connection module. It is probably not connecting. Help! Gloria On Dec 19, 7:41 pm, Gloria W <[EMAIL PROTECTED]> wrote

Any SELECT returns no results via Django

2007-12-19 Thread Gloria W
I am boggled. A SELECT from the MySql command line works just fine. But within Django, it returns nothing. It doesn't matter what SQL statement I issue. Here is my syntax: from django.db import connection cursor = connection.cursor() cursor.execute("use editorial_production_2007_12_14; SEL

Support for Federated MySql table?

2007-11-30 Thread Gloria W
Hi, I'm using Django 0.95 on Python2.4, and it seems that it doesn't fully support federated tables in Mysql. The problem I have is that the manage.py inspectdb dumps a table which matches my sql table in construct, but no info about being federated. So an objects.filter() on some of these fields

Re: KeyError, Submit Empty Field and Form Validation

2007-11-13 Thread Gloria W
This was an excellent response, and helped me immediately. Thank you. ~G~ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To u