6 Aug ‘14

For the past couple of days I’ve been resolving issues in deployment of the website. Things I did today:

  1. Fixed DATABASES in production.py.
  2. Created table in database and synced it.
  3. It was giving an error in loading static files. “Unknown command: collectstatic”. I explicitly set the DJANGO_SETTINGS_MODULE variable in env.sh to tell it where to find the required settings file.
  4. IP address is incorrect. Shows localhost address. I tried to switch to using django-ipware but it triggered a new series of errors.

Tasks for tomorrow:

  1. Fix IP address
  2. Check saving of bugs in database
  3. Check issues on logging into Admin end.
 
0
Kudos
 
0
Kudos

Now read this

8 June ‘14

I implemented location detection in my app today using pygeoip. I detected user network bandwidth by downloading an image at a URL using JS and timing it. This method gives network speed fairly close to as measured by other online... Continue →