Re: template_engine.default considered harmful

2007-12-12 Thread Mike Orr
prod.cfg be merged into production.ini and app.cfg into environment.py? If it doesn't use environment,py, I don't see how we can have a common template configuration API between TG and Pylons. -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received

Re: template_engine.default considered harmful

2007-12-12 Thread Mike Orr
type the engine name and get the wrong renderer. -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel@googlegroups.com

Re: Cleaning some house of imports and one letters

2007-12-18 Thread Mike Orr
important too. -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel@googlegroups.com To unsubscribe from this group

Re: Cleaning some house of imports and one letters

2007-12-18 Thread Mike Orr
thought the reasoning for ultra-short names is because of the tedium of passing context to the template namespace, I believe the one-letter names came from Perl::Mason via Myghty. -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because

Re: Cleaning some house of imports and one letters

2007-12-19 Thread Mike Orr
On Dec 19, 2007 4:31 AM, Max Ischenko [EMAIL PROTECTED] wrote: On 12/18/07, Mike Orr [EMAIL PROTECTED] wrote: I've found two rare cases for it. One was for a reference object that's built on application startup, which I could just have easily put into a module global. The other

Re: Cleaning some house of imports and one letters

2007-12-19 Thread Mike Orr
On Dec 19, 2007 9:10 AM, Ian Bicking [EMAIL PROTECTED] wrote: Mike Orr wrote: On Dec 19, 2007 8:37 AM, Ian Bicking [EMAIL PROTECTED] wrote: pylons.c is just a little odd -- if we could change the render function to just take substitution variables as keyword arguments then I

Re: Cleaning some house of imports and one letters

2007-12-19 Thread Mike Orr
On Dec 19, 2007 11:21 AM, Ben Bangert [EMAIL PROTECTED] wrote: from pylons import render, request, response, session Is that a move of pylons.template.render ? -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you

Re: Cleaning some house of imports and one letters

2007-12-19 Thread Mike Orr
On Dec 19, 2007 1:29 PM, Mike Orr [EMAIL PROTECTED] wrote: Besides being hard to understand, they are a pain to debug. That's actually my concern with them. Oh, and they have weird performance characteristics that have frequently caught people. I don't see any way to remove them

Re: WebOb in pylons trunk

2007-12-27 Thread Mike Orr
On Dec 27, 2007 7:17 PM, Mark Ramm [EMAIL PROTECTED] wrote: it turns out there are two WebOb incompatibilities in the current pylons trunk which need to be overcome. These need to be fixed anyway because Pylons will drop support for the old Request/Response by 1.0. -- Mike Orr [EMAIL

Returning a static file; WebOb wishlist item

2008-01-08 Thread Mike Orr
/project/pylonshq/ticket/355 Any ideas? -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel@googlegroups.com

Re: Routes 2 spec

2008-01-16 Thread Mike Orr
, especially if the user assigns C = m.connect. I would be even more happier if routes 2 would consistently allow proper subdomain handling... ;-)) Ben has some ideas about this which he hasn't told me, so I don't know what he's cooking up. What are the problems with subdomains? -- Mike Orr [EMAIL

pkg_resources.require

2008-01-16 Thread Mike Orr
-packages, or if the other version is a Pylons dependency (as in the case of Routes). Another thing. I tried deleting the other Mako directory from sys.path but i still go the error anyway. -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received

Re: Routes and WebHelpers status, and lxml

2008-01-25 Thread Mike Orr
features) they want. That may be doable. I haven't looked at the code closely enough yet to determine whether WebHelpers would benefit from lxml's unique features. -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you

Re: Paginator and Javascript

