DjangoWeekly Issue 3 is out

2016-07-29 Thread Ankur Gupta
Hey Fellow Django Developers, Want to share a new Django weekly newsletter. Latest issue being 3rd http://djangoweekly.com/newsletter/no/3/ Have a look. Thanks, Ankur -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: django 1.9, migrations SUCK

2016-07-29 Thread Aztrock
Excellent, thanks This method i use from django 1.4, never have problem. 2016-07-29 11:36 GMT-05:00 ludovic coues : > In /home/ariatel_web/dashboard.ariatel.com.co/apps/did/forms.py, replacing > country = forms.ChoiceField(choices=[ (d.country_name, > d.country_name) for

Re: django 1.9, migrations SUCK

2016-07-29 Thread ludovic coues
In /home/ariatel_web/dashboard.ariatel.com.co/apps/did/forms.py, replacing country = forms.ChoiceField(choices=[ (d.country_name, d.country_name) for d in DidCountry.objects.filter(is_active=True) ] with country = forms.ChoiceField(choices=lambda: [ (d.country_name, d.country_name) for d

Re: django 1.9, migrations SUCK

2016-07-29 Thread Vijay Khemlani
File "/home/ariatel_web/dashboard.ariatel.com.co/apps/did/forms.py", line 12, in BuySearchForm country = forms.ChoiceField(choices=[ (d.country_name, d.country_name) for d in DidCountry.objects.filter(is_active=True) ], required=False) Theres your problem, you are trying to query the

Re: django 1.9, migrations certainly don't suck

2016-07-29 Thread Michal Petrucha
On Fri, Jul 29, 2016 at 08:01:05AM -0700, Jorge Cadena wrote: > > > Traceback (most recent call last): > File "manage.py", line 10, in > execute_from_command_line(sys.argv) > File > "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", > line 353, in

Re: django 1.9, migrations

2016-07-29 Thread Daniele Procida
On Fri, Jul 29, 2016, Jorge Cadena wrote: >I am dev in django at last 4 years, i missed ./manage.py syncdb, Please change your email subject to something more polite. You have a good chance to get expert help here from people, including perhaps people who helped create

Re: django 1.9, migrations SUCK

2016-07-29 Thread Jorge Cadena
Traceback (most recent call last): File "manage.py", line 10, in execute_from_command_line(sys.argv) File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 353, in execute_from_command_line utility.execute() File

Re: django 1.9, migrations SUCK

2016-07-29 Thread Jorge Cadena
same error, in mariaDB, postgresql, rigth now in sqlite3 El viernes, 29 de julio de 2016, 9:07:33 (UTC-5), Jorge Cadena escribió: > > Hi, > > I am dev in django at last 4 years, i missed ./manage.py syncdb, > > Delete all tables from databases (MariaDB, PostgreSQL) command line from > DB, and

Re: django 1.9, migrations SUCK

2016-07-29 Thread Michal Petrucha
On Fri, Jul 29, 2016 at 07:02:44AM -0700, Jorge Cadena wrote: > Hi, > > I am dev in django at last 4 years, i missed ./manage.py syncdb, > > Delete all tables from databases (MariaDB, PostgreSQL) command line from > DB, and run python manage.py migrate always same error > > *python manage.py

django 1.9, migrations SUCK

2016-07-29 Thread Jorge Cadena
Hi, I am dev in django at last 4 years, i missed ./manage.py syncdb, Delete all tables from databases (MariaDB, PostgreSQL) command line from DB, and run python manage.py migrate always same error *python manage.py migrate* django.db.utils.ProgrammingError: (1146, "Table