Hi,

I have a strange problem while editing a modified model in the admin. Whenever 
I change my models I usually issue the following commands to change the model 
and repopulate my data:

# ./manage.py dumpdata --indent=4 redir > old_data.json
-> do the model changes
# ./manage.py reset redir
# ./manage.py syncdb
# ./manage.py loaddata  old_data.json

Then, when I try to edit a model that has been changed in this process (f.e. 
added a db field), the admin hangs as soon as I submit save and the whole 
Django builtin webserver becomes unresponsive. Even restarting the webserver 
does not resolve this problem. It's definitely no browser problem since I 
tested it with different browser types. It's no database problem since issuing 
the query in the db shell works without any problems.

Btw, I'm using Django 1.0.2 installed from macports (on Mac, obviously), the db 
backend is a PostgreSQL 8.2 database.

Anyone ever experienced a similar problem? Any hints what the problem could be 
(I'm quite clueless atm)?

Thanks for any hints/comments.

_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.

http://www.microsoft.com/windows/windowslive/products/photos.aspx
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to