2008-03-03 Thread Mike Orr
have to face a 90% API breakage anyway. WebHelpers will be quite incompatible, so this is a good time to make any API changes. Those who want compatibility can use the older versions of WebHelpers and your module. -- Mike Orr [EMAIL PROTECTED

WebHelpers and Pylons

2008-03-03 Thread Mike Orr
call it in environment.py or middleware.py. Would a WebHelpersMiddleware help with this somehow? Does anybody have any other ideas about this? -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

template controller

2008-03-04 Thread Mike Orr
Following up on the issue in pylons-discuss, why does the template.py controller exist? Is it a Railsism? Does anybody use it? Should we take it out of the default template and simply have Routes 404 any URLs that don't otherwise match? -- Mike Orr [EMAIL PROTECTED

Re: pylons's nose plugin configuration file versus hardcoded test.ini

2008-03-27 Thread Mike Orr
Could you upload a diff -u of your change to the ticket? Thanks. -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel

Re: Feedback on 9.7.1beta1

2008-03-31 Thread Mike Orr
pylons.templating import render_mako as render If your controllers import * the base controller, you can put it in the base controller. Otherwise you'll have to put it in every controller. Added to What's new in Pylons 0.9.7? http://wiki.pylonshq.com/pages/viewpage.action?pageId=11174779 -- Mike Orr

Project options

2008-04-19 Thread Mike Orr
I want paster make-config to ad some logging stanzas to the .ini file if the project was created with the SQLAlchemy option true. Is it possible to ascertain this? -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you

Re: Docs docs docs!

2008-05-01 Thread Mike Orr
will help with that, though I expect I won't get to it till the end of May. If you know a few particular Cookbook articles that are especially worth putting in the official docs, that's a different issue of course. -- Mike Orr [EMAIL PROTECTED

StackedObjectProxy vs threadlocal

2008-05-06 Thread Mike Orr
the class and reimplement the Pylons-specific parts. But in order to eliminate that request_config, I'd need to do something like this environ_factory or a framework services API. -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because

Re: pylons 0.9.7

2008-05-17 Thread Mike Orr
the documentation done. http://docs.pylonshq.com/ I'd guess a couple weeks-ish. -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons

Re: pylons 0.9.7

2008-05-17 Thread Mike Orr
The outline of the ball in the holder is good, but the color version to the left of the section headers is kind of dull for a logo, and I absolutely don't like the lavendar ball color. How about adding some texture (bits of black) to the color version or some 3-D shadows on one side. -- Mike

WebHelpers tickets

2008-05-23 Thread Mike Orr
exclude it from being wrapped? -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel@googlegroups.com To unsubscribe from

Re: problems with go-pylons.py on Windows

2008-08-19 Thread Mike Orr
dependency or eliminate it. It's not needed for anything in core Pylons, only for the @jsonify decorator. So why not move @jsonify to the Cookbook and eliminate the dependency, at least until simplejson releases a package that can reliably be installed. -- Mike Orr [EMAIL PROTECTED

Re: Prototype works under Konqueror - jQuery ie - not

2008-08-31 Thread Mike Orr
and fix it, or try another library like YUI, ExtJS, ForkJavascript, etc. Also, does what you're doing need a library? Sometimes people think they need a library when it's just as easy to write the code yourself. -- Mike Orr [EMAIL PROTECTED

Re: Prototype works under Konqueror - jQuery ie - not

2008-08-31 Thread Mike Orr
, why doesn't JQuery work on Konqueror? Is Konqueror missing some feature? Have you asked on the JQuery list? -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-devel group. To post

Re: Prototype works under Konqueror - jQuery ie - not

2008-09-02 Thread Mike Orr
links for the current Prototype and Scriptaculous. http://wiki.pylonshq.com/pages/viewpage.action?pageId=11174779 -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-devel group. To post

Re: Who maintains http://docs.pylonshq.com/ ?

2008-09-07 Thread Mike Orr
docs.pylonshq.com. Right now he's hard at work polishing them up for the release, so there's a thousand different things to do. (Maybe only 500 after the big revision a few days ago.) You can post suggestions here or in the bug tracker, and he'll get to them when he has time. -- Mike Orr [EMAIL PROTECTED

Re: public folder

2008-11-08 Thread Mike Orr
environ['PATH_INFO'] manually. -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel@googlegroups.com To unsubscribe from

Re: public folder

2008-11-08 Thread Mike Orr
On Sat, Nov 8, 2008 at 2:34 PM, Lukasz Szybalski [EMAIL PROTECTED] wrote: On Sat, Nov 8, 2008 at 3:55 PM, Mike Orr [EMAIL PROTECTED] wrote: On Sat, Nov 8, 2008 at 12:54 PM, Lukasz Szybalski [EMAIL PROTECTED] wrote: Hello, What needs to change to add public/ folder in front of anything

Weird i18n timeout on App Engine

2008-11-16 Thread Mike Orr
/__init__.py, line 1, in module Internationalization and Localization functionality DeadlineExceededError === -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-devel group

Fwd: buildbot failure in Pylons on Dev 2.5.1

2008-11-16 Thread Mike Orr
build of Dev 2.5.1 on Pylons. Full details are available at: http://pylonshq.com:8010/builders/Dev%202.5.1/builds/361 Buildbot URL: http://pylonshq.com:8010/ Buildslave for this Build: inigo Build Reason: Build Source Stamp: HEAD Blamelist: Mike Orr [EMAIL PROTECTED] BUILD FAILED: failed shell_21

More pkg_resource issues with py2exe

2008-11-26 Thread Mike Orr
packages manually it won't do all that dependency checking that breaks in py2exe/py2app. But there seem to be other places where pkg_resources is used too, and I don't know where they all are. Chris, you'll want to subscribe to the pylons-devel group at groups.google.com. -- Mike Orr [EMAIL

Re: More pkg_resource issues with py2exe

2008-11-26 Thread Mike Orr
On Wed, Nov 26, 2008 at 4:01 PM, Philip Jenvey [EMAIL PROTECTED] wrote: On Nov 26, 2008, at 1:57 PM, Mike Orr wrote: The module is using pylons.legacy without importing it, so that clearly needs to be fixed. Ok, I committed a fix for this, thanks. Weren't you guys using bbfreeze

number_to_human_size helper

2008-12-01 Thread Mike Orr
to come up with an API that would work for a wide variety of users, which is our threshold for helper acceptance. -- Mike Orr [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-devel group

Re: Routes manual (draft)

2009-01-02 Thread Mike Orr
is created, the Mapper method create_regs should be called: m.create_regs(['content','admin/comments','blog']) After this step, the Mapper object is now ready to match URL's. Why is it so difficult for Routes to set a controller variable without it? -- Mike Orr sluggos...@gmail.com

Re: Google Summer of Code 2009

2009-01-07 Thread Mike Orr
structure to be shared by multiple frameworks, and by multiple applications in one process. Of course Paste already does this to some extent, but we're looking at how to make it more universal and multi-app friendly. It's still at the theoretical stage; there are no concrete proposals yet. -- Mike Orr

Re: pylons 0.9.7

2009-01-09 Thread Mike Orr
discussion took place outside of this thread, prior to a sprint, etc. Haha, the only guideline Ben has given me is, Use ReST. He is using some convention for docstring arguments and return values, but I haven't been able to figure out what it is. -- Mike Orr sluggos...@gmail.com

Re: authenticate_form webhelper

2009-02-06 Thread Mike Orr
this patch into trunk? I'm the WebHelpers maintainer so I'd be the one to implement it, but I don't use authenticate_form so I don't know if it's a good idea or not. Others? Is Christoph Haas or Jon Rosebaugh in the house? -- Mike Orr sluggos...@gmail.com

Re: ToscaWidgets Docs

2009-02-08 Thread Mike Orr
, I deleted those and the other three ToscaWidgets articles I found, and put a link on the general Forms page. http://wiki.pylonshq.com/display/pylonscookbook/Forms -- Mike Orr sluggos...@gmail.com --~--~-~--~~~---~--~~ You received this message because you

Re: What do you think about this web helper function called tag_class

2009-04-03 Thread Mike Orr
to make the line more readable, since it would be hard to ascertain after a complicated expression. -- Mike Orr sluggos...@gmail.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-devel group. To post

Re: What do you think about this web helper function called tag_class

2009-04-03 Thread Mike Orr
? It works with a None argument. The function could be taught to do that. print HTML.th(foobar, class_=None) thfoobar/th I'm still thinking about it, and waiting for any feedback from others on whether there's a better or more general solution. -- Mike Orr sluggos...@gmail.com

PylonsCore package

2009-04-09 Thread Mike Orr
on PasteDeploy), render_mako, @jsonify, etc. I would put them all in PylonsCore, even though they depend on undeclared packages. That would be easier than splitting modules between the packages or worse, splitting parts of modules between packages. -- Mike Orr sluggos...@gmail.com

Re: [webhelpers.paginate] I wonder why _pagelink and _range function are defined in pager function and not in Page class ?

2009-04-13 Thread Mike Orr
for putting those methods where they are. -- Mike Orr sluggos...@gmail.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel@googlegroups.com

Re: [webhelpers.paginate] I wonder why _pagelink and _range function are defined in pager function and not in Page class ?

2009-04-13 Thread Mike Orr
Christoph, I'm planning a WebHelpers release in a few days, so please get back to me on whether you want to accept this idea. On Mon, Apr 13, 2009 at 10:44 AM, Mike Orr sluggos...@gmail.com wrote: On Sat, Apr 11, 2009 at 6:59 AM, KLEIN Stéphane klein.steph...@gmail.com wrote: i

Re: [patch] webhelpers.paginate fails on explicit mapper

2009-04-23 Thread Mike Orr
} to ${page.last_item} of ${page.item_count}. /div div${navigator()}/div div style=margin: 0.5em 0 ${caller.body()} /div div${navigator()}/div /div /%def === -- Mike Orr sluggos...@gmail.com --~--~-~--~~~---~--~~ You received this message because you

Re: webhelpers.paginate fails on explicit mapper

2009-04-28 Thread Mike Orr
to url_for in the paginator relied on this feature. (2) was the reason for which your code sample failed as the controller/ action were missing. I'll send Mike Orr a patch bundle including your work. I still have to analyze Christoph's patches, but I do want to say, I want to get away from magic

Re: A Letter to the Authors of Web Authentication Libraries

2009-05-10 Thread Mike Orr
because some people who post like that, do so habitually. I'm sorry if I misjudged you. -- Mike Orr sluggos...@gmail.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send

Re: A Letter to the Authors of Web Authentication Libraries

2009-05-10 Thread Mike Orr
for the blind), but that if we include some Javascript the question arises, Why this Javascript and not others? -- Mike Orr sluggos...@gmail.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-devel group. To post

WebHelpers issues

2009-05-10 Thread Mike Orr
release's page data If this is still the case you might want to first complain to the pypi people about it which is really what we should have done I normally update PyPI interactively as I often get an error using the distutils upload. So is it just a matter of changing the home page entry? -- Mike

Re: HTML-sanitizing helper

2009-06-08 Thread Mike Orr
)        return markup.render('text') Best, Mark On May 31, 4:17 pm, Mike Orr sluggos...@gmail.com wrote: I put an HTML santizing helper in WebHelpers dev.  It's webhelpers.html.converters.sanitize(), defined in webhelpers.html.render.  I'm not sure I'm satisfied with it though. It strips

