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
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,
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
Abdul
You must add entry deform_bootstrap to install_requires in the setup.py.
2013/07/31 15:16 Abdul Wahid abdulwahi...@gmail.com:
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
Now its working.
On Thu, Aug 1, 2013 at 8:22 AM, Abdul Wahid abdulwahi...@gmail.com 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)
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',
I am using object level security to enforce authz policies. So for example:
for route /u/{uid} I have a UserFactory, which loads the user data from the
database and returns that in __getitem__ which is the request.content in
the view. What I would like to do is to be able to use a container
On Wed, 2013-07-31 at 21:44 -0700, Ams Fwd wrote:
I am using object level security to enforce authz policies. So for
example:
for route /u/{uid} I have a UserFactory, which loads the user data
from the database and returns that in __getitem__ which is the
request.content in the view. What I
On 07/31/2013 10:25 PM, Chris McDonough wrote:
On Wed, 2013-07-31 at 21:44 -0700, Ams Fwd wrote:
I am using object level security to enforce authz policies. So for
example:
for route /u/{uid} I have a UserFactory, which loads the user data
from the database and returns that in __getitem__ which