Re: 1.2 Beta Thursday

2010-02-02 Thread Russell Keith-Magee
On Wed, Feb 3, 2010 at 5:19 AM, James Bennett wrote: > I'm kind of choosing this arbitrarily, but as far as I can tell we > should be good to go for rolling a beta any time. So I'm picking > Thursday. > > If there are any blockers I'm not aware of, let me know. Also, note >

Re: Porting Django to Python 3

2010-02-02 Thread Martin v . Löwis
> Some examples: Thanks for posting them: > >>> Template(u"{{ foo }}").render(Context({"foo":"bar"})) > u'bar' I get py> Template("{{ foo }}").render(Context({b"foo":b"bar"})) '' I think that's correct: the dictionary has no key "foo". I'm also unsure what this has to do with UTF-8: isn't

Re: Porting Django to Python 3

2010-02-02 Thread Mathieu Leduc-Hamel
By the way, did you the effort of porting reported on the python website: http://wiki.python.org/moin/PortingDjangoTo3k Seems to the good way to achieve it some times... On Tue, Feb 2, 2010 at 5:37 PM, Dave wrote: > Ok everyone, a bit of a status update. > > We finished our

1.2 Beta Thursday

2010-02-02 Thread James Bennett
I'm kind of choosing this arbitrarily, but as far as I can tell we should be good to go for rolling a beta any time. So I'm picking Thursday. If there are any blockers I'm not aware of, let me know. Also, note that this will be the final feature freeze for 1.2; if it ain't in trunk when I roll

Re: Per application default database?

2010-02-02 Thread kmpm
Wouldn't a database router like this sort of do the thing for now... ==settings.py== DATABASE_ROUTERS = ['dbrouter.AppRouter',] ==dbrouter.py== APPS_WITH_DB=('my_app_with_same_name_as_db', ) class AppRouter(object): """A router to control all database operations on models in that

Re: Help with Django model and 'choices'

2010-02-02 Thread Vladimir Abramov
You try to store char value in DecimalField 2010/2/2 Karen Tracey : > Please post questions about using Django to django-users.  This list is for > discussion of developing Django itself. > > Karen > > -- > You received this message because you are subscribed to the Google

Re: Help with Django model and 'choices'

2010-02-02 Thread Karen Tracey
And now I see you posted there a couple of minutes before posting here. Please don't do that either. Choose the right list and post once. Karen -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to

Re: Help with Django model and 'choices'

2010-02-02 Thread Karen Tracey
Please post questions about using Django to django-users. This list is for discussion of developing Django itself. Karen -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to

Help with Django model and 'choices'

2010-02-02 Thread Chris McComas
I have this model http://dpaste.com/153722/ and I have a ModelForm for it on my site. When I complete the form it saves everything as it should and displays just a detail page for each entry with all of the correct information from the Model. When I go back to edit the form, or I view it in the