Re: create_slug helper

2009-06-11 Thread Mike Orr
://paste.pocoo.org/show/121523/ Hmm, Unidecode is 1.4 MB, which is bigger than WebHelpers. What are you using the slugs for? What general purpose would they have in other sites? -- Mike Orr sluggos...@gmail.com --~--~-~--~~~---~--~~ You received this message

Re: pylons future plans?

2009-06-20 Thread Mike Orr
maybe it's just better to leave them as they are because they're working. -- Mike Orr sluggos...@gmail.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons

Re: pylons future plans?

2009-06-23 Thread Mike Orr
On Tue, Jun 23, 2009 at 10:10 AM, Iain Duncaniaindun...@telus.net wrote: On Tue, 2009-06-23 at 06:25 -0700, Mike Orr wrote: Perhaps we could have an IRC documentation party this Saturday and go over how the documentation is structured and make some decisions on how the subprojects should

Re: create_slug helper

2009-07-24 Thread Mike Orr
dev already. (Finally I have my own time machine!) webhelpers.text.urlify(). There's also a companion remove_formatting() to strip HTML tags, and some character/entity converters. All by Ben and based on Ruby's stringex package. -- Mike Orr sluggos...@gmail.com

Feedgenerator

2009-12-03 Thread Mike Orr
://docs.djangoproject.com/en/dev/ref/contrib/syndication/ -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send email to pylons

Re: Concurrency

2009-12-15 Thread Mike Orr
On Tue, Dec 15, 2009 at 5:18 PM, Mike Orr sluggos...@gmail.com wrote: On Tue, Dec 15, 2009 at 2:39 PM, Joan Miller pelok...@gmail.com wrote: Pylons is a great project, thanks! But I'm supposed that it would be faster if it were ready for concurrency. Today is not necessary to use Twisted

Basic HTML helpers

2009-12-16 Thread Mike Orr
can't find a simple function to generate a URL with query string (not using Routes). Is there an equivalent to this somewhere I've overlooked? def url(urlpath, **params): if not params: return urlpath return urlpath + ? + urllib.urlencode(params) -- Mike Orr sluggos...@gmail.com

Re: Basic HTML helpers

2010-01-13 Thread Mike Orr
Thanks for your feedback, James. On Wed, Jan 13, 2010 at 12:31 PM, jgard...@jonathangardner.net jgard...@jonathangardner.net wrote: On Dec 16 2009, 8:43 pm, Mike Orr sluggos...@gmail.com wrote: A couple proposed helpers, one for doctypes and one to generate a complete HTML document.  What do

Re: Pylons tests are broken ?

2010-03-11 Thread Mike Orr
/Routes-1.12-py2.6.egg/routes/util.py, line 412, in __call__    (args, kargs)) GenerationException: Could not generate URL. Called with args: () {'controller': 'sample'} The url() call must be inconsistent with the route map the test is using. -- Mike Orr sluggos...@gmail.com -- You received

