what the add_static_view function does there is that whenever a request
comes in with a /static/ path, it will try to serve those static assets
from deform package's static folder.
what you can do is you can set turbogears to serve static files and move
the deform assets to your static directory. that'd be the easy way.
toscawidgets registers itself to the middleware directly serving its own
assets.
On Tuesday, December 12, 2017 at 12:41:05 PM UTC+3, jeetu wrote:
>
> Hi,
> I was playing around deform and colander. I could not get to working them
> in TG2. Basically i got stuck at the step of how to inject deform
> static_files in TG2. This should be somewhat similar to what TG2 already
> does with Toscawidget. What should be the equivalent of pyramid's config.
> add_static_view('static', 'deform:static') in TG. Can somebody help in
> setting up deform with TG2.
>
> Ref:
> https://docs.pylonsproject.org/projects/deform/en/latest/basics.html#serving-up-the-rendered-form
>
>
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.