Adding a custom field to an admin model (table)

2009-07-10 Thread haestan none
Hi, I would like to add a custom field to an existing admin model, namely LogEntry. The goal is to add a comment field, where custom change comments can be added in the admin whenever a model is saved. Is it even possible to add such a field without changing the existing admin codebase? Or wo

RE: Admin hangs while updating a modified, repopulated model [update]

2009-02-16 Thread haestan none
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 it

Admin hangs while updating a modified, repopulated model

2009-02-16 Thread haestan none
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 # .

Django contrib apps in different db schema

2009-02-03 Thread haestan none
Hi, I'm trying to use Django for implementing new stuff in some of our legacy apps. All the existing apps use PostgreSQL as their database backend. Now in order to do this as transparent as possible, I'd like to use a different database schema for the contrib apps that come with Django (admin, s