[pylons-discuss] why is the debug toolbar not shown

2015-06-18 Thread r/ Wobben
Hello, I have this code : https://github.com/rwobben/test_pyramid and according to chapter 4 of thr quick tutorial a toolbar schould be seen. But on my box no toolbar to be seen. Someone a idea why this happens and how to make this work ? Roelof -- You received this message because you are

Re: [pylons-discuss] why is the debug toolbar not shown

2015-06-18 Thread Thierry Florac
Is your application deployed on local host? By default the toolbar is only displayed for localhost... Otherwise you can set your IP address in main section of your development.ini: debugtoolbar.hosts = 127.0.0.1 ::1 Regards, Thierry 2015-06-18 13:09 GMT+02:00 r/ Wobben wobbe...@gmail.com:

Re: [pylons-discuss] How to configure authentication for testing

2015-06-18 Thread Jeff Dairiki
One way is to step through the whole login procedure. I.e. make sure your test app is configured with a particular user (and password) in its user db, then so something like:: res = self.app.get('/login') login_form = res.forms['login-form'] login_form['username'] = 'someuser'

Re: [pylons-discuss] beginner in python. Can pyramid be something for me ? and can I use mongodb ?

2015-06-18 Thread r/ Wobben
Op zaterdag 13 juni 2015 21:15:04 UTC+2 schreef Steve Piercy: On 6/13/15 at 10:44 AM, wobb...@gmail.com javascript: (r/ Wobben) pronounced: Can pyramid be something for me or do I have to learn more python. One way to find out is to try the tutorials.

Re: [pylons-discuss] guick tutorial chapter 3 questions where I cannot find the answers

2015-06-18 Thread Oliver
http://pythontips.com/2013/08/04/args-and-kwargs-in-python-explained/ On 18.06.2015 09:45, r/ Wobben wrote: Hello, IM at chapter 3 and on this two I cannot find the answer : The entry point in |setup.py| didn't mention |__init__.py| when it declared |tutorial:main| function. Why not?

[pylons-discuss] guick tutorial chapter 3 questions where I cannot find the answers

2015-06-18 Thread r/ Wobben
Hello, IM at chapter 3 and on this two I cannot find the answer : The entry point in setup.py didn't mention __init__.py when it declared tutorial:main function. Why not? What is the purpose of **settings? What does the ** signify? Can anyone points me to where I can find the answers ?

Re: [pylons-discuss] guick tutorial chapter 3 questions where I cannot find the answers

2015-06-18 Thread r/ Wobben
Thanks, I understand it now. Hopefully someone has a tip about the first one. Roelof Op donderdag 18 juni 2015 10:10:21 UTC+2 schreef Oliver Berger: http://pythontips.com/2013/08/04/args-and-kwargs-in-python-explained/ On 18.06.2015 09:45, r/ Wobben wrote: Hello, IM at chapter 3

Re: [pylons-discuss] guick tutorial chapter 3 questions where I cannot find the answers

2015-06-18 Thread Oliver
https://docs.python.org/2/tutorial/modules.html#packages I guess this is not the right place to ask for basic Python knowhow - so try to get familiar with e.g. https://docs.python.org/2/tutorial/ On 18.06.2015 12:46, r/ Wobben wrote: Thanks, I understand it now. Hopefully someone has a