[omaha] Load and static tag alternates for Jinja2!
Varun Mehta
varun.sagi20 at gmail.com
Tue Jan 13 07:50:12 CET 2015
https://docs.djangoproject.com/en/1.7/howto/static-files/
This explains static file (css, images etc) management in django templates using load & static tags.
I am using jinja2. Could not find similar solution?
Varun
On Jan 13, 2015, at 12:45 AM, Wes Turner <wes.turner at gmail.com> wrote:
> Do you have a few links to the documentation for the features you are
> referring to?
> On Jan 13, 2015 12:35 AM, "Varun Mehta" <varun.sagi20 at gmail.com> wrote:
>
>> None of the link answers my questions.
>> I do know how to load jinja2 in django.
>> The problem revolves around load and static tag.
>>
>> In flask, they have alternative of url_for().
>> Looking for a solution in django.
>>
>> -Varun
>>
>> On Jan 13, 2015, at 12:07 AM, Wes Turner <wes.turner at gmail.com> wrote:
>>
>>> https://docs.djangoproject.com/en/1.7/howto/custom-template-tags/
>>>
>>>
>> https://docs.djangoproject.com/en/1.7/ref/contrib/staticfiles/#std:templatetag-staticfiles-static
>>>
>>> http://jinja.pocoo.org/docs/dev/switching/#django
>>>
>>> http://jinja.pocoo.org/docs/dev/api/#jinja2.Environment.globals
>>>
>>> http://niwibe.github.io/django-jinja/#_django_pipeline
>>>
>>> ...
>> https://www.indiegogo.com/projects/multiple-template-engines-for-django
>>> On Jan 12, 2015 11:20 PM, "Varun Mehta" <varun.sagi20 at gmail.com> wrote:
>>>
>>>> I am looking for alternatives to load and static template tags of django
>>>> in Jinja2.
>>>> Please help.
>>>>
>>>> -Varun
>>>>
>>>> _______________________________________________
>>>> Omaha Python Users Group mailing list
>>>> Omaha at python.org
>>>> https://mail.python.org/mailman/listinfo/omaha
>>>> http://www.OmahaPython.org
>>>>
>>> _______________________________________________
>>> Omaha Python Users Group mailing list
>>> Omaha at python.org
>>> https://mail.python.org/mailman/listinfo/omaha
>>> http://www.OmahaPython.org
>>
>> _______________________________________________
>> Omaha Python Users Group mailing list
>> Omaha at python.org
>> https://mail.python.org/mailman/listinfo/omaha
>> http://www.OmahaPython.org
>>
> _______________________________________________
> Omaha Python Users Group mailing list
> Omaha at python.org
> https://mail.python.org/mailman/listinfo/omaha
> http://www.OmahaPython.org
More information about the Omaha
mailing list