BASE_DIR = os.path.dirname(os.path.abspath(__file__))
TEMPLATE_DIRS = os.path.join(BASE_DIR, 'templates')


where exercise_data.json is in 


/templates/exercise_data.json


what is best practice to read in my json data and create end-point for it?






-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pocoo-libs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to