Skip to content

Random user generator using Python scripting and Simple API using Django Rest Framework

Notifications You must be signed in to change notification settings

wajeshubham/django-rest-framework-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# django-rest-framework-api
 Simple API with Django and the Django Rest Framework

 Run the following commands to get started:

 $ virtualenv env
 $ pip install -r requirement.txt
 $ python manage.py runserver





To create dummydata run custom management command:

 $ python manage.py createusers


createusers.py file location:

 myApp/
    __init__.py
    models.py
    management/
        commands/
            __init__.py
            createusers.py
    tests.py
    views.py
    
    
    
 after creating dummy data run the server:
 
  $ python manage.py runserver
  
  
 Now go to 'localhost:8000/myApp/' and click on value of "employee" key 
 

About

Random user generator using Python scripting and Simple API using Django Rest Framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages