in the User Contributions -
Development Tutorials section.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss
On 12/12/06, James Gardner [EMAIL PROTECTED] wrote:
Hi Mike,
These look really good! I'm sure people will find them useful.
Thanks for your support. Your messages helped point the way for me a
couple times.
--
Mike Orr [EMAIL PROTECTED
spell them as I naturally would, and send complainers a
link like this:
http://www.phrases.org.uk/bulletin_board/13/messages/785.html
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
to modify httpd.conf yourself.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe
On 12/12/06, Shannon -jj Behrens [EMAIL PROTECTED] wrote:
On 12/12/06, Mike Orr [EMAIL PROTECTED] wrote:
On 12/12/06, Ramon Diaz-Uriarte [EMAIL PROTECTED] wrote:
I see that DocumentRoot is a directory where, I think, the pylons egg
cannot have been installed; the eggs will install
On 12/12/06, Ramon Diaz-Uriarte [EMAIL PROTECTED] wrote:
On 12/12/06, Mike Orr [EMAIL PROTECTED] wrote:
On 12/12/06, Ramon Diaz-Uriarte [EMAIL PROTECTED] wrote:
I see that DocumentRoot is a directory where, I think, the pylons egg
cannot have been installed; the eggs will install
does have access to those. The other
ones I encountered (session management, URL resolver) are outside
Cheetah's scope. Is there anything else that might be worth adding to
Cheetah?
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message
On 12/12/06, Mike Orr [EMAIL PROTECTED] wrote:
Cheetah does not have an equivalent of Myghty's 'fragment' argument so
I patched TurboCheetah.cheetahsupport to add a variable
'_buffet_fragment' alongside the Pylons globals. site.tmpl uses #if
not $_buffet_fragment to decide whether to output
(the_controller), which would change every request.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss
later.
PS. The Durus article is done too, and a bit more sophistocated than
what I posted yesterday. (same URL)
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group
On 12/19/06, Mike Orr [EMAIL PROTECTED] wrote:
3) User-defined middleware. This is what make_app() is for.
We can prepopulate it with suggested middleware in comments. The
transaction logger comes to mind. I would even list popular
third-party components like AuthKit; that would give
On 12/19/06, Max Ischenko [EMAIL PROTECTED] wrote:
I read it yesterday. Took an hour and a few cups of tea but it was worth it.
;)
You did a great work researching and explaining python stack of modern web
apps!
Thanks. :)
--
Mike Orr [EMAIL PROTECTED
I made a wiki page under CodeRecipes describing the various ways to
access data from the config file. Are there any better ways not
listed?
http://pylonshq.com/project/pylonshq/wiki/CodeRecipes/ExtractingConfigurationData
--
Mike Orr [EMAIL PROTECTED
, #break, and
#continue.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from
this.
http://pylonshq.com/project/pylonshq/wiki/DocumentationWishList
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons
On 1/7/07, Stephen F. Steiner [EMAIL PROTECTED] wrote:
Mike Orr wrote:
Webware knocked Zope off the throne, CherryPy knocked Webware (with
help from Quixote), TG knocked CherryPy, Django and TG are
neck-in-neck now, who knows who will be top dog next year?
I'm not sure I'd agree about TG
On 1/7/07, Stephen F. Steiner [EMAIL PROTECTED] wrote:
On Jan 7, 2007, at 7:10 PM, Mike Orr wrote:
On 1/7/07, Stephen F. Steiner [EMAIL PROTECTED] wrote:
Mike Orr wrote:
Webware knocked Zope off the throne, CherryPy knocked Webware (with
help from Quixote), TG knocked CherryPy, Django
choice. Watch out for high
memory usage in SQLite with large or search-intensive databases.
MySQL is optimized for read speed, but you have to use the non-default
InnoDB type if you want transactions.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You
}
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email
Forwarded at Christoph Haas's suggestion, to discuss what we want in
this tutorial and in Pylons tutorials generally.
Some of the points I raise below have already been corrected by Christoph.
--Mike
-- Forwarded message --
From: Mike Orr [EMAIL PROTECTED]
Date: Jan 29, 2007 12
On 1/29/07, Christoph Haas [EMAIL PROTECTED] wrote:
On Monday 29 January 2007 21:07, you (Mike Orr) wrote:
- Models do not contain any information about the meaning of this
data. What do you mean by 'meaning'? The model *does* know the meaning
of the data, that's its purpose. If you have
)
It looks like Pylons is out of sync with Paste.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
install the egg properly (which I'm only half convinced
is worthwhile), there will be no setup.py on the server.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group
do you mean about putting the database URI in two separate
places?Where's the other place?
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group
and just use utf-8 everywhere, both for the
database and for HTML output. The only time I use a different
encoding is when parsing an external file, which may come in macroman
or windows-1252.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received
have a module-level connection so I restart them every 12
hours. Having connections that automatically get recreated after a
few hours is my main motivation for moving to SQLAlchemy.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message
the functions to be usable from paster shell for testing,
as well as during a web request.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group
to do that, perhaps % import ... %.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe
Name' page_title='My
Page Title'
But again, my main problem is the variables being undefined in the
site template.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group
On 2/15/07, Ben Bangert [EMAIL PROTECTED] wrote:
On Feb 15, 2007, at 8:06 AM, Mike Orr wrote:
I have a page template that inherits a site template. I've set
several 'c' attributes in Pylons, and ${var} in the page template
renders them fine, but they're undefined in the site template
and /MISSING.jpg (which both
don't exist), and the second iteration reaches logging stage but the
first doesn't.
Is there a config var to limit the httpserver to one thread?
Attached are my changes to translogger.py r6236 .
--
Mike Orr [EMAIL PROTECTED
in that.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email
-- or their successors -- need to be
integrated into Python.
As to whether Python is delving into areas belonging to package
managers, Perl has had CPAN for over a decade and it's widely
acclaimed, and people chided Python for years for not having something
equivalent.
--
Mike Orr [EMAIL PROTECTED
the message in a cookie. It also deletes the previuos cookie.
Heh, you and I have exactly the same use case, and I'm the one that
brought this problem up. I'm happy to see that this is going to get
easier :)
I just put a message in the session for the next request to pick up.
--
Mike Orr
in the Python core via a list-interpolation
syntax. I haven't heard this, but considering how hard it's been to
get the much more urgent NumPy Array into the core, it sounds
unlikely.
What's this groovy XML library Eckel is so excited about?
--
Mike Orr [EMAIL PROTECTED
be a lot more shifting
realities to document, which may make it difficult to figure out what
applies to your version.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group
On 2/28/07, Graham Higgins [EMAIL PROTECTED] wrote:
On 28 Feb 2007, at 07:01, Mike Orr wrote:
On Feb 27, 2007, at 12:58 PM, Christoph Haas wrote:
AFAIK there is a plan to write a more complete handbook for Pylons at
http://pylonshq.com/project/pylonshq/wiki/DocLayoutProposals
I added
the application modules.
This may also affect the suggestion by somebody to move non-middleware
from middleware.py to environment.py.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
there's the hassle of reinstalling it in
case its dependencies have changed.
So there's not really one way to do it.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group
a firewall. :)
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group
option, upgrade-dependencies,
etc. Then it will be easier to upgrade a site with one command.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post
${project} and ${package} with the package name.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
). But there are
other things they seem to handle in an ad-hoc manner that paster
provides for us, like the application startup file.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons
are handled). Is there a way to do this??
You can put it in the base template .__call__ method:
if not_logged_in:
redirect_to_login()
if insufficient privilege:
abort(401, You're outta here, bozo.) # In pylons.helpers
return WSGIController.__call__(self, environ, start_response)
--
Mike
into the model is easier. Dabo uses its own
db-unifying code according to my quick glance at the site. Of course
you can just use Dabo's UI portion with SQLAlchemy.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed
service, but rejected those as too complicated and
error-prone, especially since the laptops are in the hands of naive
users we can't support long-distance.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed
'
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email
On 3/22/07, Jose Galvez [EMAIL PROTECTED] wrote:
For the HTTP server I've set it to use Cherrypy which seems to
work really well,
Does it have any particular advantages over Paste's HTTP server?
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received
(new_page)
abort(404)
By the way, I prefer to explicitly mention the template engine so
there's no confusion on the part of either Pylons or the programmer:
render_response(genshi, mydir.mytemplate)
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You
://127.0.0.1:5000;. This is an invalid URL even though Pylons
accept it. It should be http://127.0.0.1:5000/;.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group
be.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email
On 4/2/07, Ben Bangert [EMAIL PROTECTED] wrote:
On Apr 2, 2007, at 5:20 PM, Mike Orr wrote:
This is probably a Pylons problem rather than Routes. I have a
routing rule like this:
map.connect(glossary, /glossary/:page, controller=main,
action=glossary, page=index
On 4/2/07, Ron Bickers [EMAIL PROTECTED] wrote:
On Apr 2, 8:10 pm, Mike Orr [EMAIL PROTECTED] wrote:
This rule doesn't work:
map.connect(glossary_term, /glossary/:page#:term, controller=main,
action=glossary, page=index)
sre_constants.error: bad character in group name
to parse the config and set up the environment manually? I don't
want the scripts all mixed in a global bin directory where I can't
tell which one goes with which application.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you
On 4/3/07, Ben Bangert [EMAIL PROTECTED] wrote:
url_for can add in a URL anchor when one is provided as the anchor
keyword.
This works great, thanks.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed
/inews.jpg)
map.connect(missing_incident_image, /images/no_incident_image.jpg)
map.connect(meatball, /images/meatball.png)
Should these have the _static argument?
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you
the flag.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send
exists in all cases, and then calling:
self.__postprocess_response(self, resp)
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send
for
the developers sharing source code or the users who need to use their
model and configuration in the other system.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post
On 4/18/07, Dan Korostelev [EMAIL PROTECTED] wrote:
On 4/19/07, Ben Bangert [EMAIL PROTECTED] wrote:
On Apr 18, 2007, at 12:03 PM, Mike Orr wrote:
Great idea. Pylons definitely needs a database administration tool.
My main concern is about basing it on the ORM layer rather than
;-).
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL
into it.
[1] http://cheeseshop.python.org/pypi/workingenv.py/
Installing the same package at the OS level and easy_install'ing it
could lead to version skew, since Python sometimes adds eggs to
sys.path in a different order than you'd like.
--
Mike Orr [EMAIL PROTECTED
it.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL
some globals.
middleware.py and environment.py are good places. If you need a
config value, access it directly rather than going through the
globals. At the beginning of middleware.make_app() I have a function
call fix_app_conf(app_conf) that validates the options and converts
their types.
--
Mike
setup.py should be fine (though you may want to fill in the text
fields).
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons
'pkg_resources.require(PasteScript==1.1)', but I guess the
dependency was specified in the egg somehow.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post
, and this ends up in a 404. Instead of calling up the
same link it calls:
http://localhost:5000/home/home/home/
adding a home for every time I click on the link. Could you tell me
what I´m doing wrong Ben?
Could it be because you have Home/:action instead of /Home/:action?
--
Mike Orr [EMAIL
. Are these better than paster's monitor
for some reason, or are they all interchangeable?
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group
path in the second app's config file, which I
share between different computers.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email
):
redirect_to(entry, entry_id=entry_id)
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe
overhead than daemontools, though I
don't know if it really is significant.
I have a few weeks to beta test the application, so I can try it out.
I'd also rather use something built into Paste than installing another
third-party application that overlaps with it.
--
Mike Orr [EMAIL PROTECTED
because the engine checks out connections
from a pool, and even though the session context ostensibly creates a
new engine with each session, it's still really the same engine
anyway, even if I use t1c or Class1.c in a function that has a
different current session.
--
Mike Orr [EMAIL PROTECTED
cumbersome, and
it's certainly strange to have an externally-called init function that
initializes module globals.
http://www.sqlalchemy.org/docs/tutorial.html#tutorial_orm
It's still the same steps, it's that pylons.database does some of it for you.
--
Mike Orr [EMAIL PROTECTED
On 5/23/07, Qiangning Hong [EMAIL PROTECTED] wrote:
On May 23, 9:58 pm, Mike Orr [EMAIL PROTECTED] wrote:
http://docs.pythonweb.org/display/pylonscookbook/SQLAlchemy+for+peopl...
Use this one. The way to set up the model is still evolving, but this
is the closest to the emerging standard
of MySQL.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send
is being deleted and overwritten every time the
server starts. How can I fix these? I'm running with the Paster
daemonizer and logfile setting, via an executable production.ini.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because
On 5/30/07, Philip Jenvey [EMAIL PROTECTED] wrote:
On May 30, 2007, at 3:27 PM, Mike Orr wrote:
My app can find paste.deploy.CONFIG['sqlalchemy.echo_pool'] when run
under 'paster shell', but it moves to
CONFIG['app_conf']['sqlalchemy.echo_pool'] under 'paster serve'. Yet
myapp
On 5/30/07, Mike Orr [EMAIL PROTECTED] wrote:
On 5/30/07, Philip Jenvey [EMAIL PROTECTED] wrote:
On May 30, 2007, at 3:27 PM, Mike Orr wrote:
My app can find paste.deploy.CONFIG['sqlalchemy.echo_pool'] when run
under 'paster shell', but it moves to
CONFIG['app_conf
On 5/30/07, Mike Orr [EMAIL PROTECTED] wrote:
On 5/30/07, Mike Orr [EMAIL PROTECTED] wrote:
On 5/30/07, Philip Jenvey [EMAIL PROTECTED] wrote:
On May 30, 2007, at 3:27 PM, Mike Orr wrote:
My app can find paste.deploy.CONFIG['sqlalchemy.echo_pool'] when run
under 'paster
On 5/30/07, Philip Jenvey [EMAIL PROTECTED] wrote:
On May 30, 2007, at 4:43 PM, Mike Orr wrote:
On 5/30/07, Mike Orr [EMAIL PROTECTED] wrote:
On 5/30/07, Mike Orr [EMAIL PROTECTED] wrote:
On 5/30/07, Philip Jenvey [EMAIL PROTECTED] wrote:
On May 30, 2007, at 3:27 PM, Mike Orr
version. We should probably do the same.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
already in use error
when you start the program again, so you have to hunt down the threads
and kill them. Often they refuse to die and you have to kill -9 them.
It happens in some Linux distributions and not others, so it's
something about the kernel or OS configuration.
--
Mike Orr [EMAIL PROTECTED
. The MySQL
specific charset option also is deprecated.
I suppose. I'm still holding on to use_unicode for now though. The
important thing is to use either convert_unicode or use_unicode.
The MySQL charset option wouldn't work for me at all; it didn't
recognize utf8 as a valid choice.
--
Mike
in the Python logo but I didn't like some of the
previous logos and refused to wear T-shirts that had them. Quixote
has some windmill logos but what's so Quixote about them?
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you
to attach engines, auxiliary
fuel tanks, bombs, etc., to an aircraft wing or fuselage.
[Origin: 1840-50; Gk pyln gateway, gate tower]
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
message --
From: Mike Orr [EMAIL PROTECTED]
Date: Jun 3, 2007 6:38 AM
Subject: ANN: Smorgasbord 0.1.0 is released
To: [EMAIL PROTECTED]
There's an initial implementation of Smorgasbord, my rewrite of the
Buffet universal templating front end, at the Python Cheeseshop or
http
ones). It will also
scale to multiple engines along the lines of
sqlalchemy.engine_key.dburi. This code is very Pylons specific, or
at least it is until other frameworks/applications start using the
same config file format.
--
Mike Orr [EMAIL PROTECTED
probably does a reasonably good job, but the factors
outside its control are the ones most likely to bite you, and these
should be looked at no matter whether you use AuthKit or some other
library.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received
() apparently needed for
session_context, so it's easier to modify a copy of pylons.database
than to write everything from scratch.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons
I've added wiki pages to discuss the web site design, Pylons project
name, and pylonshq.com domain name.
http://docs.pythonweb.org/display/pylonscommunity/Home
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you
On 6/4/07, Mike Orr [EMAIL PROTECTED] wrote:
engine = ctx.current.bind_to
meta = BoundMetaData(engine)
table1 = Table(Table1, meta, ...)
class Class1(object):
pass
mapper = Class1, table1)
Sorry, that should be:
mapper(Class1, table1)
--
Mike Orr [EMAIL PROTECTED
remember that CherryPy 3 has Routes dispatcing as an option,
and sooner or later that will appear in TurboGears. So saying Pylons
is more advanced because it has Routes will probably sound lame by the
time Pylons 1.0 comes out.
--
Mike Orr [EMAIL PROTECTED
tired of reinventing the wheel,
and not as well as a team of experts in their specific field would.
To me the word toolkit, at least as it has been used, has this sense
of incompleteness.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message
.
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email
On 6/7/07, David Niergarth [EMAIL PROTECTED] wrote:
On Jun 6, 3:34 pm, Mike Orr [EMAIL PROTECTED] wrote:
I have a URL with a mandatory ID:
/incident/123
map.connect(incident, /incident/:orr_id, controller=incident,
action=index, requirements={orr_id: NUMERIC
at the QuickWiki tutorial. It does its own database
setup using paster setup-app my.ini. To answer your more high level
question, yes, setup-app is good to use :)
Happy Hacking!
-jj
--http://jjinux.blogspot.com/
--http://jjinux.blogspot.com/
--
Mike Orr [EMAIL PROTECTED
, voltron [EMAIL PROTECTED] wrote:
Thats a nice idea Mike, I would have to mange more content in the
lists but its a compromise. I intend ultimately to retrieve these
lists from a database as pickeld data, do you have any experience in
this nature?
Thanks
On Jun 12, 1:13 am, Mike Orr [EMAIL
I'd like the browser to cache this page and not bother the server
again for an hour or a day. Is etag_cache supposed to do this or do I
have to set the HTTP headers manually?
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because
Date: Tue, 12 Jun 2007 21:56:37 GMT
Accept-Ranges: bytes
Etag: 1181612562.0-55416
Connection: close
--
Mike Orr [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post
says the
former, so watch out for that. With this I'm getting correct 304's,
Etags, and Cache-control on my static files, but it's still checking
the server each time.
So the caching isn't perfect but it's better than nothing, at least
part of the time.
--
Mike Orr [EMAIL PROTECTED
1 - 100 of 1878 matches
Mail list logo