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

Filip Dobrovolny fdobrovo at redhat.com
Mon Aug 29 18:50:52 UTC 2016


I don't know pulp inside out, but afaik it doesn't looks like that we would
be using it for anything more than just inserting values. And often for
just one value at beginning of huge chunk of xml.

Kind Regards,

Filip Dobrovolny.

On Mon, Aug 29, 2016 at 4:30 PM, Jeremy Audet <jaudet at redhat.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-dev/attachments/20160829/296af0b6/attachment.htm>


More information about the Pulp-dev mailing list