On 9/25/06, Robert [EMAIL PROTECTED] wrote:
Bad news, folks, 0.9.2 has just broken the Cheetah support rather
completely. The victim is AttribSafeContextObj class of util.py which
is IMHO an awful hack by itself. The problem is, calling hasattr(a,*)
on an AttribSafeContextObj-wrapped object
On 9/28/06, Bucco [EMAIL PROTECTED] wrote:
When I run pylons I get the following error when I try to load the page
being served:
exceptions.ImportError: No module named MySQLdb
I have SQLObject installed on a Windows XP platform using python 2.4.
Any ideas?
Help Please.
SQLObject is an
On 10/3/06, Ian Bicking [EMAIL PROTECTED] wrote:
Shannon -jj Behrens wrote:
I'm heading down the road of using Genshi to automatically populate
form field values and error messages as described
http://genshi.edgewall.org/wiki/GenshiRecipes/FormFilling. It sure
would be nice
Check the HTML source within your browser. Does it say what you
wrote? Are you using FormEncode's htmlfill, and if so, is it setting
default values for you? By the way, in my source, I use
checked=checked as you originally said.
Best Regards,
-jj
On 10/3/06, Muhammad [EMAIL PROTECTED] wrote:
On 10/5/06, Geoff Meredith [EMAIL PROTECTED] wrote:
I was wondering if it is possible and what is the most appropriate way
of setting the domain for the session cookie? I'm in a situation where
I would like an authentication to be valid over a range of sub-domains
but the session is
Hi,
I'm having a hard time reflecting a schema with SQLAlchemy. I get the
following:
==
Error Traceback
clear this
clear this
URL: http://localhost:5000/
Module pylons.error:224 in respond
try:
On 10/5/06, Joe [EMAIL PROTECTED] wrote:
On Thu, 2006-10-05 at 15:04 -0700, Shannon -jj Behrens wrote:
I'm having a hard time reflecting a schema with SQLAlchemy. I get the
following:
[snip]
meta = DynamicMetaData()
users_table = Table('users', meta, autoload=True
If I'm understanding the question correctly, I think it's common to
mount an application at a certain path and proxy that to the real
application behind Apache. Of course, it's also common to use Apache
in front of multiple applications each with separate domain names
instead of mounted as a
On 10/6/06, Joe [EMAIL PROTECTED] wrote:
On Fri, 2006-10-06 at 12:48 -0400, John_Nowlan wrote:
I understand the sqlalchemy concept that the tables and domain classes are
different beasts but I think I'm still wrestling with them and the MVC
paradigm that makes me think I'm searching
On 10/6/06, Joe [EMAIL PROTECTED] wrote:
Hi jj,
On Fri, 2006-10-06 at 14:51 -0700, Shannon -jj Behrens wrote:
Ok, that's it. I think we should make sure that people like Ben Bangert
and Mike Bayer agree with my recommendations, and then perhaps we can
update the wiki tutorial
From my limited understanding, it is not necessary to call
create_engine() directly, to connect to the database. If you look at
the example in http://www.sqlalchemy.org/docs/tutorial.myt, you'll see
that although it first shows
db = create_engine('sqlite:///tutorial.db')
metadata =
I need to redirect the user to a login server. I want to pass along
my complete current URL. url_for doesn't include the hostname.
What's the easiest (i.e. a single method call) way of getting the
complete current URL (i.e. it takes care of http vs. https, the port,
etc.)?
Thanks,
-jj
--
The
Hmm, looks like this is what I want:
from paste.request import construct_url
print current url:, construct_url(request.environ)
unless there's an easier way.
-jj
On 10/9/06, Shannon -jj Behrens [EMAIL PROTECTED] wrote:
I need to redirect the user to a login server. I want to pass along
my
On 10/9/06, Jon Rosebaugh [EMAIL PROTECTED] wrote:
On 10/9/06, Shannon -jj Behrens [EMAIL PROTECTED] wrote:
I need to redirect the user to a login server. I want to pass along
my complete current URL. url_for doesn't include the hostname.
What's the easiest (i.e. a single method call
On 10/9/06, Ben Bangert [EMAIL PROTECTED] wrote:
On Oct 9, 2006, at 9:36 PM, Ian Bicking wrote:
This has come up before. Should url_for have a fully_qualified
keyword
argument to do this?
Yup, it should, its in the Routes trac as a ticket now.
You might also want a global option so
I've added my notes to the wiki after incorporating all of your feedback:
Using SQLAlchemy with Pylons:
http://pylonshq.com/project/pylonshq/wiki/SqlAlchemyWithPylons
If you update it, please send email to this list so that the rest of
us can benefit from your improvements.
Best Regards,
-jj
I know nothing of this subject matter, but I'm guessing that lambda:
f.close() could just be written f.close, unless I'm mistaken.
-jj
On 10/11/06, askel [EMAIL PROTECTED] wrote:
def download(self):
...
r = Request(mimetype='application/octet-stream')
f = open(filename)
r.content
On 10/13/06, climbus [EMAIL PROTECTED] wrote:
Shannon -jj Behrens napisal(a):
I've added my notes to the wiki after incorporating all of your feedback:
Using SQLAlchemy with Pylons:
http://pylonshq.com/project/pylonshq/wiki/SqlAlchemyWithPylons
If you update it, please send email
On 10/13/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Jon Rosebaugh wrote:
On 10/12/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi, I'm new to python and I am trying to implement a website which
parses newsgroups for cooking recipes.
My recommendation would be to write a
On 10/15/06, Pedro Algarvio, aka, s0undt3ch [EMAIL PROTECTED] wrote:
Hello ppl.
I'm specially interested in Genshi since I code some plugins for Trac
and sooner or latter I'll have to learn how to use it.
Since I've seen some Pylons users already using it, what I ask is, what
needs to be
On 10/14/06, Huy Do [EMAIL PROTECTED] wrote:
Shannon -jj Behrens wrote:
On 10/13/06, Huy [EMAIL PROTECTED] wrote:
Shannon -jj Behrens wrote:
I've added my notes to the wiki after incorporating all of your feedback:
Using SQLAlchemy with Pylons:
http://pylonshq.com/project
On 10/17/06, Robert Ian Smit [EMAIL PROTECTED] wrote:
I have a buch of controllers that define a __before__ method to attach
a session as per the QuickWiki tutorial.
Some methods on my mapped model classes require access to the database.
I want to flush or discard all updates resulting from
On 10/17/06, Max Slimmer [EMAIL PROTECTED] wrote:
Is there a simple yet elegant way to dynamically create a select list
in a form. I have a referance table containing a list of possible
choices and for some field, any example referance would be appreciated.
A) select the choice values in the
, looking forward to trying on
genshi...)
On 10/17/06, Shannon -jj Behrens [EMAIL PROTECTED] wrote:
Please forgive the shameless plug, but:
http://jjinux.blogspot.com/2006/10/foxmarks-we-just-launched.html
I thought twice about spam^H^H^H^Hnotifying you guys, but you may
appreciate
Hi,
I'm trying to configure the myghty_data_dir in my production.ini file
to be somewhere in /var, but it insists on creating the data directory
in my current working directory:
$ ls -R data
data:
templates
data/templates:
lock obj
data/templates/lock:
data/templates/obj:
The session
On 10/17/06, Pedro Algarvio, aka, s0undt3ch [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ben Bangert wrote:
I'll ask about maybe getting this ability to setuptools though, then
for those not using Myghty that want to cut a package dependency here
and there, an
On 10/24/06, Bruno Desthuilliers [EMAIL PROTECTED] wrote:
Shannon -jj Behrens wrote:
On 10/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I'm thinking about a simple yet useful app for managing various files
(snip)
Currently I'm gathering ideas and thinking how to make it as simple
On 10/24/06, John_Nowlan [EMAIL PROTECTED] wrote:
I know this must seem simple to people out there so I'm hoping someone can
set me straight.
I'm clicking on the following link:
http://127.0.0.1:5000/test/twbkwbis.P_GenMenu?name=bmenu.P_WebTailorMnu
and in my controller trying to access
On 10/24/06, bruno desthuilliers [EMAIL PROTECTED] wrote:
Shannon -jj Behrens a écrit :
On 10/24/06, Bruno Desthuilliers [EMAIL PROTECTED] wrote:
Shannon -jj Behrens wrote:
On 10/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I'm thinking about a simple yet useful app for managing
On 10/25/06, Sandra-24 [EMAIL PROTECTED] wrote:
I have a project that involves creating a browser-based interface. I
use twisted in the project, so naturally a WSGI web framework that I
can use with twisted.web2 is ideal.
We use Twisted at my company, but because of the way asynchronous
On 10/25/06, Sandra-24 [EMAIL PROTECTED] wrote:
Well that's certainly an option, I don't need speed at all (and I don't
think twisted.web2 is particularily quick from a single connection
point of view) To use a threaded server will require me to think about
thread safety every time I connect
On 10/27/06, ToddG [EMAIL PROTECTED] wrote:
You mentioned not executed, but not what happens -- nothing (server
hangs)? 500 server error?
I assume you did this but maybe just changing that print statement to
return Response(passed validation)
or whatever? I'm not sure without looking
On 10/26/06, bruno desthuilliers [EMAIL PROTECTED] wrote:
Vit a écrit :
Hello,
Could someone share ideas/examples how to use ClearSilver together with
Pylons?
One of the problems with^Mfeatures of clearsilver is that it's a pure
push templating system. This means you have to feed it
On 10/27/06, Pedro Algarvio, aka, s0undt3ch [EMAIL PROTECTED] wrote:
I'm trying to find a way to validate a form where some of it's fields
have
multiple values.
The fields(to name them) are mail_alias and forward_address, these are
the
ones that *can* get back multiple values.
What I've
Yep, we're all heading down pretty much the same path. I'd just
really like to see us all ending up with the same code instead of each
having our own separate forks of this code. That means that some part
of this stuff belongs in either Genshi or Pylons, unless I'm just
confused.
Happy Hacking
On 10/31/06, Chris Shenton [EMAIL PROTECTED] wrote:
We're running Pylons (0.8.2, upgrading this week) behind Apache2 with
mod_python. We use Apache for HTTPS and Digest authentication, works
well.
Except our customer says we need two features to satisfy our Security
group?
* A logout
On 10/31/06, Bruno Desthuilliers [EMAIL PROTECTED] wrote:
sotospeak wrote:
I am totally new to Pylons and I would like to try it in a small
project but without any orm just plain db-api. Still I was not able to
find any tutorial about using Pylons this way
Then you might be the one that
I like to have a facility called action_results. It's a place where
I can put a message that will show up on the next page. It should
work whether a redirect happens or not. In my old days, I use to put
it in the session so that it would survive if a redirect happened
between the time that the
On 11/2/06, Shannon -jj Behrens [EMAIL PROTECTED] wrote:
I like to have a facility called action_results. It's a place where
I can put a message that will show up on the next page. It should
work whether a redirect happens or not. In my old days, I use to put
it in the session so
On 11/3/06, Beies [EMAIL PROTECTED] wrote:
Ben Bangert schreef:
On Nov 2, 2006, at 2:47 PM, Beies wrote:
Can someone give me a clear example of
how to use h.redirect_to in myghty template? It works in a controller
but not in a template
Out of curiosity, why are you changing
On 11/2/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
This is probably more appropriate for a the myghty list but since many
pylons users use myghty I thought it appropriate. I get this error:
Error(UnicodeDecodeError): 'ascii' codec can't decode byte 0xe9 in
position 138: ordinal not in
On 11/3/06, Shannon -jj Behrens [EMAIL PROTECTED] wrote:
On 11/2/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
This is probably more appropriate for a the myghty list but since many
pylons users use myghty I thought it appropriate. I get this error:
Error(UnicodeDecodeError): 'ascii
On 11/2/06, ToddG [EMAIL PROTECTED] wrote:
I'm probably least qualified here to answer this, but until someone
else stops by: I hit the same problem on upgrading last night, and dug
around and sort of know what's going on. But my unicode knowledge is
woefully inadequate.
In short -- as of
On 11/3/06, ToddG [EMAIL PROTECTED] wrote:
Shannon -jj Behrens wrote:
I'm not using Myghty or Web helpers, but I can give a brain dump on
how I'm using encodings since you seemed like you wanted me to:
Definitely helpful, thanks. It would seem either a) everyone knows this
stuff
On 11/6/06, Vit [EMAIL PROTECTED] wrote:
Nice to hear feedback. Thanks, guys.
I *love* Trac as well :-) , but ... is it really make sense in
migration from native C's ClearSilver to Python's Genshi - according
http://genshi.edgewall.org/wiki/GenshiPerformance Genshi is not the
winner?
P.
On 11/4/06, Chris Shenton [EMAIL PROTECTED] wrote:
We're currently using Apache's HTTP auth but need to provide a Logout
button and have an idle timeout.We'll eventually want to have
groups/roles so I'm looking for modules to do this, using form based
authentication.
AuthKit looks
On 11/16/06, Chris Shenton [EMAIL PROTECTED] wrote:
I've got an app I'm writing which will need to present a different
look-n-feel for different users. The site admins might see one look,
but each of their customers might see a differently branded skin.
The code (model, controller) will be
On 11/16/06, Bruno Silva [EMAIL PROTECTED] wrote:
I tried SQLAlchemy and ActiveMapper. And now I'm learning Pylons
framework, and I would like to use ActiveMapper. I can' t really tell
you how much configurations I tried. I found one that works, but I
think perhaps It's not the best practice.
If you change the module name, don't you have to change the controller
name to match? I think there is a bit of name magic.
-jj
On 11/27/06, John_Nowlan [EMAIL PROTECTED] wrote:
Thanks, should have known not to call my controller module the same as the
webapps.
If I change the name of
On 12/11/06, Alagu Madhu [EMAIL PROTECTED] wrote:
Hello,
i18n/
en:
msgid Hello
msgstr Hello
ar(arabic):
msgid Hello
msgstr عبدالرحمن عبدالله الصبيحي
I am getting the following error when I am using the unicode (utf-16)
string.
Error Traceback
clear this
clear this
Module
On 12/11/06, Sean Davis [EMAIL PROTECTED] wrote:
Despite a couple of days of reading and typing, I remain at a loss as to how
to go about implementing SQLalchemy as a model using reflection. Does
anyone have any complete examples of doing so? The quickwiki example is
close, but there are so
James,
I have reviewed your Unicode document. Below are my responses:
==
http://pylonshq.com/project/pylonshq/browser/Pylons/trunk/docs/internationalization.txt
==
This is a lot of non-Pylons-specific work!
==
message you will have run into a problem
Get rid of will.
==
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 under either the
system-wide site-packages or some other
On 12/12/06, Mike Orr [EMAIL PROTECTED] wrote:
On 12/12/06, James Gardner [EMAIL PROTECTED] wrote:
For real world use it is recommended that you use the UTF-8
encoding for your file but you must be sure that your text
editor actually saves the file as UTF-8 otherwise
* How to integrate the aquarium code
Can Ben or Shannon log a ticket about this one?
Done. I've also cut and pasted the appropriate code:
http://pylonshq.com/project/pylonshq/ticket/150#preview
I hope that's helpful.
Best Regards,
-jj
--
http://jjinux.blogspot.com/
On 12/11/06, Mike Orr [EMAIL PROTECTED] wrote:
On 12/11/06, Shannon -jj Behrens [EMAIL PROTECTED] wrote:
On 12/11/06, Mike Orr [EMAIL PROTECTED] wrote:
Hello again. I'm modifying QuickWiki to use a Durus database, to see
how to do it in my applications. Durus is not thread safe
Ok, I found James's responses in the archive:
Then on each controller call the language to be used could be
read from the session
Syntax error :)
Sorry, do you mean lowercase t on Then?
I think the sentence is grammatically incorrect and confused ;)
Outstanding issues are
On 12/13/06, Mike Orr [EMAIL PROTECTED] wrote:
Merging TurboCheetah into Cheetah should be easy enough; I'll put it
in the TODO.
On 12/13/06, Shannon -jj Behrens [EMAIL PROTECTED] wrote:
It'd also be nice if parent class templates where autocompiled like
normal templates
On 12/13/06, Ramon Diaz-Uriarte [EMAIL PROTECTED] wrote:
On 12/13/06, Jose Galvez [EMAIL PROTECTED] wrote:
Dear Ramon,
Do you even need Apache? if most of your application doesn't need
static files then you really don't need Apache. Having said that I
understand that most of us use
On 12/13/06, Pedro Algarvio, aka, s0undt3ch [EMAIL PROTECTED] wrote:
Hello there!
I've recently seen some modifications on pylons i18n support.
This mail is to make the discussion into the ML.
What's the path these changes will take, because I'm trying to
integrate i18n with genshi too,
h._ has recently been changed from pointing to gettext to instead
point to ugettext. To get ungettext, you use something like
h.translation.ungettext, but I'm not sure.
-jj
On 12/13/06, Pedro Algarvio, aka, s0undt3ch [EMAIL PROTECTED] wrote:
What is pylons _() attached to? ugettext?
Or you
On 12/13/06, Pedro Algarvio, aka, s0undt3ch [EMAIL PROTECTED] wrote:
Well, I'm in favour of still using _() and I guess that _() should also
be attached to ugettext, so we handle everything in unicode(more
reasonable).
What really ain't reasonable is using h.ugettext() or even worst
On 12/14/06, Pedro Algarvio, aka, s0undt3ch [EMAIL PROTECTED] wrote:
One way to use ungettext, or better, we could also attach ungettext to
N_() like some C progams do, just an idea.
ungettext and N_ aren't the same thing. N_ is used to mark a string
for translation but *not* translate it.
I'm currently working on the extraction from genshi with help from
http://genshi.edgewall.org/wiki/GenshiRecipes/Localization, but the
regex presented there is too narrow. So far I've succeeded on extending
it a bit more, I can now also match:
_(A string which
will become
\too
On 12/16/06, Philip Jenvey [EMAIL PROTECTED] wrote:
On Dec 14, 2006, at 12:48 PM, Pedro Algarvio, aka, s0undt3ch wrote:
I agree with Ben's arguments, I expect _() to simply exist and do the
correct job, what about binding ungettext to N_()? would that clutter
the namespace?
gettext
On 12/18/06, Pedro Algarvio, aka, s0undt3ch [EMAIL PROTECTED] wrote:
Shannon -jj Behrens wrote:
I'm currently working on the extraction from genshi with help from
http://genshi.edgewall.org/wiki/GenshiRecipes/Localization, but the
regex presented there is too narrow. So far I've
On 12/19/06, Pedro Algarvio, aka, s0undt3ch [EMAIL PROTECTED] wrote:
Is it because since it's inside a it's considered to already be a
string, hence does not look for a _() call inside?
It's true that xgettext will try to be smart about the syntax of the
language at hand and not look inside
On 12/19/06, Pedro Algarvio, aka, s0undt3ch [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shannon -jj Behrens wrote:
On 12/18/06, Pedro Algarvio, aka, s0undt3ch [EMAIL PROTECTED] wrote:
Shannon -jj Behrens wrote:
I'm currently working on the extraction from
On 12/19/06, Max Ischenko [EMAIL PROTECTED] wrote:
Hello,
I have created a Pylons project (with paster create --template=pylons
qw) and I am a bit intimidated with amount of data pre-generated for
me: 33 files with 573 lines in them (16Kb)! Similar situation in
TurboGears, btw.
Is it
On 12/19/06, Ben Bangert [EMAIL PROTECTED] wrote:
On Dec 19, 2006, at 11:39 AM, Mike Orr wrote:
The Pylons Execution Analysis I posted last week
(http://sluggo.scrapping.cc/python/) may help to get a handle on those
files and how the framework uses them. It's a bit too detailed for
On 12/22/06, Ian Bicking [EMAIL PROTECTED] wrote:
Max Ischenko wrote:
I have a site with a few php modules and I plan to write new ones in
python (Pylons).
How should I structure those modules? Should I have single Pylons app
that just handles it all? Several installations served through
On 12/19/06, Damjan [EMAIL PROTECTED] wrote:
Are we on the same page, or am I still lost?
Not lost at all :)
Ah, good :-D
Except I'd prefer if all Python API's would be unicode aware,
I think it's fortunate that most Python APIs *can* ignore the unicode
problem. As a stupid American,
On 12/27/06, Ian Bicking [EMAIL PROTECTED] wrote:
Shannon -jj Behrens wrote:
On 12/27/06, Ian Bicking [EMAIL PROTECTED] wrote:
Shannon -jj Behrens wrote:
Agreed! Merry Christmas to everyone!
Here is my gift to you all: write a function that acts like max, but
instead
On 12/28/06, Ian Bicking [EMAIL PROTECTED] wrote:
askel wrote:
James Gardner wrote:
Hi jw,
This is because a new instance of the controller object is created on
each request, if it wasn't, your controllers would not be thread safe
because class members set by one thread might be read by
On 1/13/07, Bob Ippolito [EMAIL PROTECTED] wrote:
On 1/13/07, Sean Davis [EMAIL PROTECTED] wrote:
This is slightly off-topic, but I'll ask anyway, in case someone has already
done this.
I want to make a simple file storage system of file uploads. However, I
would really like to store the
On 1/21/07, Ksenia [EMAIL PROTECTED] wrote:
Hi,
I am playing with Pylons several weeks now and it's been a big joy to
use. Everything just fits together and I think because of Pylons I
finally start to get what MVC is all about and see the advantage of
clear separation.
The piece that I
On 1/24/07, Carlo Sogono [EMAIL PROTECTED] wrote:
I have followed the basic testing tutorial in the PylonsHQ site, but am
unsure as to how to proceed with more complex scenarios.
Basically, like most people, my Pylons data relies heavily on databases
(PostgreSQl to be exact). How do people
On 1/26/07, Sean Davis [EMAIL PROTECTED] wrote:
I would like to build a small app akin to a filemaker database, but
web-based, of course. One nice feature of filemaker is the ability to
search based on pretty much any field (or combination). I know how to do
the searches, but I would like
On 1/25/07, Christoph Haas [EMAIL PROTECTED] wrote:
Evening...
as some of you may have read on IRC I'm trying to use webhelpers' pagination
package. That's a pretty frustrating trip that's more a pydoc text adventure
than something that saves me more time than re-inventing the wheel.
I've submitted the following to the Python bug tracker:
gettext.py incompatible with eggs
http://sourceforge.net/tracker/index.php?func=detailaid=1649329group_id=5470atid=105470
Best Regards,
-jj
--
http://jjinux.blogspot.com/
--~--~-~--~~~---~--~~
You
On 1/31/07, Christoph Haas [EMAIL PROTECTED] wrote:
Hi, $ALL...
I'm currently trying to rewrite the webhelpers.pagination module and
sometimes find it hard to understand what each variable is set to and even
what type it is. Sure, I can raise exceptions all the time as a poor
man's way to
On 1/31/07, Uwe Feldtmann [EMAIL PROTECTED] wrote:
I've cross posted this on the Mako list as well.
Now I'm not sure if this is a question for this list or the Mako list.
The scenario:-
A template contains translatable strings and is rendered by the Pylons
controller via Mako.
The
Did any of my code make it in? Can I get a shout out from my homies
in Paste land? ;)
-jj
On 1/31/07, Ian Bicking [EMAIL PROTECTED] wrote:
Paste 1.2
-
I'm happy to release Paste 1.2. This release contains a mix of small
features and bug fixes. This is only a release of core
On 1/31/07, Christoph Haas [EMAIL PROTECTED] wrote:
On Wednesday 31 January 2007 09:12, Daniel Néri wrote:
Note that raising of strings as exceptions is deprecated in Python
2.5[*] and triggers a warning.
Thanks for the pointer. I already wondered why some people already use
'''raise
On 1/29/07, Max Ischenko [EMAIL PROTECTED] wrote:
Hello Shannon,
Some time ago you wrote:
I like to have a facility called action_results. It's a place where
I can put amessagethat will show up on the next page. It should
work whether aredirecthappens or not. In my old days, I use
On 1/29/07, Max Ischenko [EMAIL PROTECTED] wrote:
From reading the docs at http://pylonshq.com/docs/0.9.4.1/module-
pylons.controllers.html I assume that new controller instance is
created to handle each incoming request and discarded after it is
processed. This means I can safely set and
On 1/27/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Aside from changing .myt to .mak do I need to do anything else?
Is there a Mako replacement for myghty.exception?
Max I should configure Mako as a supported template engine.
Oh, yeah, been there, done that, checked out
On 2/1/07, Uwe Feldtmann [EMAIL PROTECTED] wrote:
Hi James.
James Gardner wrote:
The translation should occur at run time so this shouldn't be a problem.
How are you doing the translation?
On closer inspection it doesn't seem to be a problem. I was thinking
that the pre-compiled
On 2/2/07, Max Ischenko [EMAIL PROTECTED] wrote:
On Feb 2, 3:39 pm, James Gardner [EMAIL PROTECTED] wrote:
Believe it or not you are in luck again. Ben has just implemented this.
If you upgrade to the latest paste and pylons dev you should be able to
access all the languages as
On 2/2/07, Max Ischenko [EMAIL PROTECTED] wrote:
On Feb 2, 3:39 pm, James Gardner [EMAIL PROTECTED] wrote:
Believe it or not you are in luck again. Ben has just implemented this.
If you upgrade to the latest paste and pylons dev you should be able to
access all the languages as
where I can get variable results and stuff like that, but I can't figure out
how to make it close and go on executing my controller. Thanks in advance
for any and all help
Jose
On 2/1/07, Shannon -jj Behrens [EMAIL PROTECTED] wrote:
On 1/31/07, Christoph Haas [EMAIL PROTECTED] wrote
On 2/4/07, Ben Bangert [EMAIL PROTECTED] wrote:
On Feb 4, 2007, at 8:09 PM, Uwe Feldtmann wrote:
print request.environ['HTTP_ACCEPT_LANGUAGE'] returns
en-GB,en;q=0.9,en-US;q=0.8,en-us;q=0.6,ar-AE;q=0.5,ar;q=0.4,en-
gb;q=0.3,en;q=0.1
print request.languages returns
['en-gb', 'en',
On 2/5/07, Christoph Haas [EMAIL PROTECTED] wrote:
On Saturday 03 February 2007 08:01, dds wrote:
Thanks for looking into the pagination stuff.
No hope too soon. :)
On Jan 29, 11:54 pm, Christoph Haas [EMAIL PROTECTED] wrote:
The documentation
On 2/5/07, Philip Jenvey [EMAIL PROTECTED] wrote:
On Jan 31, 2007, at 7:23 PM, Chris Shenton wrote:
My application has two parts, a webapp, and a bunch of commandline
programs that do a bunch of analysis; they both talk to the same
SQLAlchemy-fronted DB, and both reference files from
On 1/31/07, Chris Shenton [EMAIL PROTECTED] wrote:
I've got a pylons app that started out mostly as an internal
customer/sytem/contact management system. Until now it's been
internal only so we've had no auth whatsoever.
I've been adding a way to send email to customers with status and
On 2/3/07, Sean Davis [EMAIL PROTECTED] wrote:
I have a single page for creating/editing an object with foreign keys to
several other smaller tables. When the user is working on the main page, I
would like to let him/her have the option of creating a new one of the
smaller objects. One way
On 2/3/07, Damjan [EMAIL PROTECTED] wrote:
The exmaple from Sergey Lipnevich seems to me more clean than what's
implemented in the ticket #136.
This is what he said on Nov 3 2006:
response = redirect_to(controller = '...', action = '...', id = '...')
# set cookie
return response
On 2/5/07, Chris Shenton [EMAIL PROTECTED] wrote:
Shannon -jj Behrens [EMAIL PROTECTED] writes:
I think you're on the right path. It sounds like you're having a hard
time figuring out what you should do than figuring out how to do it.
If I had to implement different access controls
Hey James,
Sorry to be the bearer of bad news, but I think the
Internationalization, Localization and Unicode document needs some
updating that to all the cool new work that's happened in the latest
versions of Pylons and Paste.
Thanks,
-jj
--
http://jjinux.blogspot.com/
Hi,
In Aquarium, I use to have code that would always output anti-caching
headers for pages unless I explicitly decided to take advantage of the
browser cache. This is important if you want to have a logout button
work so that a new user can't just hit the back button to see
sensitive data
1 - 100 of 278 matches
Mail list logo