Request for assistance from a Chinese Django user

2012-09-29 Thread Russell Keith-Magee
Hi all, I require some assistance from a Django user that lives in China. For the last month, whenever someone posts to Django-users, they receive a notification email from China Mobile. These emails are caused by a django-users subscriber that is forwarding their mail to another address. Howeve

EntryAdmin.form does not inherit from BaseModelForm.

2012-09-29 Thread Chris Fox
Hello, I'm having a strange issue where I get the following exception on my production server, but have no issues on my dev machine: Django Version:1.3.1Exception Type:ImproperlyConfiguredException Value: EntryAdmin.form does not inherit from BaseModelForm. Exception Location:/home/cjfox/weba

Re: splitting up image loads from rest of page

2012-09-29 Thread Larry Martell
On Fri, Sep 28, 2012 at 1:48 PM, Larry Martell wrote: > I have a template that creates a table that has clickable links. It > also loads a bunch of images associated with each row in the table. > Through javascript events, when the user mouses over certain fields, > the images are displayed or hid

AW: Announcing DjangoNYC Office Hours

2012-09-29 Thread Patrick Müssig
Hi, which time you will Run the hangout Von meinem Xperia™ smartphone gesendet Originalnachricht Betreff: Announcing DjangoNYC Office Hours Von: Sean O'Connor An: django-users@googlegroups.com Cc: Hello Everybody, Tomorrow I'll be running a bit of an experiment on Google+

Announcing DjangoNYC Office Hours

2012-09-29 Thread Sean O'Connor
Hello Everybody, Tomorrow I'll be running a bit of an experiment on Google+. The basic idea is that I'll be available on a Google Hangout for an hour or two tomorrow afternoon answering any Django questions that you might have. If your interested in asking questions, join the hangout and as

select_related and use_for_related_field

2012-09-29 Thread John Bazik
I have a custom manager class that has use_for_related_field set to true, and I set it to be the default manager in my model. But when I make a query using select_related on the related field, I seem to get a plain queryset, not my custom one. Here's a quick sketch of what I'm doing: class My

Re: Duplicate entry in database on refreshing the submitted form

2012-09-29 Thread Amyth Arora
As Tim said use "redirect" instead of "render". Alternatively on form submit you can also have some kind of validation for ex: Query for one reference_no can take place only once in 24 hours and if it is being submitted twice return an error message. This way it will be more user friendly. Also, yo

Re: Django on Bluehost

2012-09-29 Thread JJ Zolper
I hate to be that guy but... I was on Bluehost for a while but I just ended up deciding the benefits of switching to WebFaction far outweighed the benefits of staying on Bluehost as a Django user. If you're interested in joining WebFaction or hearing more about it feel free to send me an e-m

Re: Duplicate entry in database on refreshing the submitted form

2012-09-29 Thread Timster
After saving the form, instead of doing a render_to_response, you should redirect the user to another page. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-