We will have a function ftd_django.package_files which will be used like this:
import ftd_django
urlpatterns = [
# ... the rest of your URLconf goes here ...
] + ftd_django.package_files()
It will be added in the end of urlpatterns, and any URL matching a ftd file in current package would be served by us.
We will have a function
ftd_django.package_fileswhich will be used like this:It will be added in the end of
urlpatterns, and any URL matching a ftd file in current package would be served by us.