Re: Updating a user/profile model object

2010-01-28 Thread Jonathan Roberts
> You're posting your update to a different view from the one that > initially displays the form. The usual way to do this is to have the > form post back to the same view, but have an 'if request.POST' to > branch the execution. The main forms documentation explains the > standard flow. Ah I did

Getting 500 server error when debug=False

2013-08-23 Thread Jonathan Roberts
I'm changing my development server over to production, and I'm getting a 500 error page as soon as I set DEBUG=False in the settings. I've been googling around, and have already checked here: http://stackoverflow.com/questions/15128135/django-setting-debug-false-causes-500-error I have set ALL

Re: Getting 500 server error when debug=False

2013-08-23 Thread Jonathan Roberts
Nevermind. Solved it (I was setting it ALLOWED_HOSTS twice - removed the duplicate and it all worked fine). Nothing to see here :) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it