Postgresql v MySQL

2009-02-07 Thread Peter2108
Is there any clear reason for preferring one of these DBMS over the other for use with Django (1.0 onwards). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Postgresql v MySQL

2009-02-08 Thread Peter2108
Thanks. Between posting and your response I found out that MySQL has built in support for full-text searchs but PostgreSQL does not. But Django seems as happy with the one as the other. -- Peter On Feb 7, 2:06 pm, Tim Chase wrote: > > Is there any clear reason for preferring one of these DBMS o

Notify about a bug

2009-08-13 Thread Peter2108
I just ran into bug #6138 which is two years old now. There is a patch supplied but it has not made it into the version I am using (1.1 rc1, 11,332). Is there anyway to tell the Django Trace to notify me by email when this bug is updated? Thanks, Peter --~--~-~--~~~--

Re: Notify about a bug

2009-08-15 Thread Peter2108
> > Since you've commented on the ticket, you'll automatically get mail when > anyone updates the ticket.  The other way to ensure you get updates in email > is to add yourself to the cc list Good. . > > As for why the patch has not been checked in -- the person who supplied the > patch subsequen

Adding tests to a patch

2009-08-26 Thread Peter2108
I'm trying to help fix but #6138. I've done a patch for the code and a separate test.py module. But someone ('Alex') added a request to "Please put the tests in the same diff as the patch itself, it is possible to use svn add locally". I'm at a loss here I'm afraid. The only way I know to generate

Re: Adding tests to a patch

2009-08-26 Thread Peter2108
Many thanks Karen. The key was "run svn diff from the top-level trunk directory" in the docs. Sorry, I should have re-read them! Should be OK now, Peter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users

Admin Sites on Admin

2009-06-07 Thread Peter2108
On the Admin top-level page there is an app called 'Sites'. Where do I find out what this for? Thanks, Peter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: The best hoster to install Django

2009-06-07 Thread Peter2108
I use Webfaction (I'm in UK) and think they are great. The sites are low traffic. Webfaction started out as a Python specialist company AFAICT. Peter On Jun 7, 12:44 am, Bro wrote: > Hi Everyone, > > I ask a question : What is the best hoster to install Django ? > Because Django is a very cool

{{ change }} and {{ add }} in admin

2009-09-22 Thread Peter2108
When the admin renders a change-form it supplies two boolean variables change and add. 'change' is True when changing an existing instance and 'add' when adding a new one. Is this behaviour documented because I find the variables are quite useful? -- Peter --~--~-~--~~~---

Bug #6138

2009-10-15 Thread Peter2108
This fix for this bug has been commited and is in revision 11624. As I 'own' the bug should I chnage the status to 'fixed'? Presently no-one has done that. -- Peter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Re: ModelAdmin.save_model Not being called

2009-10-15 Thread Peter2108
Is this what you were looking for? def save_model(self, request, obj, form, change): """ Given a model instance save it to the database. """ obj.save() It is in contrib.admin.options: -- Peter --~--~-~--~~~---~--~~ You received