Is there any way to tell through debugging if there's an issue with saving a
record? This form seems to work fine, but the record does not save. I'm
lost as to why it's not committing. Any pointers on debug statements for
this kind of issue?
On Fri, Jun 19, 2009 at 4:32 PM, db_333 wrote:
>
>
I wanted to later implement a login based on a user session, and I got
some guidance from pretty decent Django book on learning to build
websites with Django. However, I can see that I need to better
understand how the middleware APIs work before I jump ahead.
I appreciate your quick responses
O
On Fri, Jun 19, 2009 at 6:24 PM, db_333 wrote:
>
> here's what I have for the Middleware:
>
> MIDDLEWARE_CLASSES = (
>'django.middleware.common.CommonMiddleware',
>'django.contrib.sessions.middleware.SessionMiddleware',
>'django.contrib.auth.middleware.AuthenticationMiddleware',
>
here's what I have for the Middleware:
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.auth.models'
)
I'm searching the APIs t
On 19-Jun-09, at 3:38 PM, db_333 wrote:
> File "/Library/Python/2.5/site-packages/django/core/handlers/
> wsgi.py", line 228, in __call__
>self.load_middleware()
> File "/Library/Python/2.5/site-packages/django/core/handlers/
> base.py", line 47, in load_middleware
>mw_instance = mw_cla
On Fri, Jun 19, 2009 at 5:38 PM, db_333 wrote:
>
> Hi,
>
> I am new to Django and am trying to create a simple form around an
> existing database (I'm using 1.0). The Model I have looks like this:
>
> class Units(models.Model):
>serial_number = models.CharField(max_length=25, primary_key=Tru
6 matches
Mail list logo