Expanding the main api
This page describes how to expand the API of the main repository (BB8-2020/main)
To add a new API / Use Case
In requirements.txt
requirements.txt-e git+<github_url>#egg=<package_name>In main.py
main.py# Please add your import
from <repo_name>.urls import urls as <repo_name>_urls
...
def setup_urls():
new_urls = [
...,
# Add your URL definition
*<repo_name>_urls
]
...Last updated