| 18:29 | rodfersou | kkk |
| ok | ||
| 18:30 | rodfersou | inklesspen, thanks |
| 18:30 | inklesspen | do you put on a one-piece jumpsuit in the morning? or do you put on a shirt and pants? that's two pieces of clothes rather than one, rodfersou! |
| 18:31 | desmaj | Careful, inklesspen. In the future, we will all wear one-piece jumpsuits. How will we deploy our applications then? |
| 18:32 | inklesspen | desmaj: telepathy |
| we will be writing in PSYthon 5000 | ||
| 18:32 | rodfersou | :P |
| 18:32 | desmaj | better start thinking about 3to5 then |
| 18:37 | relo_san | |
| 18:38 | relo_san | #pylons |
| 18:40 | percious | #pylons |
| 18:45 | Matjong1 | |
| 18:46 | Matjong | #pylons |
| 18:48 | leveille | #pylons |
| 18:49 | leveille | #pylons |
| 18:55 | wsantos | #pylons |
| 19:04 | nosk1o | #pylons |
| 19:06 | THC4k | #pylons |
| 19:06 | wsantos | |
| 19:07 | wsantos | #pylons |
| 19:07 | whuuu | #pylons |
| 19:11 | whuuuuu | |
| 19:12 | wsantos | #pylons |
| 19:13 | aconrad_ | |
| 19:13 | wsantos | #pylons |
| 19:13 | THC4k | |
| 19:15 | wsantos | |
| 19:16 | wsantos | #pylons |
| 19:18 | mindlace | #pylons |
| 19:18 | martin_m | #pylons |
| 19:21 | rodfersou | |
| 19:25 | osmosis | #pylons |
| 19:25 | albertov | #pylons |
| 19:26 | albertov | |
| albertov | #pylons | |
| 19:27 | albertov | #pylons |
| 19:32 | my_haz | what do people around here use to profile their pylons' apps? |
| 19:33 | Signum | uses users and "ab" |
| 19:33 | my_haz | yeah, i use ab, but thats not really a "profiler" |
| what is users? | ||
| 19:35 | Signum | humans :) |
| There is a nice piece of profiling middleware. Try the wiki. | ||
| adds profiling output to the end of each page | ||
| 19:37 | my_haz | Signum: http://pypi.python.org/pypi/repoze.profile ? |
| 19:38 | my_haz | i still don't like this "users" thing, i would rather users stay far far away from my apps :-P |
| 19:38 | Signum | nah, not quite |
| let me check my bookmarks | ||
| 19:40 | Signum | http://pythonpaste.org/modules/debug.profile.html |
| 19:47 | my_haz | hmm, that looks like what i am looking for, but it isn't giving me any data |
| just a yellow line at the bottom of the page :( | ||
| 19:47 | drtjr | |
| 19:48 | drtjr | #pylons |
| 19:48 | Signum | added to your middleware.py in the right place? |
| 19:49 | Signum | I used that once in my apps. But I can't figure out where. |
| And it worked here. | ||
| 19:52 | jmesquita | #pylons |
| 19:52 | percious | |
| 19:54 | sophacles_work | |
| 19:57 | Matjong | |
| 19:58 | percious | #pylons |
| 20:10 | wsantos | |
| 20:13 | thepix | |
| 20:14 | iElectric | |
| 20:17 | justsomedood | #pylons |
| 20:27 | justsomedood | Does anybody here have experience making custom validators in FormEncode? |
| 20:28 | justsomedood | It makes it seem like the state argument is given with the dictionary values so far when making a Schema, but it's not |
| I need the value of both the item i'm looking at, and then another in the schema | ||
| 20:28 | martin_m | #pylons |
| 20:39 | kmcb | #pylons |
| 20:41 | Signum | justsomedood: the "state" is something that you explicitly pass in when validating. it's not from the form AFAIK. |
| justsomedood: but looking at formencode.validators.FieldsMatch may give you a clue | ||
| 20:41 | justsomedood | Signum: Just looking at that now, thanks |
| 20:44 | OramahMaalhur | #pylons |
| 20:44 | whuuuu | #pylons |
| 20:45 | whuuuu | |
| 20:48 | wisemanby | |
| 20:51 | wisemanby | #pylons |
| 20:51 | justsomedood | Ok, so yeah, using a chained_validator in the schema, and inheriting from a formencode.validators.FormValidator with the class property validate_partial_form = True will send the form to validate_partial() |
| 20:54 | percious | |
| 21:11 | andref_dias | |
| 21:18 | percious | #pylons |
| percious | ||
| 21:19 | sophacles_work | #pylons |
| 21:19 | pluma | #pylons |
| 21:21 | pluma | I want to use MongoDB via MongoEngine in Pylons. I've put my models in models/__init__.py; connecting mongoengine to the DB only takes a single call to mongoengine.connect(): where should I put that call? I'm assuming that I should probably put the db name in the config? |
| 21:23 | justsomedood | pluma: the config would be a great place for the dbname |
| 21:24 | pluma | justsomedood: and the actual connection? If I put it in the models, I can't load the models without connecting and I couldn't connect without loading the models. Granted, that's not horribly disastrous atm, but it feels wrong. |
| 21:24 | justsomedood | you could put the connect in config/environment.py, or in the model |
| 21:25 | pluma | Ah. Okay. I'll check config/environment.py then. |
| 21:25 | justsomedood | pluma: I don't know if there is a "proper" place to put the only-on-startup things, but that's where most of mine are |
| under load_environment | ||
| 21:26 | pluma | Under or inside? |
| 21:26 | justsomedood | inside |
| 21:26 | pluma | a'ight |
| Thanks. | ||
| 21:26 | justsomedood | np |
| 21:29 | pluma | Hm... where in the ini should I put the dbname and how would I go about accessing that via the config object? |
| 21:30 | osmosis | |
| 21:30 | mindlace | |
| 21:30 | justsomedood | from pylons import config |
| config['configkey'] | ||
| 21:31 | justsomedood | that works if it's under the [app:main] section |
| 21:31 | pluma | Ah, okay. app:main then. |
| 21:31 | [diecast] | is config from configobj? |
| 21:32 | Eren__ | #pylons |
| 21:33 | Eren__ | |
| 21:35 | Eren_ | |
| 21:37 | adamhutton | |
| 21:40 | percious | #pylons |
| 21:41 | redir | |
| 21:42 | andref_dias | #pylons |
| 21:48 | andref_dias | |
| 21:50 | mattikus | #pylons |
| 21:50 | atom32k | #pylons |
| 21:52 | iElectric | #pylons |
| 21:53 | atomekk | |
| 21:55 | pluma | Does Jinja2 need any special magic to work with Babel in Pylons? |
| 21:55 | percious_ | #pylons |
| 21:58 | percious | |
| 22:00 | percious_ | |
| 22:01 | percious | #pylons |
| 22:03 | zenom_ | |
| 22:05 | jeansch | |
| 22:06 | zenom | |
| 22:07 | fxhp | #pylons |
| 22:09 | grahzny | #pylons |
| 22:11 | emanuel | |
| 22:12 | emanuel | #pylons |
| 22:20 | osmosis | #pylons |
| 22:27 | nosk1o | |
| 22:39 | mattikus | |
| 22:40 | mattikus | #pylons |
| 22:48 | sakura_ | #pylons |
| 22:49 | sakura_ | |
| 22:49 | DanielHolth | |
| 22:54 | zenom | #pylons |
| zenom | #pylons | |
| 23:10 | OramahMaalhur | |
| 23:11 | atom32k | |
| 23:12 | magustenebrarum | |
| 23:13 | sophacles_work | |
| 23:13 | mengu | |
| 23:15 | osmosis | |
| 23:18 | jmesquita_ | #pylons |
| 23:21 | jmesquita | |
| 23:21 | jmesquita_ | jmesquita |
| 23:27 | sakura_ | #pylons |
| 23:32 | percious | |
| 23:48 | osmosis | #pylons |
| 23:48 | whuuu | |
| 23:57 | whuuu | #pylons |
| 23:58 | mreggen | #pylons |
| 00:15 | batok | |
| 00:19 | richkazin | #pylons |
| 00:27 | mattikus | |
| 00:31 | cedric303 | #pylons |
| 00:32 | MarkB1 | #pylons |
| 00:33 | jmesquita | |
| jmesquita | #pylons | |
| 00:39 | Ergo^ | |
| 00:44 | THC4k | #pylons |
| 00:48 | Saizan | |
| 00:52 | MarkB1 | |
| 00:55 | elpargo | |
| 00:56 | zzzeek | #pylons |
| 01:01 | elpargo | #pylons |
| 01:01 | eomh | #pylons |
| 01:12 | fxhp | |
| 01:15 | abchirk | |
| 01:36 | mopemope | #pylons |
| 01:38 | dialtone | |
| 01:39 | cedric303 | |
| 01:45 | mopemope_ | #pylons |
| mopemope_ | ||
| 01:46 | THC4k | |
| 01:47 | mopemope | |
| 01:52 | emanuel | |
| 01:53 | zvart | |
| 01:57 | wendall911 | |
| 02:11 | richkazin | |
| 02:23 | richkazin | #pylons |
| 02:35 | dialtone | #pylons |
| 02:40 | whuuu | |
| 02:41 | w0lfy | #pylons |
| 02:41 | elpargo | |
| 02:42 | dialtone | |
| 02:49 | tholo | #pylons |
| 03:07 | justsomedood | |
| justsomedood | #pylons | |
| 03:09 | inklesspen | |
| 03:13 | osmosis | |
| 03:18 | kmcb_ | #pylons |
| 03:19 | kmcb | |
| 03:19 | kmcb_ | kmcb |
| 03:30 | ignas | |
| 03:30 | inklesspen | #pylons |
| 03:37 | dagnachew | #pylons |
| 03:39 | inklesspen | |
| 03:44 | richkazin | |
| 03:45 | richkazin | #pylons |
| 03:45 | NoPyGod | #pylons |
| 03:46 | richkazin | |
| richkazin | #pylons | |
| 03:47 | dialtone | #pylons |
| dialtone | ||
| dialtone | #pylons | |
| 03:47 | greg8si | #pylons |
| 03:51 | inklesspen | #pylons |
| 03:55 | mopemope | #pylons |
| 04:16 | nosklo | |
| 04:22 | dagnachew | |
| 04:31 | mopemope | |
| 04:32 | elpargo | #pylons |
| 04:35 | mopemope | #pylons |
| 04:45 | Matjong | #pylons |
| 05:18 | fairwinds | |
| 05:19 | _diana_ | |
| 05:20 | _diana_ | #pylons |
| 05:26 | zzzeek | |
| 05:34 | marianom | |
| 05:38 | emanuel | #pylons |
| 06:17 | masted | |
| 06:19 | mopemope | |
| 06:28 | mengu | #pylons |
| 06:28 | masted | #pylons |
| 06:33 | Matjong | |
| 06:35 | Matjong | #pylons |
| 06:40 | emanuel | |
| 06:41 | mopemope | #pylons |
| 06:41 | slango | #pylons |
| 06:44 | mopemope_ | #pylons |
| 06:46 | mopemope | |
| 06:49 | kanru | |
| 06:53 | mopemope | #pylons |
| 06:55 | drtjr | |
| 06:55 | brandini | |
| 06:56 | mopemope_ | |
| 06:58 | emanuel | #pylons |
| 07:02 | emanuel1 | #pylons |
| 07:04 | jmesquita | |
| 07:04 | emanuel2 | #pylons |
| 07:06 | emanuel | |
| 07:06 | emanuel1 | |
| 07:07 | brandini | #pylons |
| 07:08 | kanru | #pylons |
| 07:11 | btami | #pylons |
| 07:18 | D-vo | |
| 07:23 | emanuel2 | |
| 07:28 | richkazin |



