Hi,
2008/9/7 Jordi Fernández [EMAIL PROTECTED]:
Hi,
I'm using AuthKit-0.4.1dev_r143 with Pylons 0.9.6.2 like this:
http://wiki.pylonshq.com/display/pylonscookbook/AuthKit+0.4+UsersFromDatabase+with+SQLAlchemy+0.4+and+SQLAlchemyManager
It works fine, but now I need to validate that an user
Hi ben,
request.is_xhr is true if the request is an ajax request AFAIK
So you can do something like this in your base template:
%if not request.is_xhr:
header stuff
%endif
${self.body()}
%if not request.is_xhr:
footer stuff
%endif
Hope this help
--
Gael
2008/11/5 ben adam [EMAIL PROTECTED]:
2008/11/23 Dalius Dobravolskas [EMAIL PROTECTED]:
Hello, All,
I will rise old AuthAuth problem in Pylons. I have written some
middlewares and here is the reason why I have done that:
http://trac.sandbox.lt/auth/wiki/WhyWsgiMiddleware
What I need now is your opinion. Have I chosen the
2008/11/25 Dalius Dobravolskas [EMAIL PROTECTED]:
Hello,
On Tue, Nov 25, 2008 at 1:47 PM, Gustavo Narea
[EMAIL PROTECTED] wrote:
You can add multiple middlewares. The problem is when middlewares or
plugins conflict with each other (e.g. because of lack of options).
repoze.who does not
2008/11/25 Dalius Dobravolskas [EMAIL PROTECTED]:
By the way, you can set the repoze.who cookie name to wathever you want.
That's OK. Problem is different.
The only complication is that you must say hey, my class is an
authentifier. Is it really complicated ?
There is more actually. I need
Hi,
You can also have a look at this: http://pypi.python.org/pypi/iw.thumbs
--
Gael
On Mon, Dec 8, 2008 at 11:23 PM, jerry [EMAIL PROTECTED] wrote:
Hi,
You should find this thread helpful --
Hi,
I think that the only things needed is to have a valid entry point for
each apps. in setup.py:
[paste.app_factory]
app1 = mycompany.app1.config.middleware:make_app
app2 = mycompany.app2.config.middleware:make_app
Then edit your .ini file to something like:
[app:main]
use
On Thu, Jan 15, 2009 at 12:46 PM, mk mrk...@gmail.com wrote:
mk wrote:
So the question is, how can I do that? Do I have to inherit from
BaseController in the code in lib/ just to use pylons decorators?
Unfortunately it doesn't work either:
from helloworld.lib.base import BaseController
On Thu, Jan 15, 2009 at 1:10 PM, mk mrk...@gmail.com wrote:
Gael Pasgrimaud wrote:
_py_object is not defined at this this. __init__ is a special case.
You can only use @jsonify on a controller action.
Try:
class JsonController(BaseController):
@jsonify
def data(self
On Thu, Jan 15, 2009 at 2:31 PM, Dalius Dobravolskas
dalius.dobravols...@gmail.com wrote:
On Thu, Jan 15, 2009 at 2:49 PM, mk mrk...@gmail.com wrote:
Gael Pasgrimaud wrote:
This work if you call the url http://localhost/data
Again, this decorator can *only* be used on a controller
Maybe you can have a look at the archive:
http://groups.google.com/group/pylons-discuss/browse_thread/thread/8fbf7e2037d1a53c
--
Gael
On Mon, Jan 19, 2009 at 1:05 AM, walterbyrd walterb...@iname.com wrote:
And if so, why?
--~--~-~--~~~---~--~~
You
Hi,
You can do what you want with the response. In pylons, both request
and response are webob objects
(http://pythonpaste.org/webob/reference.html#id3)
from pylons import response
response.headers['Blah'] = 'blah'
Regards,
--
Gael
On Mon, Jan 19, 2009 at 2:12 PM, Tomasz Narloch
If you mean what is the best practise to convert bools, PasteDeploy
provide a few helpers:
from paste.deploy.converters import asbool
I also have this in helpers.py (don't know why I can't find something
similar in the paste namespace):
class Params(dict):
def __getattr__(self, attr):
Hi,
I use zc.buildout to install/deploy my pylons apps.
Are you guys interested in a how to install Pylons with zc.buildout ?
--
Gael
On Wed, Jan 28, 2009 at 7:14 PM, Ben Bangert b...@groovie.org wrote:
On Jan 27, 2009, at 10:20 PM, Eric Lemoine wrote:
I agree that it'd be good to have
The doc has moved: http://pylonshq.com/docs/en/0.9.7/thirdparty/webhelpers/
On Thu, Jan 29, 2009 at 2:54 PM, Stephen Emslie stephenems...@gmail.com wrote:
http://pylonshq.com/WebHelpers/ seems to be missing. Has it moved, or
perhaps been lost in the upgrade?
If it has moved, it is still set
, Wyatt Baldwin
wyatt.lee.bald...@gmail.com wrote:
On Jan 28, 10:31 am, Gael Pasgrimaud g...@gawel.org wrote:
Hi,
I use zc.buildout to install/deploy my pylons apps.
Are you guys interested in a how to install Pylons with zc.buildout ?
Yes, please.
Ditto. Buildout has not gotten the usage
On Thu, Jan 29, 2009 at 10:15 PM, Mike Orr sluggos...@gmail.com wrote:
On Thu, Jan 29, 2009 at 12:55 PM, Gael Pasgrimaud g...@gawel.org wrote:
Here it is:
http://www.gawel.org/howtos/howto-install-pylons-with-buildout
Don't know if this doc have a place on pylonshq since the official way
On Fri, Jan 30, 2009 at 12:27 PM, Wichert Akkerman wich...@wiggy.net wrote:
Previously Gael Pasgrimaud wrote:
Here it is:
http://www.gawel.org/howtos/howto-install-pylons-with-buildout
It might be useful to document using collective.recipe.modwsgi as well.
That makes it trivial to use
In pylons 0.9.6 you need this:
${ form.render() | n}
On Fri, Jan 30, 2009 at 4:59 PM, Suha Onay suhao...@gmail.com wrote:
Hi,
I am using FormAlchemy to create html codes of forms, tables etc. in
integration with SqlAlchemy in a Pylons project.
Controller: c.userTable =
You can use xrange:
options=[('%02i' % i, '%02i' % i) for i in xrange(1,100)]
On Sat, Apr 4, 2009 at 8:12 PM, menshikoval...@gmail.com
menshikoval...@gmail.com wrote:
Hello
How to make dynamicly range of 01..99 in options
${h.select(val, 01, options=[(01, 01), (02, 02).(99,
99)] )}
On Sun, Apr 26, 2009 at 10:19 PM, Kless jonas@googlemail.com wrote:
Does Pylons is going to build a plugin system for that can be easily
shared/re-used the applications? As is made in Django.
You can already plug any wsgi application/middleware to pylons. see
On Tue, Apr 28, 2009 at 12:01 AM, Mike Orr sluggos...@gmail.com wrote:
It works, but that's a pain if you need to put your Pylons
authorization system around it.
It's not a real pain if you use repoze.who/what
As JonathanV said, Pylons is not
really structured to plug in mini-apps the way
On Wed, Apr 29, 2009 at 12:19 AM, Wichert Akkerman wich...@wiggy.net wrote:
Previously Ben Bangert wrote:
On Apr 28, 2009, at 2:43 PM, Wichert Akkerman wrote:
If you decide to use zope.component a controller could be a named
utility. You could then register it like so:
class
Hi,
You can have a look at http://pypi.python.org/pypi/repoze.who.plugins.openid
I havent test it, if you have some feedback...
2009/5/10 Julio Napurí Carlos juli...@gmail.com:
Hi
I like to use this [1].
Obviously in Pylons. Somebody know a django-authopenid alternative for Pylons
?
Hi,
On Mon, May 25, 2009 at 11:39 PM, Joshua Ball joshbb...@gmail.com wrote:
Hi all,
What does Pylons have in the way of automatic admin interface
generation, ala Django?
Some quick googling reveals the following:
http://adminpylon.devjavu.com/
http://pypi.python.org/pypi/FormAlchemy
Hi
On Sat, Jun 20, 2009 at 10:56 PM, jim jmpmcma...@gmail.com wrote:
Hi - I set up Pylons as a proxy to Apache, as described in the
cookbook and The Definitive Guide to Pylons. I set the Pylons
application to be available at the root (i.e, /) of the domain. The
Pylons application is
Hi,
On Thu, Jul 16, 2009 at 3:39 PM, franzafra...@rpi.edu wrote:
Hi, I'm trying to find the docs for WebHelpers. The Pylons wiki
(http://wiki.pylonshq.com/display/pylonsdocs/Home) and even
Wikipedia's article on Pylons link to
http://pylonshq.com/docs/en/0.9.7/helpers.html
however I get
On Thu, Aug 13, 2009 at 2:59 PM, Martin Steinmstein.m...@googlemail.com wrote:
Hi all,
On August 6th a new version of ipython (0.10) was released. When I use
paster shell with that version, I get a strange error:
In [1]: for i in range(4):
ERROR: 'dict' object has no attribute 'len'
It
On Thu, Aug 13, 2009 at 6:22 PM, Gael Pasgrimaudg...@gawel.org wrote:
On Thu, Aug 13, 2009 at 2:59 PM, Martin Steinmstein.m...@googlemail.com
wrote:
Hi all,
On August 6th a new version of ipython (0.10) was released. When I use
paster shell with that version, I get a strange error:
In
Seems that the exec statement add a __builtins__ key to the locs
dictionnary and IPython don't like it.
Adding locs.pop('__builtins__') before shell initialization fix the problem:
In pylons/command.py at line ~=512:
shell.set_banner(shell.IP.BANNER + '\n\n' + banner)
On Thu, Aug 27, 2009 at 1:23 PM,
anuraguni...@yahoo.comanuraguni...@yahoo.com wrote:
I have installed sqlalchemy and can import it from python prompt e.g.
Python 2.5.4 (r254:67916, Mar 6 2009, 12:13:15)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type help, copyright, credits or
Hi,
I wonder if there is a way to add routes after initialization time
Here is my use case. I've created a rest controller[1] in FormAlchemy
to generate a CRUD interface for a model (SA mapper or whatever).
I like to use this controller for more than one model. The goal is to
generate an admin
On Wed, Sep 30, 2009 at 1:51 AM, Mike Orr sluggos...@gmail.com wrote:
On Tue, Sep 29, 2009 at 4:17 PM, Gael Pasgrimaud g...@gawel.org wrote:
Hi,
I wonder if there is a way to add routes after initialization time
Here is my use case. I've created a rest controller[1] in FormAlchemy
Maybe you can try to force the filename:
--pid-file=FILENAME Save PID to file (default to paster.pid if running in
daemon mode)
On Thu, Oct 1, 2009 at 10:24 AM, Weixi Yen weixi...@gmail.com wrote:
I'm running a server and I want to stop the daemon.
paster serve
On Sun, Oct 11, 2009 at 10:23 PM, Jason S. jas...@tuffmail.com wrote:
The query() and filter() functions both return query objects, not
result lists. This is very useful because you can chain together
multiple filters, order_bys, etc, but at the end you need to call .all
() to get a list (or
Hi Mike,
On Tue, Nov 24, 2009 at 8:43 PM, Mike Orr sluggos...@gmail.com wrote:
Thanks to everyone who has posted WebHelpers bugfixes the past few
days. As soon as I feel up to it (I'm currently home sick), I'll put
them in.
I'd still like to communicate with everybody who uses
On Fri, Dec 11, 2009 at 3:56 PM, Lea Haensenberger baerne...@gmail.com wrote:
I really need to create language catalogues automatically. Can
somebody help me?
On Dec 8, 11:47 am, Lea Haensenberger baerne...@gmail.com wrote:
Hi all,
I'd like to call 'python setup.py extract_messages' within a
Hi,
On Tue, Dec 15, 2009 at 3:20 PM, Metin Akat akat.me...@gmail.com wrote:
Thanks for this. It will certainly be quite useful in some setups.
I had a look in the project code generated by shabti_couchdbkit.
As far as I can see, this template tries to be compatible with
sqlalchemy way of
Hi,
If you want to play with JSON services you can have a look at restkit:
http://bytebucket.org/benoitc/restkit/wiki/docs/index.html
--
Gael
On Fri, Jan 22, 2010 at 5:22 AM, eoc moz...@gmail.com wrote:
Mariano and Wyatt, thank you for your thoughts, this gives me some
leads.
On Jan 21,
Hi,
On Wed, Jan 27, 2010 at 4:15 PM, morellik enrico.more...@gmail.com wrote:
Dear all,
I'm writing a pylons application to permit to our users to upload very
big files (hundred of MB). During upload I would display a progress
bar to check the uploading status.
I'm searching for some tools
On Wed, Jan 27, 2010 at 5:04 PM, morellik enrico.more...@gmail.com wrote:
On Jan 27, 4:39 pm, Gael Pasgrimaud g...@gawel.org wrote:
Hi,
On Wed, Jan 27, 2010 at 4:15 PM, morellik enrico.more...@gmail.com wrote:
Dear all,
I'm writing a pylons application to permit to our users to upload
On Thu, Jan 28, 2010 at 5:47 AM, Graham Higgins gjhigg...@gmail.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 27 Jan 2010, at 20:24, Graham Higgins wrote:
Okay, dokey, I'll give it a spin and confirm back that it does.
Yes, it does.
I needed to make one or two simple
On Thu, Jan 28, 2010 at 11:07 AM, morellik enrico.more...@gmail.com wrote:
Look like I've forget to sync the repo from bitbucket.
Latest log entry is now upgrade sample pylons to
0.9.7http://www.gawel.org/docs/gp.fileupload/rev/53aa46a39a7e
So it should work.
Thanks seems to work.
But,
On Thu, Jan 28, 2010 at 12:58 PM, morellik enrico.more...@gmail.com wrote:
hm... don't know. What append if you try a 600Mb upload with a standard form
?
I didn't tried.
You can try to turn the log level of the root logger to DEBUG to get
more info in the pylons console and use firebug
Hi,
On Tue, Feb 9, 2010 at 12:43 PM, morellik enrico.more...@gmail.com wrote:
Dear all,
I wrote an application where users can upload files up to 1GB. I
noticed that Pylons use /tmp like temporary directory before write the
file on the correct location. More times this behaviour fill my
On Thu, Mar 11, 2010 at 8:41 PM, Mike Orr sluggos...@gmail.com wrote:
On Thu, Mar 11, 2010 at 10:59 AM, Gael Pasgrimaud g...@gawel.org wrote:
Hi,
On Thu, Mar 11, 2010 at 7:35 PM, gazza burslem2...@yahoo.com wrote:
Hiya,
I am installing on the production server and hit the below:
Installed
On Sun, Apr 11, 2010 at 10:53 PM, cd34 mcd...@gmail.com wrote:
When you start a Pylons project, what packages do you usually start
with in your software stack?
I think I'm one of the few using ToscaWidgets - if I didn't have so
much developed in TG2 before I switched to Pylons, I think I
Hi,
You can find a demo site here: http://demo.formalchemy.org/
The demo use fa.jquery. A set of jquery widgets for formalchemy and a
custom RESTFull controller include in formalchemy.ext.pylons (in fact
his subclass in fa.jquery.pylons)
The controller support .json/.xhr format to get datas/forms
On Fri, Apr 23, 2010 at 4:32 PM, Krishnakant Mane krm...@gmail.com wrote:
Hello all,
I have been lerking around reading the thread on django.forms to be
incorporated for pylons.
I wanted to know out of curiosity, is formalchemy good enough for a typicle
application where forms are closely
On Fri, Apr 30, 2010 at 9:27 PM, macm moura.ma...@gmail.com wrote:
Hi Folks
I am newbie in pylons and python
How can I custom my cache_dir dynamically in controller?
So I dont want use development.ini
cache_dir = %(here)s/data
I want add in my controller something like that
From pep333: If the iterable returned by the application has a close()
method, the server or gateway must call that method upon completion
of the current request, whether the request was completed normally, or
terminated early due to an error.
You can write an iterator to run your task on
On Wed, Jun 9, 2010 at 6:35 PM, daniel daniel...@orange.fr wrote:
Hello
I'm working on an i18n project with pylons. I would need using _
function from within routing.py
If trying the following import into routing.py:
from pylons.i18n.translation import _
I get an error upon a browser
Look like you encounter the problem described here:
http://groups.google.com/group/pylons-discuss/browse_thread/thread/ede16f830f41fa1/672ea3c58291ec25?hl=enlnk=gst
On Sun, Jun 13, 2010 at 12:23 PM, Francesco Mazzoli e.imho...@gmail.com wrote:
I am writing a pylons application, using couchdb as
On Mon, Jun 14, 2010 at 6:57 PM, snfct...@sacfoodcoop.com
snfct...@sacfoodcoop.com wrote:
Can i still use FA with webhelpers.paginate?
Yes, you can. As I remember this should work:
grid = Grid(instances=page)
in template:
page.pager()
grid.render()
That's what we do in the admin ui:
On Mon, Jun 14, 2010 at 6:18 PM, Marcio brambilla.mar...@gmail.com wrote:
Hello,
I'm using Pylons and PostgreSQL, I'm
difficulty in mapping in pylons fields that are in Postgres
defined like type Real.
SA provides some backend specific types. I guess you can use this one:
On Wed, Jun 16, 2010 at 7:14 PM, Jonathan Vanasco jonat...@findmeon.com wrote:
this just happened today, its driving me crazy
all of my (local) pylons apps won't respond on my mac. the browser
pause for a few seconds, and then i see:
RTSP/1.0 404 Not Found
Content-Length: 0
Look like you
On Thu, Jun 17, 2010 at 2:51 PM, Petr Kobalíček
kobalicek.p...@gmail.com wrote:
Hi devs,
is there somewhere usage guide for FileApp. I used it in past and I'm
now getting one minor issue, if I want to serve file that not exists,
I get 500 (Internal Server Error) instead of 404 (Not Found).
On Wed, Jul 28, 2010 at 11:03 AM, Eric Lemoine
eric.lemo...@camptocamp.com wrote:
Hello
Does anyone know why jsonify does
response.headers[Content-Type] = application/json
instead of
response.content_type = application/json
Is there a good reason for that?
I don't think. That's two way
Hi,
Have you tried with a static route ?
http://routes.groovie.org/generating.html#generation-only-routes-aka-static-routes
then:
redirect(url('google'))
--
Gael
On Mon, Oct 4, 2010 at 11:14 PM, Ryan ryan.mckil...@gmail.com wrote:
This:
redirect('http://www.website.com')
Will redirect
On Fri, Oct 22, 2010 at 2:34 PM, Adrien adrien.sala...@gmail.com wrote:
Hi,
I found a workaround by creating a wsgi middleware that stores
wsgi.input before it gets altered by one of the Pylons components.
It works for me but does not solve the real problem.
For what I understand when a
On Fri, Oct 22, 2010 at 3:47 PM, andres and...@octopart.com wrote:
Hi,
This is a bit difficult to explain... I need to make an app request
from within the app itself. The purpose is to allow for batch
processing of multiple http requests into one server call:
class
set an environ var in your controller then get it in
resp.environ if you need to share other data than the controller
output but I think that resp.body is enough
-Andres
On Oct 22, 10:09 am, Gael Pasgrimaud g...@gawel.org wrote:
On Fri, Oct 22, 2010 at 3:47 PM, andres and...@octopart.com
Hi,
On Wed, Nov 10, 2010 at 10:04 PM, ilias iliasthechamp...@gmail.com wrote:
Hello,
Pylons uses StatusCodeRedirect which redirects to other page. I would
like to return text/html instead of redirection like
http://www.google.com/asdsadsa.
Which middleware can do this?
Other page ? Which
Hi,
On Thu, Nov 11, 2010 at 12:17 PM, Gopalakrishnan Subramani
gopalakrishnan.subram...@gmail.com wrote:
Do you have any sample application using Pyramid, Sqlalchemy, Mako and
Authentication and Authorization?
I have done sites using Pylons and looking forward to learn Pyramid
and convert
On Sat, Jan 15, 2011 at 3:12 PM, Eric Lemoine
eric.lemo...@camptocamp.com wrote:
On Sat, Jan 15, 2011 at 4:53 AM, Mike Orr sluggos...@gmail.com wrote:
Hi all, I'm starting an article on Pyramid for Pylons 1 users,
focusing on the differences between the frameworks and how to do
familiar things
Hi,
On Sun, Jan 16, 2011 at 2:59 AM, He Shiming heshim...@gmail.com wrote:
On Jan 16, 1:14 am, Juliusz Gonera jgon...@gmail.com wrote:
If you plan to use Paster in production, you can use
gp.fileupload:http://pypi.python.org/pypi/gp.fileupload/
If e.g. you plan to use uWSGI, Nginx and
Hi,
On Sun, Jan 16, 2011 at 3:16 PM, Adam Klekotka adam.kleko...@gmail.com wrote:
Hello,
I'm new to Pyramid and I'm developing an app in which I want to use
twitter and facebook connect for user auth. I think the repoze.what
with plugins would be the best way to do that. Is there any tutorial
Hi,
On Tue, Jan 25, 2011 at 11:56 AM, Christian Gunning
icos.atr...@gmail.com wrote:
I just migrated from Authkit to repoze.what. One thing I can't figure
out, though, is how to protect static files. I'd like to use one auth
framework for everything. I've tried fiddling with config/
Look like the new jQuery HTML5 file upload rock:
http://aquantum-demo.appspot.com/file-upload
On Sun, Jan 16, 2011 at 1:21 PM, He Shiming heshim...@gmail.com wrote:
On Jan 16, 8:03 pm, Juliusz Gonera jgon...@gmail.com wrote:
Gael Pasgrimaud wrote:
The problem is that you need the whole
Hi,
You can also have a look at this excellent document:
http://www.muthukadan.net/docs/zca.html
On Thu, Feb 10, 2011 at 8:51 PM, Bobby bobby.chamber...@gmail.com wrote:
The answer is to use the adapter pattern.
An explanation in Zope
http://wiki.zope.org/zope3/ZopeGuideComponents
A great
Hi,
I'm pleased to announce the first public release of pyramid_formalchemy.
This package allow you to get a simple CRUD interface in pyramid.
Check the documentation: http://docs.formalchemy.org/pyramid_formalchemy/
And the demo: http://docs.formalchemy.org/demo/admin/
Regards,
--
Gael
--
/pyramid_formalchemy/blob/master/pyramidapp/pyramidapp/tests.py
--
Gael
- C
On Thu, 2011-02-24 at 10:21 +0100, Gael Pasgrimaud wrote:
Hi,
I'm pleased to announce the first public release of pyramid_formalchemy.
This package allow you to get a simple CRUD interface in pyramid.
Check the documentation
On Tue, Mar 15, 2011 at 11:23 PM, Adam Klekotka adam.kleko...@gmail.com wrote:
Hello,
I'm trying to use Twitter API in my pyramid-based app. I have big
problem with authorization of my app. Twitter API is redirecting user
back to my site with url:
Hi,
You can also use the NewRequest event to set the correct scheme for
all new request:
http://docs.pylonsproject.org/projects/pyramid/dev/narr/events.html#configuring-an-event-listener-imperatively
--
Gael
On Thu, Mar 17, 2011 at 1:57 PM, Daniel Holth dho...@gmail.com wrote:
Eric,
You are
On Wed, Mar 23, 2011 at 7:57 PM, Mike Orr sluggos...@gmail.com wrote:
FormAlchemy
* Pylons: some usage.
* Pyramid:
Work just fine with pyramid: http://docs.formalchemy.org/pyramid_formalchemy/
* Philosophy: automatically generate widgets for fields in
SQLAlchemy ORM objects. (Not usable
Hi,
On Tue, Apr 5, 2011 at 7:12 AM, Vincent Catalano
vinc...@vincentcatalano.com wrote:
I'm trying to put together an administration section for a Pylons web
project. I'm trying to figure out which form generator would be the best to
use. I use FormEncode for some areas of the site but I was
Hi,
On Fri, May 20, 2011 at 7:40 PM, Gopalakrishnan S
gopalakrishnan.subram...@gmail.com wrote:
I am porting pylons project to pyramid. I use the pylons.config for my
site domain name, title etc like
pylons.config['site_name'] etc..
how to access the ini content in my pyramid project?
I
Hi,
I guess that this thread already contain a reply:
http://groups.google.com/group/pylons-discuss/browse_thread/thread/fb1f4c49cf34eee2?hl=en#
But I'm agree that this point should be added in the pyramid
documentation with a recommended way to do that. It's a common need
--
Gael
On Tue, Jun
On Thu, Jun 23, 2011 at 10:02 AM, Malthe Borch mbo...@gmail.com wrote:
On 22 June 2011 23:13, Bruce Wade bruce.w...@gmail.com wrote:
I have used Mako with pylons, now I am trying to rap my head around
chameleon for pyramid. How do we keep our templates DRY using chameleon?
Does it support
Hi,
First notice that formalchemy has it's own mailing list:
http://groups.google.com/group/formalchemy?pli=1
On Wed, Jul 13, 2011 at 6:02 PM, Benjamin Sims benjamins...@gmail.com wrote:
Hi,
I am currently creating an application using Pyramid. In order to save time,
I am interested in using
Hi,
On Tue, Sep 20, 2011 at 3:12 PM, Jasper jap...@gmail.com wrote:
Hi everyone,
I'd like to serve a (sometimes larger) binary file from one of my
views. It seems the preferred method of doing this is with
paste.fileapp.FileApp:
On Thu, Nov 3, 2011 at 4:54 PM, jerry jerryji1...@gmail.com wrote:
Hi,
How does pyramid.response.Response use the (app_iter=) object passed
in?
I'm interested in the details because it does not work with
app_iter=MongoDB's gridfs.grid_file.GridOut object (which supports the
usual
Hi,
I think you can find some inspiration here:
http://docs.pylonsproject.org/projects/pyramid_cookbook/dev/i18n.html
On Sat, Nov 5, 2011 at 1:03 AM, Bruce Wade bruce.w...@gmail.com wrote:
Hi,
We are trying to use translation when generating a PDF file from a request.
However for some reason
To be clear, you need to use a translator. Else your TranslationString
will act as a standard unicode string.
get_localizer(request).translate(_('Client'))
Pyramid use some magic to do that for you in chameleon templates.
That's why it work in your html pages.
On Sat, Nov 5, 2011 at 6:23 AM,
it work:
https://github.com/Pylons/pyramid/blob/master/pyramid/i18n.py#L192
But using a real request is the best option.
On Sat, Nov 5, 2011 at 4:32 AM, Gael Pasgrimaud g...@gawel.org wrote:
To be clear, you need to use a translator. Else your TranslationString
will act as a standard unicode
Hi,
Are you coming from php ? :)
WebOb does not handle arrays/hashes and I don't think that this is in
the current roadmap.
On Mon, Nov 14, 2011 at 7:52 AM, uday gotou...@gmail.com wrote:
Hi all,
I think it is more helpful if we can make form fields processing more
convenient which can
...@gmail.com wrote:
actually, pylons had this. it was request.params.getall('param') but
pyramid does not support this.
On Nov 14, 6:12 pm, Gael Pasgrimaud g...@gawel.org wrote:
Hi,
Are you coming from php ? :)
WebOb does not handle arrays/hashes and I don't think that this is in
the current roadmap
this.
It does, actually. It's a WebOb feature (both Pyramid and
Pylons use
WebOb).
- C
On Nov 14, 6:12 pm, Gael Pasgrimaud g...@gawel.org wrote:
Hi,
Are you coming from php
This also work with Pylons. Except for the decorator. You can replace
it with a custom one or by repoze.what
But the best way is to use a X-Sendfile (or similar) header:
http://www.yiiframework.com/wiki/129/x-sendfile-serve-large-static-files-efficiently-from-web-applications/
(It's about PHP
On Sat, Dec 17, 2011 at 9:41 PM, rihad ri...@mail.ru wrote:
Is going back to 1.2 the only way to try pyramid_formalchemy out?
No, you don't really need a template. You can add pyramid_formalchemy
to a project with only a few extra lines to your __init__.py:
On Sat, Dec 17, 2011 at 10:09 PM, Chris McDonough chr...@plope.com wrote:
On Sat, 2011-12-17 at 16:05 -0500, Chris McDonough wrote:
On Sat, 2011-12-17 at 12:41 -0800, rihad wrote:
Is going back to 1.2 the only way to try pyramid_formalchemy out?
That'd be the easiest way, at least until
On Sun, Dec 18, 2011 at 10:04 AM, rihad ri...@mail.ru wrote:
On Dec 18, 12:52 am, Gael Pasgrimaud g...@gawel.org wrote:
On Sat, Dec 17, 2011 at 9:41 PM, rihad ri...@mail.ru wrote:
Is going back to 1.2 the only way to try pyramid_formalchemy out?
No, you don't really need a template. You
On Mon, Dec 19, 2011 at 5:35 AM, rihad ri...@mail.ru wrote:
On Dec 18, 12:52 am, Gael Pasgrimaud g...@gawel.org wrote:
On Sat, Dec 17, 2011 at 9:41 PM, rihad ri...@mail.ru wrote:
Is going back to 1.2 the only way to try pyramid_formalchemy out?
No, you don't really need a template. You can
Hi,
On Wed, Dec 21, 2011 at 11:24 AM, Tarek Ziadé ziade.ta...@gmail.com wrote:
We'd love feedback new contributors !
Looks like a clever way to build some APIs. I have a project where I
may switch to cornice. But I have a few questions.
First, are you planning to add a support for class based
On Wed, Dec 21, 2011 at 11:18 PM, Tarek Ziadé ziade.ta...@gmail.com wrote:
On Wed, Dec 21, 2011 at 11:00 PM, Gael Pasgrimaud g...@gawel.org wrote:
Hi,
On Wed, Dec 21, 2011 at 11:24 AM, Tarek Ziadé ziade.ta...@gmail.com
wrote:
We'd love feedback new contributors !
Looks like a clever
On Thu, Dec 22, 2011 at 4:44 PM, Tarek Ziadé ziade.ta...@gmail.com wrote:
Hey
Gael's idea on using a class to define all methods for a service, gave me
another idea: add a light CRUD on the top of SQLAlchemy, in Cornice
For me this has nothing to do in cornice. Please keep this stuff
backend
you should try pcreate instead of paster create
http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/project.html
On Fri, Dec 23, 2011 at 12:27 PM, Eddy eddy.respon...@gmail.com wrote:
I'm having trouble creating a new Pyramid project using Paster.
paster create --list-templates shows
On Sat, Dec 24, 2011 at 2:02 AM, Wyatt Baldwin
wyatt.lee.bald...@gmail.com wrote:
On Wednesday, December 21, 2011 2:59:01 PM UTC-8, Gael Pasgrimaud wrote:
On Wed, Dec 21, 2011 at 11:18 PM, Tarek Ziadé ziade...@gmail.com wrote:
On Wed, Dec 21, 2011 at 11:00 PM, Gael Pasgrimaud ga
, Dec 19, 2011 at 9:20 AM, Gael Pasgrimaud g...@gawel.org wrote:
On Mon, Dec 19, 2011 at 5:35 AM, rihad ri...@mail.ru wrote:
On Dec 18, 12:52 am, Gael Pasgrimaud g...@gawel.org wrote:
On Sat, Dec 17, 2011 at 9:41 PM, rihad ri...@mail.ru wrote:
Is going back to 1.2 the only way to try
On Wed, Dec 28, 2011 at 11:35 PM, sri devanasrika...@gmail.com wrote:
Hi,
I am trying to learn pyramid and came to the installation page
mentioned in the
http://docs.pylonsproject.org/projects/pyramid/en/1.2-branch/tutorials/wiki2/installation.html.
And when i am trying to run
1 - 100 of 142 matches
Mail list logo