Skip to content

bharti0420/django_user_activity_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Activity

Introduction:-

This app stores the information of user and there work activities. we can store the data using custom management command. One API is provided to get all the user data and their respective activities list in the form of JSON.

Requirements:

  • Python 3.6
  • Django 3.1
  • DRF 3.11.1

Custom Management Commad:-

  • command: python manage.py populatedbdata --path "path of json file"

  • Json file should be formatted like shown below:

    json

Models

  • User - Defines the details about user like real name and timezone
  • Activity Periods - explains about the each activity of every user. It take two attributes one is "start time" and second is "end time". One more attributes exists which define the relation(Many to One) with User model.

Hosting:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages