Django 1.7+ migrations: Altering a field to be a ForeignKey

Django 1.7+ migrations: Altering a field to be a ForeignKey

I’m migrating an existing project written in PHP to Django. The existing project is using MySQL and it’s missing some indexes and foreign keys, but there’s also existing data so the normal Django migration file cannot be trusted. I’ll explain why….

 Dave

About David Parlevliet

Dave is long time developer with a passion toward teaching. He divides his time between his wife, her cat and his projects. He recently started using twitter so make sure to follow him!

Django: Custom decorator with optional kwargs

Django: Custom decorator with optional kwargs

After spending the last 3 years in PHP (not by choice) I’m happily back to Django and working toward a PHP-free-life. Not that PHP is terrible, I believe it has a place in the landscape, I just personally do not…

 Dave

About David Parlevliet

Dave is long time developer with a passion toward teaching. He divides his time between his wife, her cat and his projects. He recently started using twitter so make sure to follow him!

Django and RethinkDB: A tutorial

Django and RethinkDB: A tutorial

I’ve been using Django for a while and I’m a huge supporter of it. Late last year I picked up RethinkDB and instantly fell in-love with it. It’s quickly become my go-to NoSQL database for all my new up-and-coming projects….

 Dave

About David Parlevliet

Dave is long time developer with a passion toward teaching. He divides his time between his wife, her cat and his projects. He recently started using twitter so make sure to follow him!

Step-by-step guide to social logins with Django Social Auth

Step-by-step guide to social logins with Django Social Auth

Update! The guys at OAuth.io have released their awesome idea an open source package for everyone to take advantage of. I HIGHLY recommend using this solution, because it is FAR easier. If you don’t want to bother setting it up…

 Dave

About David Parlevliet

Dave is long time developer with a passion toward teaching. He divides his time between his wife, her cat and his projects. He recently started using twitter so make sure to follow him!