Django 1.7 - data migration which needs content types populated

2015-05-11 Thread Santiago L
Hi, I'm migrating an app from Django 1.6 to 1.7 and I need to create a data migration to load some initial data. Some of the migrations requires that Content Types are populated in order to create some objects with Generic Relations. # models.py class TincHost(models.Model): name = models.

possible bug - CharField accepts string as max_length

2015-05-15 Thread Santiago L
Hi, I think that I have found a bug on the system check: it accepts a string as value for CharField.max_length argument. It happens only if the string can be converted to int (e.g. max_length='16'). Otherwise shows fields.E121 error (e.g. max_length='foo'). from django.db import models class

Re: possible bug - CharField accepts string as max_length

2015-05-18 Thread Santiago L
really 16 char max_length in DB if > you specifiy a string '16'? > > On 05/15/2015 10:53 AM, Santiago L wrote: > > Hi, > > I think that I have found a bug on the system check: it accepts a string > as value for CharField.max_length argument. > > It

Re: possible bug - CharField accepts string as max_length

2015-05-19 Thread Santiago L
El lunes, 18 de mayo de 2015, 12:33:21 (UTC+2), James Schneider escribió: > > I'd post a bug report. Based on the behavior you've outlined (haven't > looked at the Django source), there may have been some oversight on the > duck typing that python performs. It sounds like the migration package is

Alternative to django-registration (unmaintaned since September 2013)

2014-07-18 Thread Santiago L
Hi, Some weeks ago I noticed that django-registration is not longer maintained by its creator: quoting https://bitbucket.org/ubernostrum/django-registration/wiki/Home > django-registration > I stepped down as maintainer of this application in September 2013. Pull > requests, issues and comments

Re: Alternative to django-registration (unmaintaned since September 2013)

2014-07-23 Thread Santiago L
El sábado, 19 de julio de 2014 02:17:24 UTC+2, Russell Keith-Magee escribió: > > > On Fri, Jul 18, 2014 at 8:31 PM, Santiago L > wrote: > >> Hi, >> >> Some weeks ago I noticed that django-registration is not longer >> maintained by >> its creator: &g