-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/04/2014 04:07 PM, Tanner Semerad wrote:
> *how do I access the Configurator object after app initialization (or
>  is that even allowed)?*

Untested, but you can pass an existing 'registry' when creating a
Configurator instance.  So, something like::

  from repoze.config import Configurator

  @view_config(route='extend_views')
  def extend_views(request):
      config = Configurator(request.registry)
      config.begin()
      config.add_route(...) #etc.
      config.commit()

might work.  Please let us know if it does. ;)


Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          [email protected]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlM/F48ACgkQ+gerLs4ltQ47hQCgqKdIuruYKtxxFX8IGcScm+/I
U34Anit/aOuePA0V6hjr7GCj9hizT4Nx
=7AR3
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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 http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to