[Pulp-dev] Suggestion: Start using string format instead of Django templating in generation of repodata

Brian Bouterse bbouters at redhat.com
Tue Aug 30 15:45:38 UTC 2016


AFAIK, we don't use template inheritance. Our template processing is 
very limited and I believe was introduced only recently (2.9 iirc).

+1 to going forward with the suggestion in 2169.

-Brian

On 08/29/2016 10:30 AM, Jeremy Audet wrote:
> Django templates offer more than just interpolating (coerced) values
> into strings. They also offer template inheritance, some minimal inline
> flow control and calls out to external functions. Beware that by moving
> away from templates, you'll be missing out on these features. (If Pulp
> is *not* using these features, why are Django templates being used?
> format(), string.Template(), etc are all much simpler.)
>
> -Jeremy
>
>
> _______________________________________________
> Pulp-dev mailing list
> Pulp-dev at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-dev
>




More information about the Pulp-dev mailing list