[pylons-discuss] Freelancers needed

2018-10-08 Thread John Anderson
Hey! Any of you know a freelance company that is familiar with Pyramid? We are looking to get a little extra help! Currently the big need we have is making some performance improvements on some reporting / analytics APIs. Thanks, John -- You received this message because you are subscribed

Re: [pylons-discuss] [off-topic] The Case Against Python 3

2016-11-24 Thread John Anderson
For the last 2 years every project I've worked on has been Python3 only. At SurveyMonkey we had ~60 different services and ported all shared code between them to Python3 four years ago and started shipping production Python3 two years ago. It is a much better language and it really annoys me

Re: [pylons-discuss] What is the benefit of pyramid_celery if I am using a standard celeryconfig rather than the ini file?

2016-11-09 Thread John Anderson
Absolutely nothing. pyramid_celery is specifically for sharing your ini configuration / app configuration with your celery workers. If you don't have a need to share those things you have no need for pyramid_celery :) On Wed, Nov 9, 2016 at 5:10 AM, Jo G wrote: >

Re: [pylons-discuss] Non-Javascript Web UI framework?

2015-09-04 Thread John Anderson
If you're using a transpiler instead of commonjs I would look into using ES6/2015 + babel. CoffeeScript has weird internals that prevent developers from building good linters around it but ES6/2015 has very good lint tools for it. On Friday, September 4, 2015, Joel wrote: >

Re: [pylons-discuss] Re: Best way to specify renderer at runtime

2015-05-20 Thread John Anderson
On Wed, May 20, 2015 at 4:39 PM, juha kohezivnosvojstvov...@gmail.com wrote: Jonathan - that's what I originally considered, but I think having views return just data is a good principle that I'd have a tough time giving up. The ability to have control on a per-view basis *is* rather lucrative

Re: [pylons-discuss] Re: Expanding WebTest to external servers

2015-03-31 Thread John Anderson
Here is some old code that used to work (its not the way we do it anymore, but it will point you in the right direction): http://paste.ofcode.org/5kiX9DFA9jSkqwguTdQ6M4 On Tue, Mar 31, 2015 at 11:08 AM, Oliver Berger dief...@gmail.com wrote: a short view into the code (

Re: [pylons-discuss] Restless api

2014-12-30 Thread John Anderson
On Tue, Dec 30, 2014 at 10:04 AM, Paul Everitt paulwever...@gmail.com wrote: Wichert’s rest_toolkit especially with its SQLAlchemy support is a good starting point. It doesn’t, though, introspect models and attempt to make endpoints. Anybody interested in working on such a thing? —Paul I

Re: [pylons-discuss] Re: PasteScript require issue

2014-12-30 Thread John Anderson
On Tue, Dec 30, 2014 at 8:26 PM, Iain Duncan iainduncanli...@gmail.com wrote: Thanks Tres, does that mean I could use an older version of Setuptools too, or is this something I can solve without doing that? I don't even get this though, is Paste 1.7.5 not Paste 1.7? thanks Iain Yeah,

Re: [pylons-discuss] Re: can APScheduler work with Pylons 1.0 or Pyramid ?

2014-12-28 Thread John Anderson
On Wed, Dec 24, 2014 at 11:13 AM, James Bennett Saxon ja...@saxon.com wrote: I'm liking the way I can dynamically schedule APScheduler. I'm getting tripped up on the pyramid/models/views integration. Let's suppose I wanted to have all the code together in this single app so I can share

[pylons-discuss] ANN: pyramid_celery 2.0 (release candidate)

2014-12-27 Thread John Anderson
Finally had some time to hack on pyramid_celery recently and made some fairly major changes and thought I'd try to get some feedback on the changes from the list before making a complete 2.0 release. The biggest changes: 1. New [celery] and [celerybeat] configuration sections, this looks like:

[pylons-discuss] Reorganizing the Pylons organization

2014-12-25 Thread John Anderson
There is a lot of confusion around the Pylons organization and I think in general our http://www.pylonsproject.org/ website doesn't help alleviate any of that confusion. For example you can't even go to http://www.pylonsproject.org/projects and get a list of Pylons projects, this just redirects