Bitbucket error

2010-03-13 Thread Mike Orr
-forma -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com

Fwd: [Bitbucket] Re: site issues?

2010-03-13 Thread Mike Orr
) in place for this now, so it shouldn't happen again, and it's fixed now. Jesper -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe

Re: stackless pylons?

2010-03-14 Thread Mike Orr
why there hasn't been a major push to get rid of them. -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send email

Re: stackless pylons?

2010-03-14 Thread Mike Orr
still don't understand it very well, and the docs help only so far. You'll probably get a better answer on pylons-discuss, and we can invoke Ian if necessary for advice. -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons-devel

Re: Help get Pylons 1.0 out the door!

2010-05-18 Thread Mike Orr
It's reviewed up to Anatomy of a Request (line 419). -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send email

Re: #405: [Patch] Split up @validate

2010-05-21 Thread Mike Orr
written standalone pieces of @validate which could be used inside actions or combined in a decorator, so we'd have to evaluate those. If you have any specific ideas, you can add them to the Split up @validate ticket. -- Mike Orr sluggos...@gmail.com -- You received this message because you

Re: Contribution: JSONRPCController

2010-06-30 Thread Mike Orr
exactly what kind of client program would issue the queries. The other two services are speculation, based on the idea that if you build it, they will come (i.e., realize they want it). -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups

Re: Contribution: JSONRPCController

2010-06-30 Thread Mike Orr
Created a ticket for it. http://pylonshq.com/project/pylonshq/ticket/697 This doesn't guarantee it will be accepted, but helps us in processing the proposal. -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons-devel group

Mike's email

2010-07-07 Thread Mike Orr
Hey pylonshounds. I moved to a new apartment and my DSL is not set up yet so I won't be active on the lists for a couple days. -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email

_jsmin.py license

2010-08-09 Thread Mike Orr
submitted a patch to minify application code and external Javascript libraries (e.g., jQuery) together. Do you think this patch looks like a good idea, and would you like to incorporate it upstream? http://groups.google.com/group/pylons-devel/browse_thread/thread/b08e97c6cb709e04 -- Mike Orr sluggos

Pylons 2 users guide, first draft

2010-09-15 Thread Mike Orr
(Originally from Mike Orr) I've got a first draft of the Pylons 2 Users Guide done. The hello world page is the only page that's completed; it goes through installing a default application and looking through the application code. I haven't gone through the Pylons code or BFG code or BFG manual

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Mike Orr
, it belongs in the minimal application. Especially because libraries may log, and there really should be handlers and formatters already set up for it in that case. -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons-devel

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Mike Orr
Hello (capitalized) is working now, and the interactive traceback. I adjusted the guide for those and for the new location of the static files. I adjusted the text for describing Routes and CM's other points. -- Mike Orr sluggos...@gmail.com -- You received this message because you

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Mike Orr
with paster shell or custom commands. It gives the impression that Paste activates the logging as a basic Paste service, but it doesn't, paster serve or something below it does. -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Mike Orr
releasing the documentation sources anyway so it shouldn't matter. -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Mike Orr
realize it would keep doing that, but of course it would. -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send

Re: Pylons 2 users guide, first draft

2010-09-15 Thread Mike Orr
requirement. Do you mean just changing the message to ImportError: please install the 'formencode' package, or something more elaborate? -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email

Re: webhelpers.paginate fails on explicit mapper

2010-09-18 Thread Mike Orr
the page_param value (i.e., page). url_for() seems to be using route memory, so it takes the page variable from the current URL. It's pretty complex, but that's why Routes has been simplified in Pylons 1 and the current URL feature put onto a separate method (pylons.url.current()). -- Mike Orr

Re: Pylons 2 users guide, first draft

2010-09-20 Thread Mike Orr
On Sun, Sep 19, 2010 at 6:36 PM, Ben Bangert b...@groovie.org wrote: On Sep 13, 11:49 am, Mike Orr sluggos...@gmail.com wrote: Can it be made into a request method so you don't have to pass the request object?  That would be more OO. Yea, maybe request.link? request.url would conflict

Re: Pylons 2 users guide, first draft

2010-09-20 Thread Mike Orr
either at the top level or under 'c'. -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send email to pylons-devel

Re: Pylons 2 users guide, first draft

2010-09-20 Thread Mike Orr
On Mon, Sep 20, 2010 at 9:09 PM, Ben Bangert b...@groovie.org wrote: On Sep 20, 2010, at 2:58 PM, Mike Orr wrote: BFG is bigger than all the other Pylons dependencies combined. We can't have 30% of the Pylons manual referring to BFG features that aren't normally used in Pylons apps

Re: Pylons 2 users guide, first draft

2010-09-26 Thread Mike Orr
winter or spring? -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr

Re: Pylons 2 users guide, first draft

2010-09-30 Thread Mike Orr
= db.load_form(login.kk) return response There is also a render_template_to_response() function somewhere, maybe in pylons.templating. It fills a template and creates a response and returns it. -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups

Re: Pylons 2.0 / pyramid default configuration format

2010-11-07 Thread Mike Orr
is to be called Marco, that'll need to be distinguished. But I think the reason we left the name Marco (Polo) was that an existing project was already using the name. (Ditto for Pypes.) -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups

Re: Relying on __del__ for cleanup

2010-11-07 Thread Mike Orr
On Sun, Nov 7, 2010 at 2:48 PM, Mike Orr sluggos...@gmail.com wrote: On Sun, Nov 7, 2010 at 2:11 PM, Marius Gedminas mar...@gedmin.as wrote: (I have to say that document surprised me -- pleasantly -- due to your dedication for user support.  Python 2.4, even!) 2.4 and 2.5 combatibility

Re: Is there Pyramid documentation for offline use?

2010-11-09 Thread Mike Orr
appendices is 650 pages or so, so it'll take a lot of paper. Ben said, Not printing two or three versions of this will justify the price of an iPod. :) Although I would prob'ly get a Kindle instead, due to its easier-to-read screen. -- Mike Orr sluggos...@gmail.com -- You received this message because

Re: Is there Pyramid documentation for offline use?

2010-11-09 Thread Mike Orr
On Tue, Nov 9, 2010 at 9:59 AM, Chris McDonough chr...@plope.com wrote: On Mon, 2010-11-08 at 12:42 -0800, Mike Orr wrote: Look like the source (including sphinx docs) is on github: https://github.com/Pylons/pyramid/tree/master/docs/ Good luck with Pyramid! Ben, a pregenerated PDF

Re: Pyramid paster template renderer globals?

2010-11-10 Thread Mike Orr
(though I wish it were less verbose). As for 'h' in views, I've gone away from that and import the helpers directly. But I suppose there's an argument for making 'h' available in views under some attribute. -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed

Re: Pyramid paster template renderer globals?

2010-11-10 Thread Mike Orr
On Wed, Nov 10, 2010 at 9:08 PM, Chris McDonough chr...@plope.com wrote: On Wed, 2010-11-10 at 19:26 -0800, Mike Orr wrote: 'c', 'h', and 'url' are most important. Thanks, that's what I figured.  Most folks on IRC agree (at least they said c and h are probably non-negotiable). 'c' is still

Re: Pyramid paster template renderer globals?

2010-11-11 Thread Mike Orr
On Wed, Nov 10, 2010 at 11:16 PM, Chris McDonough chr...@plope.com wrote: On Wed, 2010-11-10 at 21:53 -0800, Mike Orr wrote: We don't have url in there now.  The equivalent of url (as of about 2 hours ago when I checked it in) would be: ${request.route_url('routename', var1='val1

Re: Pyramid application templates

2010-11-11 Thread Mike Orr
to be the most fundamental choice people make when they choose an application style. (Well, that and ZCML.) -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-de

Re: Pyramid paster template renderer globals?

2010-11-11 Thread Mike Orr
On Thu, Nov 11, 2010 at 12:58 AM, Wichert Akkerman wich...@wiggy.net wrote: On 11/11/10 09:30 , Mike Orr wrote: Could we name it 'u' and pretend that Pylons always had it? 'url' does tend to conflict with local variables and I usually use 'u' for the local variable in that case, so this would

Re: Pyramid paster template renderer globals?

2010-11-11 Thread Mike Orr
it if they want it. -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr

Re: Pyramid paster template renderer globals?

2010-11-11 Thread Mike Orr
On Thu, Nov 11, 2010 at 8:26 AM, Mike Orr sluggos...@gmail.com wrote: I guess ${route_url()} is no longer or worse than ${h.url_for()}, which is what Pylons had before url(). And url() has always had a problem in being the same as a previously-popular local variable. It would still be nice

Re: Pyramid application templates

2010-11-11 Thread Mike Orr
to pylons-de...@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en. -- Mike Orr sluggos...@gmail.com -- You received this message because you

Re: Any sample applications for Pyramid?

2010-11-11 Thread Mike Orr
templates and tutorials to help you, and the list will be more able to answer your questions. -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-de...@googlegroups.com

Installing Pyramid

2010-11-13 Thread Mike Orr
. -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com

Re: Want to contribute - looking for task

2010-11-15 Thread Mike Orr
to a specific version, how to understand the differences in branching so you don't create unintended branches, etc. -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-de

Re: Want to contribute - looking for task

2010-11-15 Thread Mike Orr
try to dispatch based on interests and skills. We also can post recipes or other relevant content there until we have the new site in place. You're talking about the PylonsHQ site? Where are those ideas being collected, or where would somebody look who wants to be involved? -- Mike Orr

  1   2   3   >