Errors uploading to ImageField on add in django admin

2005-09-28 Thread mortenbagai
Hello, I am trying to use ImageField in one of my models, and I am seeing an issue where I will intermittently get the error listed below when trying to add a _new_ object in the django admin site. However, the image actually does get uploaded correctly to the specified location and the object is

Controlling which fields to display when editing an object inline

2005-09-28 Thread mortenbagai
Hello, I have two model objects, Section and Page. Each Page is mapped to a Section through a regular ForeignKey field. On the Section edit detail display in the Django admin app, I'd like to list the Page objects belonging to that Section and having a few fields be editable from there. However,

Re: Controlling which fields to display when editing an object inline

2005-09-28 Thread mortenbagai
Adrian, My thought was that anything not marked core=True that could be left blank and/or had a default value, could potentially be excluded from display. So, to answer your question, I was imaging that fields with blank=True would be left blank, and fields with a default value set would get tha

Seg fault with Django & mod_python on Redhat 9

2005-12-22 Thread mortenbagai
Hello, I'm in a situation where I'm forced to to try to move my Django site to a Redhat 9 system. Feel free to take a moment to laugh and/or gasp before reading on. Thanks. Now, the apache version is 2.0.40-21.11 and mod_python is 3.1.4-2 while Django is the latest (rev 1766) from svn. When

Re: Seg fault with Django & mod_python on Redhat 9

2005-12-22 Thread mortenbagai
Adrian, Thanks, that was valuable feedback as it gave me confidence that this _should_ work. In the end, it turned out it was indeed mod_php that was the culprit. After going through the modules by process of elimination, i took one more shot with mod_php and restarted the box and now everything

Data from multiple engines/data in one Django app (or project)

2006-01-05 Thread mortenbagai
Here's an issue I've been wondering about. It's something that comes up somewhat frequently in the type of development we do, and I'm wondering what the Django-centric approach to this would be? Here's the situation: We have newly developed Django app that's running beautifully. In fact, it's wor