I’m having trouble finding an example of, or understanding how to add additional urlpatterns to urls.py via a plugin.
urlpatterns += ( url(r'^api/additional_path/', include('new_package.rest.urls', namespace='new_package')), )
I’m in the process of converting some of the minor changes in my deployment over to the tutor plugin system to eliminate the need to fork the main edx-platform, but I’m a little stuck on how to approach targeted changes such as this, or adding additional default xblocks in newly created courses
I have been looking over the provided python package examples mentioned in the tutor plugin documentation, and having trouble deciphering where if at all this type of addition is taking place. (for all i know i’ve looked right at it and didn’t realize)
From what i can gather from forum hopping the past few days, i need to:
- generate a new plugin with cookiecutter,
- and add a patch being that this makes a file change
and i have started this process, but i’m having trouble identifying what needs to be there
Can anyone recommend a starting point for how i would go about this? or point me to an example of this being done?