Re: pending triggers error with 'manage.py migrate'

2017-06-12 Thread Daniel Axtens
Hi Aaron, > I'm trying to upgrade an older patchwork instance I have, and it seems > to be failing when I do a 'migrate' with the specific error: > > django.db.utils.OperationalError: cannot ALTER TABLE "patchwork_series" > because it has pending trigger events Thanks so much for testing this -

Re: pending triggers error with 'manage.py migrate'

2017-06-12 Thread Aaron Conole
Hi Stephen, Stephen Finucane writes: > On Mon, 2017-06-12 at 12:53 -0400, Aaron Conole wrote: >> I'm trying to upgrade an older patchwork instance I have, and it seems >> to be failing when I do a 'migrate' with the specific error: >> >> django.db.utils.OperationalError:

Re: pending triggers error with 'manage.py migrate'

2017-06-12 Thread Stephen Finucane
On Mon, 2017-06-12 at 12:53 -0400, Aaron Conole wrote: > I'm trying to upgrade an older patchwork instance I have, and it seems > to be failing when I do a 'migrate' with the specific error: > > django.db.utils.OperationalError: cannot ALTER TABLE "patchwork_series" > because it has pending >

pending triggers error with 'manage.py migrate'

2017-06-12 Thread Aaron Conole
I'm trying to upgrade an older patchwork instance I have, and it seems to be failing when I do a 'migrate' with the specific error: django.db.utils.OperationalError: cannot ALTER TABLE "patchwork_series" because it has pending trigger events I've made sure to update django-filter and

Re: [PATCH 3/5] REST: Enable token auth support

2017-06-12 Thread Stephen Finucane
On Tue, 2017-06-13 at 00:04 +1000, Andrew Donnellan wrote: > On 10/06/17 03:25, Stephen Finucane wrote: > > Token authentication is generally viewed as a more secure option for API > > authentication than storing a username and password. > > > > Django REST Framework gives us a

Re: [PATCH 3/5] REST: Enable token auth support

2017-06-12 Thread Andrew Donnellan
On 10/06/17 03:25, Stephen Finucane wrote: Token authentication is generally viewed as a more secure option for API authentication than storing a username and password. Django REST Framework gives us a TokenAuthentication class and an authtoken app that we can use to generate random tokens and