[pylons-discuss] Ship the pyramid console scripts outside of releases?

2014-12-01 Thread John Anderson
I'm wondering if it would make sense to have the p commands (pcreate, pserve, proutes, etc) be shipped outside of pyramid. I think it would be nice to improve these commands on shorter development cycles than Pyramid itself and benefit all previous releases. I recently did a small cleanup of

Re: [pylons-discuss] Re: webassets or fanstatic?

2014-11-11 Thread John Anderson
2014-10-28 15:51 GMT+01:00 Sascha Gottfried sascha.gottfr...@googlemail.com: This is the announcement of the package from the author... http://blog.startifact.com/posts/announcing-bowerstatic.html On Tue, Oct 28, 2014 at 11:16 AM, Sascha Gottfried sascha.gottfr...@googlemail.com

Re: [pylons-discuss] Re: Realtime server pushes

2014-08-16 Thread John Anderson
You want to be careful when using Server Side Events (SSE) they are not a very good alternative to WebSockets or Comet if you are expecting to build a service for an unknown user base. SSE is not supported in even the latest Internet Explorer browsers and if you can't guarantee your users wont

Re: [pylons-discuss] Pyramid: URL translation

2014-03-01 Thread John Anderson
Have you considered writing your own function `add_localized_route` and `localized_view_config`? This is by no means a fully thought out implementation but some psuedo code to get you thinking, but something like this could work: languages = ['en', 'es', 'de'] def add_localized_route(config,

Re: [pylons-discuss] Pyramid applet ClassNotFoundException

2014-02-03 Thread John Anderson
On Mon, Feb 3, 2014 at 7:43 PM, dla...@ucsc.edu wrote: Hello, I am using the Pyramid framework and trying to get a simple applet to appear in the browser using a .mako template. The code I have is very straightforward: applet CODE=HelloWorld.class WIDTH=150 HEIGHT=25 /applet But it

Re: Use others projects Pyramid

2013-09-04 Thread John Anderson
On Wed, Sep 4, 2013 at 8:07 AM, Mário Idival marioidi...@gmail.com wrote: Hello, I New in Pyramid an have a question: How i can use others Pyramid projects inside other? e.g I'm create a project with mongobd, have other with management users and permissions using postgresql and i want use

Re: WebError: new release

2013-06-18 Thread John Anderson
On Tue, Jun 18, 2013 at 7:49 AM, Mariano Mara mariano.m...@gmail.comwrote: Hi WebError maintainer, Is there any chance we can get a new release for weberror? Last one was from 2010 and it seems in the last years there were some minor bug fixes (such as

Re: routes with class based view

2013-06-04 Thread John Anderson
On Tue, Jun 4, 2013 at 1:12 PM, wilk w...@flibuste.net wrote: On 03-06-2013, tonthon wrote: Hi, you can also use inline view declaration in place of decorators: config.add_route('p1', '/p1') config.add_view(Main, route_name='p1') Combining this with the __import__ tool, you may

Re: disabling routes/views on deployment?

2013-05-30 Thread John Anderson
On Thu, May 30, 2013 at 3:04 PM, Jonathan Vanasco jonat...@findmeon.comwrote: we have a few routes/views that are used for testing is there a good way to disable them during deployment ( i.e. make them active depending on the environment )? in a perfect world , this would work : if

Re: statsd profiling

2013-05-23 Thread John Anderson
On Thu, May 23, 2013 at 9:24 PM, Jonathan Vanasco jonat...@findmeon.comwrote: i decided to integrate some profiling with statsd, and it was really easy. i use it for timing and profiling certain logical things, but also use it for some lightweight analytics based on the matched route i use

Re: pserve + gunicorn causing some issues

2013-05-07 Thread John Anderson
On Tue, May 7, 2013 at 4:05 PM, Nikolay Kim fafhr...@gmail.com wrote: You probably should use something like https://github.com/fafhrd91/pyramid_sockjs/blob/master/pyramid_sockjs/paster.py On May 7, 2013, at 3:59 PM, Sontek son...@gmail.com wrote: When using this configuration setup:

Re: GSoC 2013- Pylons.Pyramid -- Better Debug tools

2013-04-29 Thread John Anderson
On Thu, Apr 25, 2013 at 4:56 AM, bro...@brodul.org wrote: Hi, my name is Andraz Brodnik 'brodul' from Slovenia, Ljubljana. I am finishing my studies at the faculty of electrical engineering in Ljubljana. I am working with python for the last two years, before that I was a linux system

Re: response from a string ?

2013-04-29 Thread John Anderson
On Mon, Apr 29, 2013 at 2:24 PM, Jonathan Vanasco jonat...@findmeon.comwrote: what's the best way to create a response from a string ? it's not a file to serve or a template to render. it's driving me a bit crazy trying to figure out a simple/idiomatic way to do this. ( i can do it in a

Re: GSoC 2013 - NotAliens/SQLAlchemy Project

2013-04-16 Thread John Anderson
Hey Josh! If you haven't worked with/on Pyramid itself, you might want to run through the tutorial and get your first application up and running in Pyramid: http://pyramid-blogr.readthedocs.org/en/latest/ Once you have become familiar with using Pyramid and SQLAlchemy both of GSoC projects will

Re: what could cause a BeforeRender event to fire 8 times ?

2013-01-25 Thread John Anderson
Do you have pyramid_debugtoolbar enabled? On Fri, Jan 25, 2013 at 9:36 PM, Chris Rossi ch...@archimedeanco.comwrote: Do your templates call other templates? On Fri, Jan 25, 2013 at 7:31 PM, Jonathan Vanasco jonat...@findmeon.comwrote: things were looking weird in my dev environment as I

SQLAlchemy Traversal with Pyramid

2012-10-20 Thread John Anderson
I've recently been doing a lot of traversal stuff with SQLAlchemy and since there wasn't much information on doing this I figured I'd create a project for others to use. So here is the code: https://github.com/sontek/sqlalchemy_traversal Let me know if you have any questions, its nothing special

Re: Celery, pyramid_celery, SQLAlchemy, and ZopeTransactionExtension?

2012-10-09 Thread John Anderson
On 10/09, Thomas Hill wrote: I know it's a really specific set of ingredients, but I was wondering if anyone has had any luck incorporating their pyramid app with celery, while using their SQLAlchemy connection that's a scoped_session with the ZopeTransactionExtension. I'm finding that when

Re: Authorization related issue in Pyramids

2012-10-08 Thread John Anderson
On 10/08, Chris McDonough wrote: On Mon, 2012-10-08 at 13:50 -0700, artee wrote: Hi In result access to all views with permission defined was denied. After small investigation I've found that this exception was silently handled on Pyramids side: for location in lineage(context):

Re: Simple File Caching

2012-09-20 Thread John Anderson
https://github.com/sontek/pyramid_mustache allows you to use pystache with pyramid if you want. On Thu, Sep 20, 2012 at 7:25 PM, Vincent Catalano vinc...@vincentcatalano.com wrote: I want to implement my own template system to be used with Pystache. Currently, I have a function getTemplates()

Hiring 1-2 Contractors

2012-07-31 Thread John Anderson
Hey, I'm about the least professional business owner ever, so this isn't a very official RFP ;)But we are looking to hire 1-2 contractors to help us get some features out the door before October. This job would be a full-time 40hr/week position for 3 months. Here is the basic overview of

Re: url = opts.pop('url') KeyError: 'url'

2012-06-26 Thread John Anderson
On Tue, Jun 26, 2012 at 10:31 AM, Eugene Pustovit logiar...@gmail.comwrote: Hi guys, facing the same issue while trying to follow the official tutorialhttp://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/narr/project.html#scaffolds-included-with-pyramid . After trying to run the

Re: url = opts.pop('url') KeyError: 'url'

2012-06-26 Thread John Anderson
On Tue, Jun 26, 2012 at 10:31 AM, Eugene Pustovit logiar...@gmail.comwrote: Hi guys, facing the same issue while trying to follow the official tutorialhttp://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/narr/project.html#scaffolds-included-with-pyramid . After trying to run the

Packaging/Distributing pyramid apps

2012-06-15 Thread John Anderson
What are you guys using these days? easy_install? pip? buildout? etc.. :) Just looking for more information on what all you guys are using and why so that we can make a better decision on what we are going to go with! Thanks! -- You received this message because you are subscribed to the

