SamsadSajid / djangotestapp

Django Hello World

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

Basic "hello world" Django app showing a Facebook Page contents (e.g. IsaacAsimov) or Facebook Post (isaacasimov/posts/735289683296645)

Instalation

  1. Copy settings.py:
cp testapp/{_,}settings.py
  1. Add Facebook GraphAPI and SECRET Tokens into the settings file
  2. Run tests:
python manage.py test
  1. Run server:
python manage.py runserver

Access locally at localhost:8000

TODO

  • [] production mode Debug=False
  • [] the view has too much logic I don't think it belongs there
  • [] 12factor
  • [] DRY up tests
  • [] Limit is 30 instead of 40 because of a bug similar to this issue.

About

Django Hello World


Languages

Language:Python 77.4%Language:Shell 13.0%Language:HTML 8.2%Language:JavaScript 1.5%