-
Notifications
You must be signed in to change notification settings - Fork 0
Development Notes
Adam Hartz edited this page Oct 28, 2015
·
3 revisions
##api location
https://rocky-falls-8228.herokuapp.com/api/activities/
https://rocky-falls-8228.herokuapp.com/api/activities/{activity_id}/stats/
https://rocky-falls-8228.herokuapp.com/api/users/
-
docs also available: https://rocky-falls-8228.herokuapp.com/docs/
-
assignment: https://github.com/tiyd-python-2015-08/assigments/tree/fee-collab/27--Stat-Tracker
Users
- username
- password
Activity
- user = models.ForeignKey(User) (not needed in form; comes with logged in http request)
- full_description
- units
Stat
- user = models.ForeignKey(User)
- activity_id
- reps
- date (note that this is changed from timestamp because we are recording events by date only)