Re: Minimatic for Pyramid?

2012-06-12 Thread John Anderson
On Tue, Jun 12, 2012 at 1:31 AM, Mark Huang zhengha...@gmail.com wrote: Hi Pyramid experts, I am about to launch a web application soon and I realized I had some problems with js and css assets (minimizing and which one to use for production and development). I used to use Minimatic when I

Re: ubuntu os ugrade effect on pyramid

2012-05-24 Thread John Anderson
On Thu, May 24, 2012 at 3:12 PM, clemensherschel hersc...@panix.com wrote: I dont know what group can help me with this question in my pyramid application. I upgraded ubuntu os from 11. xx to 12.04. I thought my virtualenv would be immune to any OS changes. now when I run : ../bin/pserve

Re: ubuntu os ugrade effect on pyramid

2012-05-24 Thread John Anderson
On Thu, May 24, 2012 at 4:03 PM, clemensherschel hersc...@panix.com wrote: On 5/24/2012 4:15 PM, John Anderson wrote: On Thu, May 24, 2012 at 3:12 PM, clemensherschel hersc...@panix.comwrote: I dont know what group can help me with this question in my pyramid application. I upgraded

Re: url = opts.pop('url') KeyError: 'url'

2012-05-02 Thread John Anderson
On Tue, May 1, 2012 at 10:42 PM, Lukasz Szybalski szybal...@gmail.comwrote: Hello, In pyramid I'm trying to initialize a database model but I'm getting this error: initialize_myapp_db development.ini Traceback (most recent call last): File

