Sorry, it looks like I had a wrong assumption in my original question. The 
server seems to hang as soon as I try to update a model with an URLField that 
is set to 'http://localhost:8000' (this is where the built-in webserver is 
running).

Is this a bug or can't Django validate an URLField to its own webserver?

Please forget, what I've written in the original post.

Cheers.


From: haes...@hotmail.com
To: django-users@googlegroups.com
Subject: Admin hangs while updating a modified, repopulated model
Date: Mon, 16 Feb 2009 09:54:31 +0000








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.

What can you do with the new Windows Live? Find out





_________________________________________________________________
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