Cursors as context managers #17671

2013-09-23 Thread Michael Manfre
Ticket 17671 adds back the ability to use cursors as context managers with Python 2.7+, except without the backend specific behaviors. I mistakenly thought the patch I provided made it in to Django 1.5, otherwise I would have followed up on it much sooner. It's too late for 1.6, but I'm hoping

Re: IRC users invited to support PyCon UK Django sprinters

2013-09-23 Thread Curtis Maloney
Congratulations on such a successful sprint! I'm about to run our next HackFest, and know something of how difficult it can be to organise something like this. I can only hope ours is anywhere near as productive and (I assume) satisfying as yours has been! -- Curtis On 24 September 2013

Re: IRC users invited to support PyCon UK Django sprinters

2013-09-23 Thread Daniele Procida
On Mon, Sep 23, 2013, Daniele Procida wrote: >At the Don't be afraid to commit workshop at PyCon UK today there were a >lot of attendees latest/attendance_record.html#pycon-uk-in-coventry-22nd-september-2013> >(31 of them).

Re: Can't get EmailField to work (or even be recognized)

2013-09-23 Thread Tobe Nwanna
Sorry. Had both groups open and accidentally posted this in the wrong one On Monday, September 23, 2013 5:46:59 PM UTC-4, Karen Tracey wrote: > > Please ask questions about using Django on django-users. The topic of this > list is the development of Django itself. > Thanks, > Karen > -- You

Can't get EmailField to work (or even be recognized)

2013-09-23 Thread Tobe Nwanna
I have a form like this class NewUserForm(Form): username = UsernameField(required=True) password = CharField(required=True, widget=PasswordInput()) code = CharField(required=False) email = EmailField(required=True) And in views.py have this if request.method == 'POST':

Re: track user behavior in a django application

2013-09-23 Thread Karen Tracey
Please ask questions about using Django on django-users. The topic of this list is the development of Django itself. Thanks, Karen -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails

track user behavior in a django application

2013-09-23 Thread Anu G
I am building a site using django I am new to django. What I am trying to do is to track user clicks on pages and store that information. It would be great if someone can point to a simple example where adding functionality that requires to track data to the front end and capturing it from the

Re: Specifying the field index types

2013-09-23 Thread Michael Manfre
My personal opinion is that If you need to get in to this much detail about your indices, you're probably better off tweaking things directly against the database and not specifying them in the model. With that said, here are a few suggestions for your proof of concept. Don't piggyback db_index.

Specifying the field index types

2013-09-23 Thread Zev Benjamin
Hi, I'd like to be able to specify what kind of index the database should use for a particular field. I have a proof of concept branch that works with PostgreSQL at https://github.com/zbenjamin/django/compare/index-types, but I'd like to solicit opinions on whether there's a better way of

Django is not using fallback translations

2013-09-23 Thread Jonas VP
Hi everybody, we just finished developing a major multi-language site for a customer. In the course of this development, we run into two issues with the PO files which I haven't been able to find either on the mailing list or in the bug tracker so I'll raise them here: We're using