Re: Admin Stopped Saving Record Changes!

2011-08-21 Thread Yaşar Arabacı
Well, that is because no error occured :)

2011/8/21 Lee 

> Solved: in the process of fixing indentation errors I accidentally
> indented "obj.save()" so that it only fired on inserts not updates.
> Interesting that Admin still generated the "Successful" message when
> no save occurred.
>
> --
> 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 unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Admin Stopped Saving Record Changes!

2011-08-21 Thread Lee
Solved: in the process of fixing indentation errors I accidentally
indented "obj.save()" so that it only fired on inserts not updates.
Interesting that Admin still generated the "Successful" message when
no save occurred.

-- 
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 unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Admin Stopped Saving Record Changes!

2011-08-21 Thread Lee
I've been happily tuning my Admin app the last few days, and suddenly
noticed record changes (UPDATE) are no longer being saved to the
database. Adds (INSERT) are working fine. I DO get the 'The ModelName
"_unicode_" was changed successfully' message, but the database record
is not affected, and editing the supposedly saved record in Admin
shows the old version without changes.

I'm using Apache not the development server. Backend is Postgres. Any
help would be greatly appreciated.

Lee

-- 
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 unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.