Skip to content
Django boiler plate code for any generic SAAS tool
Branch: master
Clone or download
Latest commit daaae14 Mar 20, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
saas fixes Mar 20, 2019
.gitignore Update Mar 20, 2019 first commit Mar 20, 2019 first commit Mar 20, 2019
requirements.txt removed unecessary requirements Mar 20, 2019 turned into a django app Mar 20, 2019 turned into a django app Mar 20, 2019 first commit Mar 20, 2019


  • This django project is meant to serve as a boilerplate code for building any saas tool

  • The directory saas serves as a django app with all the boilerplate code

  • django-rest-framework is used for authentication and creating apis. Please refer to this if not familiar with django-rest-framework since this project heavily relies on it.

  • business logic for all APIs is present in serializers.

  • to use this as a library, refer to this


curl -XPOST 'http://localhost:8000/saas/signup' -d '{"business": {"name": "test inc"}, "email": "", "first_name": "sankalp", "last_name": "jonna", "password1": "pleasepass", "password2": "pleasepass"}' -H "Content-type: application/json"


curl -XPOST 'http://localhost:8000/saas/login' -d '{"email": "", "password": "pleasepass"}' -H "Content-type: application/json"

Reset password

curl -XPOST 'http://localhost:8000/saas/passwd/reset' -d '{"email": ""}' -H "Content-type: application/json"

Reset password confirmation

curl -XPOST 'http://localhost:8000/saas/passwd/reset/cnfrm' -d '{"activation_key": "<activation_key>", "password1": "sankalp", "password2": "sankalp"}' -H "Content-type: application/json"


curl -XGET 'http://localhost:8000/saas/me' -H "Authorization: Token <token>"


curl -XPOST 'http://localhost:8000/saas/invite' -H "Authorization: Token 534fe89f5d6b9ff214e8883d7b9664177002056a" -H "Content-Type: application/json" -d '{"email": ""}'

Prefill Signup form

curl -XGET 'http://localhost:8000/saas/signup/prefill?key=<activation_key>'

Using as a library

If you feel that the current functionality is enough and you wish to simply use the saas app in your existing django project, follow these steps


pip install git+

add saas and rest_framework to INSTALLED_APPS



add rest_framework settings


run migrations

python migrate

add to

in the root urls, add

urlpatterns = [
	url(r'^', include('django.contrib.auth.urls')),
    url(r'^saas/', include('saas.urls')),
You can’t perform that action at this time.