yes i did that,
deform_bootstrap in setup.py & development.ini and than
# Adding the static resources from Deform
config.add_static_view('deform_static', 'deform:static',
cache_max_age=3600)
config.add_static_view('deform_bootstrap_static',
'deform_bootstrap:static', cache_max_age=360
Now its working.
On Thu, Aug 1, 2013 at 8:22 AM, Abdul Wahid wrote:
> yes i did that,
>
>deform_bootstrap in setup.py & development.ini and than
> # Adding the static resources from Deform
> config.add_static_view('deform_static', 'deform:static',
> cache_max_age=3600)
> config.ad
Abdul
You must add entry "deform_bootstrap" to install_requires in the setup.py.
2013/07/31 15:16 "Abdul Wahid" :
> Hi everyone,
>
> I have gone through https://pypi.python.org/pypi/deform_bootstrap
> documentation
> and as it show that
> I just downloaded this and wanna use it
>
> In your Paste
Yes, you are right it works after adding this
*
*
* # Adding the static resources from Deform*
*config.add_static_view('deform_static', 'deform:static',
cache_max_age=3600)*
*config.add_static_view('deform_bootstrap_static',
'deform_bootstrap:static', cache_max_age=3600)*
Thanks,
Abdul
Le 31/07/13 08:16, Abdul Wahid a écrit :
> But i am unable to see all static file in my project such .css, .js files.
> And unable to place any bootstrap class on any element.
Hi,
if I remember correctly, you must
1/ manually create a static route pointing to directory
deform_bootstrap:static, a
Hi everyone,
I have gone through https://pypi.python.org/pypi/deform_bootstrap documentation
and as it show that
I just downloaded this and wanna use it
In your Paste Deploy configuration file (e.g. development.ini) add
deform_bootstrap to the list of pyramid_includes, or add a this line if a
pyr