twaddington / django-olcc

A web interface and API for searching the OLCC price list.
http://www.oregonliquorprices.com/
MIT License
19 stars 8 forks source link

Update price import to use new format of OLCC CSV #13

Closed tcecchetti closed 5 years ago

tcecchetti commented 6 years ago

It looks like the OLCC updated the format of NumericPriceListNextMonth.csv. These changes should allow the app to import the file once again.

I tested this by starting with a fresh clone and running virtualenv venv && . venv/bin/activate && pip install -r requirements.txt && cd django_olcc && touch settings_local.py && python manage.py syncdb && python manage.py olccfetch && python manage.py run_gunicorn. This seems to result in a fully populated/working app.

Hope it helps. Really appreciate your site!

twaddington commented 6 years ago

@tcecchetti thanks for tackling this. I've left this project go mostly unmaintained for a while now.

Will see about merging and pushing out a new build this week.

twaddington commented 5 years ago

Looks like it's working. Re-running price imports now. Thanks!

twaddington commented 5 years ago

Prices have been imported for December. Looks like the current month csv file hasn't been updated since 2017 so I can't import Novembers prices.

tcecchetti commented 5 years ago

Awesome! I look forward to seeing it back to normal in a few days. 🙂