Re: Learning Python/Pylons

2012-04-17 Thread John Anderson
On Tue, Apr 17, 2012 at 9:35 AM, Jonathan Vanasco jonat...@findmeon.comwrote: I think Dive Into Python is still pretty good for helping someone with previous programming experience transition (its 8years old). It doesn't teach you any fundamentals, it just goes into examples and how/ why

Re: The Pylons Project is looking for GSoC students and ideas!

2012-04-03 Thread John Anderson
On Tue, Apr 3, 2012 at 12:14 AM, Joe Dallago jd.dall...@gmail.com wrote: Just to clarify, I would also be more than willing to do any of the ones mentioned the wiki. I would be interested in hearing which projects the community feels are the most necessary. The wiki is a starting point,

Re: GSOC Mentors

2012-04-02 Thread John Anderson
have anything from last year or sprints ideas?) - logo (DONE) - dedicated mailing list (TODO: can we reuse last years and how?) When we have that, I'll send the word forward! Cheers, Domen I'm willing to be a mentor if one is still needed: John Anderson son...@gmail.com (850

Re: GSOC Mentors

2012-04-02 Thread John Anderson
On Mon, Apr 2, 2012 at 1:06 PM, Joe Dallago jd.dall...@gmail.com wrote: Chris mentioned that he would be interested in being a mentor, as long as he didn't have to lead the effort. Michael Merickel was also interested, if I remember correctly. I just contacted him, so if he is still

Re: The Pylons Project is looking for GSoC students and ideas!

2012-04-02 Thread John Anderson
Direct Link to the PSF application page: http://www.google-melange.com/gsoc/org/google/gsoc2012/python On Mon, Apr 2, 2012 at 9:45 PM, John Anderson son...@gmail.com wrote: There is currently 4 days left for students to apply to help out the Python Software Foundation and the Pylons project

Re: pyramid_celery and mod_wsgi

2012-03-21 Thread John Anderson
On Wed, Mar 21, 2012 at 11:48 AM, Ottavio otta...@campana.vi.it wrote: Hi, I developed a small application to send emails from a web app without blocking even if the mail server is slow by using pyramid_celery. I like its api, and I really would like to use it in bigger projects. BUT

Re: pyramid config.include(...) not working as I expect

2012-03-05 Thread John Anderson
On Mon, Mar 5, 2012 at 7:44 AM, Thomas G. Willis tom.wil...@gmail.comwrote: I've been reading up on extending pyramid applications and trying this out. but it's not working as I expect. http://docs.pylonsproject.org/projects/pyramid/en/1.2-branch/narr/extending.html Anyone see anything

Re: development.ini in a multi-user environment?

2012-03-04 Thread John Anderson
On Sun, Mar 4, 2012 at 9:43 PM, Jamie B. jjbe...@rightbrainnetworks.comwrote: Hello -- When an app is started, it binds to whatever IP address and port number is specified in development.ini. How would you handle this on a multi-user computer where several developers are working

Re: development.ini in a multi-user environment?

2012-03-04 Thread John Anderson
Hello -- When an app is started, it binds to whatever IP address and port number is specified in development.ini. How would you handle this on a multi-user computer where several developers are working simultaneously via remote X sessions? They all can't bind to the same

Re: development.ini in a multi-user environment?

2012-03-04 Thread John Anderson
On Sun, Mar 4, 2012 at 11:45 PM, John Anderson son...@gmail.com wrote: Hello -- When an app is started, it binds to whatever IP address and port number is specified in development.ini. How would you handle this on a multi-user computer where several developers are working

Re: How to make an object JSON-serializable?

2012-03-01 Thread John Anderson
This is the code I use (if your e-mail doesn't preview code well: http://paste2.org/p/1921598): def serialize(self, localtz=None): Converts all the properties of the object into a dict for use in json props = {} def is_valid_key(key): if

Re: Architecture of a backbone+pyramid single page app

2012-02-23 Thread John Anderson
On Thu, Feb 23, 2012 at 3:47 AM, tonthon tontho...@gmail.com wrote: Hi all, I'm looking for some feedback on building a single page app with backbone and pyramid (I'm using Sqlalchemy as ORM). How do you handle Urls on the js side ? How do you handle form submission (I like deform but it

Re: Architecture of a backbone+pyramid single page app

2012-02-23 Thread John Anderson
On Thu, Feb 23, 2012 at 1:01 PM, John Anderson son...@gmail.com wrote: On Thu, Feb 23, 2012 at 3:47 AM, tonthon tontho...@gmail.com wrote: Hi all, I'm looking for some feedback on building a single page app with backbone and pyramid (I'm using Sqlalchemy as ORM). How do you handle Urls

Re: need your help to overhaul docs

2012-02-04 Thread John Anderson
I'm busy until PyCon is over but I will donate 40hrs of my time helping rewrite docs, blog posts, screencasts, or whatever is needed the week after PyCon On Feb 4, 2012 12:14 PM, Jonathan Vanasco jonat...@findmeon.com wrote: kickstarter? -- You received this message because you are subscribed

Re: Pylons can be confusing to Pyramid

2012-01-31 Thread John Anderson
But maybe now there's a new generation of users who don't have a either Pylons or a BFG background, who find all the history and non-Pyramid alternatives distracting. If so... again, I don't think we want to rip the manual and website apart to address it. But maybe the documentation intro

Re: deform_bootstrap: Bootstrap compatible templates for deform

2012-01-19 Thread John Anderson
On Thu, Jan 19, 2012 at 11:26 AM, Daniel Nouri daniel.no...@gmail.comwrote: I just put an initial version of 'deform_bootstrap' on Github: https://github.com/dnouri/deform_bootstrap This deform extension provides Twitter Bootstrap compatible templates for deform. If you're interested in

Re: Pyramid Integration with Celery

2012-01-16 Thread John Anderson
BROKER_TRANSPORT = redis BROKER_URL = redis://localhost:6379/0 On Mon, Jan 16, 2012 at 4:29 AM, Laurent DAVERIO laur...@daverio.netwrote: Hello list, Le 11/01/12 08:35, John Anderson a écrit : What was missing and I'll add the instructions? I'll make a release on pypi in a week or two, just wanted

Pyramid Integration with Celery

2012-01-10 Thread John Anderson
To make integration with celery a little bit easier I created the package https://github.com/sontek/pyramid_celery It creates the command 'pceleryd' for running the celery daemon and will load your pyramid environment for your tasks so that they can access the database/pyramid registry. Its

Re: Pyramid Integration with Celery

2012-01-10 Thread John Anderson
robert What was missing and I'll add the instructions? I'll make a release on pypi in a week or two, just wanted to get some people on the mailing list using it out of git for a little bit before I made it official. On Wed, Jan 11, 2012 at 7:16 AM, John Anderson son...@gmail.com wrote: To make

Integration with webassets library

2012-01-08 Thread John Anderson
If you guys use the webassets library ( http://elsdoerfer.name/docs/webassets/) or looking for any easy way to manage your static assets in production (Compiling less, minifying javascript, generating JST, etc) you can check out https://github.com/sontek/pyramid_webassets Its nothing special but

How can I define the order of colander fields?

2012-01-05 Thread John Anderson
I have a base schema class and when I subclass it I sometimes want to re-order the fields, for instance: class ProfileSchema(CSRFSchema): Username = colander.SchemaNode(colander.String()) class DetailedProfileSchema(ProfileSchema): FirstName = colander.SchemaNode(colander.String()) I

Re: How can I define the order of colander fields?

2012-01-05 Thread John Anderson
On 01/05/2012 09:07 PM, Mariano Mara wrote: On 05.01.12 19:20, John Anderson wrote: I have a base schema class and when I subclass it I sometimes want to re-order the fields, for instance: class ProfileSchema(CSRFSchema): Username = colander.SchemaNode(colander.String

Re: Pyramid default wsgi server...

2011-12-31 Thread John Anderson
So what is the reasoning behind needing a production ready webserver included with the framework by default? Couldn't we just include something lightweight that works for development and allow people to make their own decision on what webserver they would like to use? For example, I use gunicorn

Re: Pyramid default wsgi server...

2011-12-31 Thread John Anderson
On Dec 31, 2011 4:41 PM, John Anderson son...@gmail.com mailto:son...@gmail.com wrote: So what is the reasoning behind needing a production ready webserver included with the framework by default? Couldn't we just include something lightweight that works for development

Re: Can pyramid event be used for long polling async event?

2011-12-16 Thread John Anderson
I am interested to build a chat app using pyramid event. Is this what pyramid event is for? Or should I be integrating it with another library like gevent or eventlet? Yes. Look at using gevent and socket.io for doing this. Socket.io is a library which will abstract out the use of

Re: how to use several Bases with config.include and a shared DBSession

2011-12-15 Thread John Anderson
On 12/15/2011 07:02 PM, Viktor Nagy wrote: hi, I'm stuck and sweating with a should be simple, so common problem related sqlalchemy and portable pyramid app development. I would like bind together several apps using config.include. All these apps use their own DBSession and Base

Re: how to use several Bases with config.include and a shared DBSession

2011-12-15 Thread John Anderson
On 12/15/2011 10:25 PM, Viktor Nagy wrote: On Fri, Dec 16, 2011 at 5:07 AM, John Anderson son...@gmail.com mailto:son...@gmail.com wrote: On 12/15/2011 07:02 PM, Viktor Nagy wrote: hi, I'm stuck and sweating with a should be simple, so common problem related sqlalchemy

Re: Events system

2011-12-13 Thread John Anderson
On Tue, Dec 13, 2011 at 5:10 PM, Vlad K. v...@haronmedia.com wrote: Hi all! In my Pyramid app I want to implement an event system, basically for plugins to hook to various events that raise in the life of the application. These events are each different, some allow one hook (by raising an

Re: deform / colander req. for maintainer

2011-12-07 Thread John Anderson
On 12/07/2011 04:13 AM, Chris McDonough wrote: We need someone to take over maintenance of Deform and/or Colander if those things are going to continue to have happy lives. I'm doing a pretty poor job right now, because I'm not using either of those things enough to care about applying

Re: enabling json under akhet ?

2011-12-04 Thread John Anderson
You should return a dictionary not a list. rval = {'values': [1,2,4]} On Sun, Dec 4, 2011 at 5:34 PM, Jonathan Vanasco jonat...@findmeon.comwrote: i'm using pyramid with akhet according to the docs, i should be able to do something like this: @view_config(renderer='json') def

Re: pyramid.config - what is _ainfo ?

2011-11-30 Thread John Anderson
I just wanted to take a stab at trying to make decorators like: @require_logged_in In pyramid I don't think you need a require_logged_in decorator for a view because you can just do: class RootFactory(object): @property def __acl__(self): return [ (Allow,

Re: Usability is the most biggest problem of Pylons Pyramid.

2011-11-30 Thread John Anderson
On Wed, Nov 30, 2011 at 7:41 PM, KlenPJ hopIJQy hufeng1...@gmail.comwrote: Usability is the most biggest problem of Pylons Pyramid. I am newer to Pylons Pyramid. i am care about the usability. when we want to built a biggest heavily load website , we care about how could we handler the

Re: Usability is the most biggest problem of Pylons Pyramid.

2011-11-30 Thread John Anderson
On Wed, Nov 30, 2011 at 11:53 PM, Robert Forkel xrotw...@googlemail.comwrote: I think you meant varnish for caching, Not vagrant. Other than that: this. Good catch -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send

Re: Serving Images Dynamically

2011-11-21 Thread John Anderson
On Mon, Nov 21, 2011 at 2:48 PM, Vincent Catalano vinc...@vincentcatalano.com wrote: I'm trying to figure out the best way to serve images dynamically in Pylons. Right now, I'm uploading images to a folder in /public. However, I want to be able to provide permissions to images as well as

Clarification on Authorization?

2011-11-10 Thread John Anderson
I'm looking to secure my system at an object level and some of the docs on how to do it weren't very clear to me. I have 2 scenarios: 1. Accounts vs User, for me every user is attached to an Account, the account is where the billing information is at and all the objects are attached to it

Re: Clarification on Authorization?

2011-11-10 Thread John Anderson
, 2011 at 2:39 PM, John Anderson son...@gmail.com mailto:son...@gmail.com wrote: I'm looking to secure my system at an object level and some of the docs on how to do it weren't very clear to me. I have 2 scenarios: 1. Accounts vs User, for me every user is attached

Re: Building RIAs with Pyramid

2011-11-08 Thread John Anderson
This gives rise to a lot of questions, like: * When loading lists or forms, is it better to create the HTML (e.g. table rows) on the client side (e.g. using jQuery calls or jQuery templates) and let Pyramid only serve the data (e.g. as JSON), or should the Pyramid views send ready-made HTML

Celery Configuration with Pyramid

2011-11-05 Thread John Anderson
So I've been playing with celery configuration with Pyramid and I was wondering how you guys handle it? My problem right now is the best way to tell celery how to bind SQLAlchemy configuration. If I don't call initialize_sql inside my celeryconfig.py it doesn't get bound but I don't want to call

Re: Celery Configuration with Pyramid

2011-11-05 Thread John Anderson
On Sat, Nov 5, 2011 at 9:28 AM, jerry jerryji1...@gmail.com wrote: Hi John, What's wrong with calling initialize_sql from Celery? I am calling initialize_sql(engine, create_all=False) in my Celery tasks.py and didn't notice any problem. celerytasks.py gets called when you first import

Re: Celery with Pyramid?

2011-11-04 Thread John Anderson
wrote: If transaction is not completed then data is not in database, so I can't select it. I really don't see problem here. On 28 Paź, 17:25, John Anderson son...@gmail.com wrote: How did you hook up your celery tasks to only execute if the transaction on the request committed

Celery with Pyramid?

2011-10-28 Thread John Anderson
I was wondering if any of you guys have used celery with Pyramid. I'm looking for a way to have my tasks only execute if the db transaction commits. That way any data the task expects is in the db and the task only executes if the data is valid. -- You received this message because you are

Re: Celery with Pyramid?

2011-10-28 Thread John Anderson
. On 28 Paź, 09:36, John Anderson son...@gmail.com wrote: I was wondering if any of you guys have used celery with Pyramid. I'm looking for a way to have my tasks only execute if the db transaction commits. That way any data the task expects is in the db and the task only executes