use external fpm package #16
amitu
started this conversation in
Ideas & RFC
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Note: This would be trivial after
download-base-urlin fpm is implemented.Currently we add something like this to TEMPLATES:
{ "BACKEND": "ftd_django.TemplateBackend", "DIRS": ["ui"], # <- this is where you would keep your ftd files "OPTIONS": { "PROCESSORS": ["app.processors.simple_processor"] } }Imagine if we could add this instead:
{ "BACKEND": "ftd_django.TemplateBackend", "OPTIONS": { "PACKAGE": "foo.com/package" "PROCESSORS": ["app.processors.simple_processor"] } }We have deleted
DIRSand addedPACKAGEtoOPTIONS.In
fpmwe already have a feature to download dependencies on demand, we can use this feature for main package as well.Rationale
The advantage would be we can maintain our FPM package independently from our django code.
Both Would Be Supported
We will support both
uifolder andPACKAGEoption.Beta Was this translation helpful? Give feedback.
All reactions