londonhackspace / hackspace-foundation-sites

London Hackspace web site
https://london.hackspace.org.uk
32 stars 34 forks source link

Initial django app in parallel with PHP #142

Closed russss closed 7 years ago

russss commented 8 years ago

We'd like to start the python migration by having a django app running, in parallel with the PHP app. I've made a start on this in the python branch. Let's just get the minimum possible working first and running on live, authentication is in #143.

russss commented 8 years ago

If I remember correctly, the sticking point I hit with this is that the Flourish framework errors out if there are tables in the database it doesn't know about. This isn't great so we need a way of working around this.

(As a nasty hack, could we have the django tables in a different postgres schema to the flourish ones?)

marksteward commented 8 years ago

Separate schema sounds good to me.

marksteward commented 7 years ago

I've given up on the separate schema plan as neither Flourish nor Django copes well with schemas. Instead, I've patched Flourish to only look at a chosen subset of tables with c6a01ab

marksteward commented 7 years ago

I think this is complete. The first thing I'm going to migrate is storage-requests-cron.php from #147.