Re: Should there be a "is" comperator: {% if A is B %}?

2014-04-10 Thread Tino de Bruijn
Wouldn't this be easier?: {'required': "", 'name': 'fieldname'} => {% for name, value in attrs.items %} {{ name }}{% if value %}="{{ value }}"{% endif %}{% endfor %} Tino On Wed, Apr 9, 2014 at 11:53 PM, Gregor Müllegger wrote: > Hi, > > I recently had the need to check for "value is not Tr

py2exe + Django 1.6

2014-04-10 Thread Antonio Francisco Martín Romero
Hi everyone, I was using py2exe + Django 1.3 without problems. From Django 1.4 the way to find the commands changed and it tries to find .py files as you can see in the find_commands() function in the file core/management/__init__.py . When you compile Django using py2exe, your don't have .py

Re: py2exe + Django 1.6

2014-04-10 Thread Ramiro Morales
On Thu, Apr 10, 2014 at 7:13 AM, Antonio Francisco Martín Romero wrote: > Hi everyone, > > I was using py2exe + Django 1.3 without problems This post doesn't belong to this list. django-dev is exclusively for discussions about development _of_ Django. Regards, -- Ramiro Morales @ramiromora

Who manages the django-i18n mailing group?

2014-04-10 Thread Bruno Ribeiro da Silva
Hi everyone, I'm trying to fix some translations in transifex but I'm waiting for 3 days since I requested to join the pt-br group. I already sent two messages to django-i18n and none was approved. Looking at the list, the last message is from Feb 24. Can someone give me some help here? I would li

Re: Who manages the django-i18n mailing group?

2014-04-10 Thread Ramiro Morales
On Thu, Apr 10, 2014 at 9:26 AM, Bruno Ribeiro da Silva wrote: > Hi everyone, > > I'm trying to fix some translations in transifex but I'm waiting for 3 days > since I requested to join the pt-br group. I've just accepted you there (with my Transifex the Django project admin hat.) -- Ramiro Mo

Re: Who manages the django-i18n mailing group?

2014-04-10 Thread Bruno Ribeiro da Silva
Thank you! On Thu, Apr 10, 2014 at 9:49 AM, Ramiro Morales wrote: > On Thu, Apr 10, 2014 at 9:26 AM, Bruno Ribeiro da Silva > wrote: > > Hi everyone, > > > > I'm trying to fix some translations in transifex but I'm waiting for 3 > days > > since I requested to join the pt-br group. > > I've ju

Re: Who manages the django-i18n mailing group?

2014-04-10 Thread Bruno Ribeiro da Silva
Hey folks, Django now 100% translated to pt_BR. Thanks for the help with transifex! On Thu, Apr 10, 2014 at 9:58 AM, Bruno Ribeiro da Silva < bruno.dev...@gmail.com> wrote: > Thank you! > > > On Thu, Apr 10, 2014 at 9:49 AM, Ramiro Morales wrote: > >> On Thu, Apr 10, 2014 at 9:26 AM, Bruno Ri

#22383 Add the HTML5 required tag to the input fields which are required for database entry

2014-04-10 Thread anubhav joshi
A ticket has been opened asking to add HTML5 required tag in forms for the fields which are required for database entry. There have been several issues: 1. Is this new option going to stay or is it just transitional. 2. Is it going to be an optional feature or default behaviour. 3. Shou

Re: #22383 Add the HTML5 required tag to the input fields which are required for database entry

2014-04-10 Thread anubhav joshi
On Thursday, April 10, 2014 11:19:18 PM UTC+5:30, anubhav joshi wrote: > > A ticket has been opened asking to add HTML5 required tag in forms for the > fields which are required for database entry. > > Better wording: "required for database entry" --> fields have *required* attribute as *True*

Re: Should there be a "is" comperator: {% if A is B %}?

2014-04-10 Thread Gregor Müllegger
Hi, thanks for your input. Unfortunatelly this would fail for int(0): {'value': 0} => Gregor 2014-04-10 11:41 GMT+02:00 Tino de Bruijn : > Wouldn't this be easier?: > > {'required': "", 'name': 'fieldname'} => /> > > {% for name, value in attrs.items %} {{ name }}{% if value %}="{{ value >

Re: #22383 Add the HTML5 required tag to the input fields which are required for database entry

2014-04-10 Thread Gregor Müllegger
I think adding the `required` attribute but ignoring the other possible html form validations (like `min` and `max` [1] for that are used by the forms.IntegerField) seems a bit half-hearted. My opinion is that having the required attribute is pretty cool, but should come with all other possible v

Re: Should there be a "is" comperator: {% if A is B %}?

2014-04-10 Thread Łukasz Rekucki
On 11 April 2014 01:11, Gregor Müllegger wrote: > Hi, > > thanks for your input. Unfortunatelly this would fail for int(0): Not if you encode all values to strings before passing to the template, so it's "0" instead of 0. > > {'value': 0} => > > Gregor > > > 2014-04-10 11:41 GMT+02:00 Tino de B