, at
least in my book). But unless I use models/__init__.py to attempt to
create the tables, I presume Pylons doesn't really care if there's an
associated sequence (or whether there's an unmapped tsvector column), or
does it?
Thanks for any comments or suggestions.
Joe
that some of my datatypes don't correspond
exactly to SQL types, so some transformations are necessary (arguably in
a grey area between the model and the view).
Hope that helps a bit,
Thanks, indeed.
Joe
--~--~-~--~~~---~--~~
You received this message because you
would make it
easier to look up the needed APIs, or to decide whether to use one
component (e.g., templating system) over another, and of course it would
help in debugging.
Joe
--~--~-~--~~~---~--~~
You received this message because you are subscribed
/DevCenter/EasyInstall
Joe
--~--~-~--~~~---~--~~
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
SO being there first?
Joe
--~--~-~--~~~---~--~~
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
of using
sequentially-assigned integers is quite common, although technically
they are surrogate primary keys (see
http://en.wikipedia.org/wiki/Surrogate_key).
Joe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
.
---
These are not entirely unreasonable points. In any case, I suggest that
if anyone wants more they can visit comp.databases.theory for regular
flame wars on the subject.
Joe
--~--~-~--~~~---~--~~
You received this message because you are subscribed
or
gen.py. Are we supposed to install Myghty separately to explore its
features or only use them within Pylons, or what (and if so, it would
help to make this explicit in the Pylons docs)?
Joe
--~--~-~--~~~---~--~~
You received this message because you
by experimentation. That said,
that tools/gen.py tool appears to be useful on its own, so I wonder why
Pylons doesn't install it (or perhaps it has been removed from Myghty
itself?).
Joe
--~--~-~--~~~---~--~~
You received this message because you are subscribed
the database on each page instantiation or
refresh.
A minor comment on your code: self.session is somewhat confusing
because in the web environment a session is not the same as a
database session.
Joe
--~--~-~--~~~---~--~~
You received this message because you
using. Do you have a particular DB or implementation in mind?
Joe
--~--~-~--~~~---~--~~
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
for loading them. Wheras PHP will load your
entire app every request essentially, this causes a substantial
slowdown.
For my own edification, would you have references to support your two
assertions?
Joe
--~--~-~--~~~---~--~~
You received this message
This is embarassing but I've been unable to figure out what's going on.
I'm trying to write a WSGI application that will be running under IIS. As I
understand it, WSGI is a pretty simple API. I have a sample application
running;
def application(environ, start_response):
WSGI
Thanks Michael! I really appreciate it. I was able to get the sample
working with your help.
--
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
On Jan 22, 2008 2:15 AM, Kevin Baker [EMAIL PROTECTED] wrote:
Is the table definition there to manually define data-types for SA, so
that it can generate valid SQL with the SQL abstraction syntax? or
does it do more.
Here is a good explanation of what the Table and Column definitions
are used
, and the name property as the option text. Is there a
cleaner way to do this using the webhelpers module?
Thanks,
Joe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send
On Tue, May 20, 2008 at 11:49 AM, Garland, Ken R [EMAIL PROTECTED] wrote:
Hmm, I'm not 100% sure I understand but this is something that I use
to populate a select drop-down from a list:
${ h.select(name='selectedItem',
option_tags=h.options_for_select(c.list, selected=None),
selected=None,
On Tue, May 20, 2008 at 11:58 AM, Garland, Ken R [EMAIL PROTECTED] wrote:
c.list would be the text of the options.
What would be the value of the options? Sorry if this is really
simple, but the objects in my c.type_list are not strings, they are
instances of a class I created.
On Tue, May 20, 2008 at 2:12 PM, Garland, Ken R [EMAIL PROTECTED] wrote:
No problem, hope this helps:
options_for_select: generate HTML option set. Combine into select
function.
options_for_select_from_objects: same but get the labels and values
from specific attributes in a list of
)
Thank you Mike. That is what I was looking for - just something a bit
more readable.
Thanks again,
Joe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons
Sorry I am a completely newbie to Pylons, Python, and I'm trying to
built a web page with pylons..
so i got a page setup and have it query to my database for
searching..
query is fine when user enter the correct arguments
but when they are not
below is a pylons pages with error log
class
Hi,
This question is specific to Pylons and SQLAlchemy.
Hi all,
I have a mapped class (I am using SQLAlchemy's ORM), called Person. I
have a method on a pylons controller to delete a Person record from
the table that the Person class is mapped to. I am using the id
column (int, primary key) of
2009/1/7 Piotr Kęplicz kepl...@cmc.pl:
Of course not. Try:
Session.query(Person).filter_by(...).delete()
Hi Piotr and thank you for the reply.
Isn't that code still doing the select first, to get the object, and
then deleting it? The code you posted is much cleaner though.
Hi,
Is there a web helper function, that has the same behavior as
h.link_to_remote does, that can be used with a select input? I would
like to update an element on my page, when the user selects an option
in the drop down.
I can't seem to find any documentation for something like this, just
the
Hi,
I have a controller foo in my application's controller directory. I
want to make a separate admin controller named foo, in the
controllers/admin directory, as well. So I issued the command paster
controller admin/foo and paster is telling me that An error
occurred. Controller foo already
So I am relatively new to the Pyramid scene, so correct me if I am
wrong, but this is the conclusion I have come to on this topic. B/c I
too struggled for a few days over this.
Resources: First of all, resources were originally called models,
but the name was purposely changed to avoid
Sweet. I'm Jayd3e from IRC if anyone cares btw. Just putting a
handle with a name :).
On Wed, Mar 2, 2011 at 9:41 PM, Chris McDonough chr...@plope.com wrote:
On Wed, 2011-03-02 at 21:34 -0600, Joe Dallago wrote:
So I am relatively new to the Pyramid scene, so correct me if I am
wrong
pm, Joe Dallago jd.dall...@gmail.com wrote:
So I am relatively new to the Pyramid scene, so correct me if I am
wrong, but this is the conclusion I have come to on this topic. B/c I
too struggled for a few days over this.
Resources: First of all, resources were originally called models
As a student who would love to have a mentor and play a larger part in
the development process of Pyramid, I say this is an awesome idea.
On Sun, Mar 6, 2011 at 7:38 PM, Chris McDonough chr...@plope.com wrote:
On Sun, 2011-03-06 at 09:16 -0800, Joel Bohman wrote:
Hi,
I'm interested in doing
Any idea of how much it will be?
On Sat, Mar 5, 2011 at 12:03 PM, Chris McDonough chr...@plope.com wrote:
FYI, a printed edition of the Pyramid documentation (The Pyramid Web
Application Development Framework) will be available at the PyCon
bookseller during the conference. The book covers
Didn't know where else to post this. Where are some Pyramid members getting
dinner tonight at PyCon? New to PyCon fyi.
--
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
What does everyone use for hosting and why? I currently use bluehost, but I
just want to see what is out there.
--
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
Linode is looking good. I like the idea of being able to have total control
over my box.
On Mar 29, 2011 12:56 PM, Blaise Laflamme bla...@laflamme.org wrote:
I currently use different setups and my preferred one is linode.com,
it's just awesome :)
On Mar 29, 12:27 pm, Joe Dallago jd.dall
Not sure if this is the right way, but I always just run 'killall paster'
and it does the trick. Have you tried that?
On Apr 1, 2011 1:12 PM, CalebIrie calebi...@gmail.com wrote:
I have to ask about this... I have been trying for 2 hours to restart my
paster server, with no luck.
I've tried
there is a pill http://ennevia.com/sales.htm
--
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
Really wish I could go to this, but I'll be pretty busy with school around
that time.
On Apr 14, 2011 2:50 PM, Chris McDonough chr...@plope.com wrote:
Whit Morriss of SurveyMonkey has been kind enough to organize a set of
Pylons Project events coming up at the end of this month.
The first is a
Paster has a daemon flag. Just type paster serve --daemon
production.ini or something like that. I'm not 100% sure that it is
--daemon, pretty sure, but double check.
On Tue, Apr 26, 2011 at 5:26 PM, Krishnakant Mane krm...@gmail.com wrote:
Hello all.
I have a pylons application running in a
Vincenzo,
I just wanted to let you know that Joel Bohman and I are going to be
working on porting Pyramid to Py3 for GSOC. Feel free to contact
either one of us if you would like to join in.
-jayd3e
On Sat, May 21, 2011 at 11:43 AM, Vincenzo Ampolo
vincenzo.amp...@gmail.com wrote:
On Sat,
So I asked a few questions in #python, and there seemed to be some
disagreement with trying to support 2.5-3.2 all in one code base
without the use of 2to3 and 3to2. I wanted to know how you felt about
it. Some of their main points were that it makes the code quite messy
for both versions, and a
P.S. e-mail me some github usernames, and I can give you guys
permission to push to the fork.
On Thu, Jun 23, 2011 at 9:16 AM, Joe Dallago jd.dall...@gmail.com wrote:
I would like to help with this, if you guys start a project. I would
say the best way to do it would be to alter deform
I took a quick look at Tosca, and they don't seem to do anything
different than what I was essentially describing. Mike, what were you
specifically referring to?
On Thu, Jun 23, 2011 at 1:25 PM, Mike Orr sluggos...@gmail.com wrote:
On Thu, Jun 23, 2011 at 7:16 AM, Joe Dallago jd.dall
That way deform could be expanded to support multiple renderers.
On Thu, Jun 23, 2011 at 4:32 PM, Joe Dallago jd.dall...@gmail.com wrote:
^^ Yah that's how I currently do it, but I think it would be nice to
have a separate set of default templates for each renderer. Any way
we could easily do
K so users would use the same method they do now to support mako(your link
above), except they could use the deform_mako templates as opposed to
converting them on their own?
On Jun 23, 2011 5:38 PM, Chris McDonough chr...@plope.com wrote:
On Thu, 2011-06-23 at 16:32 -0500, Joe Dallago wrote
Just wanted to mentioned that I started the project as mentioned above
at https://github.com/jayd3e/deform_mako. If you find yourself
converting one of the chameleon templates in deform in the near future
please add it to that repo.
On Fri, Jun 24, 2011 at 1:54 PM, Matt Feifarek
The easiest answer to this question is, as soon as humanly possible.
On Wed, Jul 27, 2011 at 7:59 PM, Chris McDonough chr...@plope.com wrote:
Not sure. Our two GSOC students, Joe Dallago and Joel Bohman are
working on porting Pyramid's dependencies to Python 3 now. I think
we'll have
O cool I've always wanted more details.
On Thu, Sep 1, 2011 at 2:58 PM, Chris McDonough chr...@plope.com wrote:
My bad, I let this spam through.
- C
On Tue, 2011-08-30 at 10:14 -0700, bhuvanesh barani wrote:
For more details:
http://123maza.com/65/babul739/
--
Nah it was an April Fools' Day joke.
On Wed, Sep 7, 2011 at 12:54 PM, Siddhartha Kasivajhula
countvajh...@gmail.com wrote:
Has the pylons site been hacked?
http://docs.pylonshq.com/
--
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post
okay :)
On Wed, Sep 7, 2011 at 12:26 PM, Rob Miller r...@kalistra.com wrote:
Yup, and docs.pylonshq.com was misconfigured to still be pointing at
the
joke page. Now fixed.
-r
On 9/7/11 11:30 AM, Joe Dallago wrote:
Nah it was an April Fools' Day joke.
On Wed, Sep 7, 2011 at 12
This is great news. Glad this verdict was reached.
On Sep 17, 2011 6:50 PM, Chris McDonough chr...@plope.com wrote:
WebOb, the WSGI request/response library used by both Pylons and
Pyramid, previously hosted on Bitbucket, has been converted to Git and
is now hosted on GitHub in the Pylons
Chris,
What problems are we having with scaling the community? Or were thinking
more along the lines of discussing some new marketing ideas to attract more
users? Either way I think it is important to name some specific issues, to
get people brainstorming.
2011/10/14 Chris McDonough
I have a membership with linode.com. Really love their customer service
and web UI. I feel like I am always referring them to people.
On Tue, Oct 25, 2011 at 6:56 PM, Bruce Wade bruce.w...@gmail.com wrote:
Hi,
What are the recommendations for deploying on a cloud. Any cloud hosting
So just to clarify here, we have a many-to-many between Users and Accounts,
and a one to one between Accounts and RandomObjects. If this is true than
there are a few things wrong with your models.
1) Only one relationship call is necessary for a many-to-many, b/c the
backref will take care of
be attached to more than one account).
I am using URL Dispatch for my routing right now
On 11/10/2011 02:54 PM, Joe Dallago wrote:
So just to clarify here, we have a many-to-many between Users and
Accounts, and a one to one between Accounts and RandomObjects. If this is
true than there are a few
to
specify a factory for each route):
config.add_route('specific_object', '{account}/{object}/{id}',
factory=RandomObject)
On Thu, Nov 10, 2011 at 3:39 PM, Joe Dallago jd.dall...@gmail.com wrote:
Ok cool. So the fact that you use URL Dispatch actually has nothing to do
with your authorization
Count me in for $25. I can give it to you at PyCon, if that is not
too late. Otherwise, Paypal or something.
On Fri, Feb 10, 2012 at 12:36 PM, Iain Duncan iainduncanli...@gmail.com wrote:
On Fri, Feb 10, 2012 at 10:26 AM, Chris McDonough chr...@plope.com wrote:
On Fri, 2012-02-10 at 10:23
beneficial to the Pylons Project community, but ended
up not having the time/motivation to do it yourself, then get me to do
it at Google's expense!
-Joe D.
--
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons
Thanks for the support Chris. Michael Merickel also showed some
interest in being a mentor. So that really just leaves a need for one
person to lead the effort.
On Tue, Mar 27, 2012 at 1:41 PM, Chris McDonough chr...@plope.com wrote:
On Tue, 2012-03-27 at 11:39 -0500, Joe Dallago wrote:
I am
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
interested I'm sure he will post here.
On Apr 2, 2012 10:00 AM, Domen Kožar
, 2012-04-02 at 13:13 -0500, John Anderson wrote:
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
I plan on applying. Just wanted to get some feedback on a few ideas I
have for a project. One is pretty safe, the other is a tad insane,
yet awesome. So Mike and I discussed the first idea at Pycon, making
a Pyramid admin interface similar to Bottlecap(which was for Zope?)
for Pyramid. This
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.
On Mon, Apr 2, 2012 at 11:59 PM, Joe Dallago jd.dall...@gmail.com wrote:
I plan on applying. Just wanted
, Krishnakant Mane krm...@gmail.com wrote:
Hi,
Has some one thought about an eclipse plugin for pylons?
Happy hacking.
Krishnakant
On 03/04/12 17:36, John Anderson wrote:
On Tue, Apr 3, 2012 at 12:14 AM, Joe Dallagojd.dall...@gmail.com
wrote:
Just to clarify, I would also be more than
Nice, congrats. Love alembic.
On Apr 30, 2012 2:28 PM, Michael Bayer mike...@zzzcomputing.com wrote:
Hey lists -
I've just put out Alembic 0.3.2.
This version features initial support for Oracle, and some bug fixes.
There's plenty more to do with Alembic so keep those pull requests coming
You need to populate the matchdict manually. Add this to your code:
req.matchdict['templateid'] = 1
Pyramid doesn't actually route the URL, so the matchdict isn't populated.
On Fri, Jun 22, 2012 at 2:10 PM, Toni Mueller d...@tonimueller.org wrote:
Hi,
I want to test a view, but the
sure where it is in the docs, please link to it if you
find it.
On Fri, Jun 22, 2012 at 3:43 PM, Toni Mueller d...@tonimueller.org wrote:
Hi,
On Fri, Jun 22, 2012 at 02:37:55PM -0700, Joe Dallago wrote:
req.matchdict['templateid'] = 1
ummm... yes, but I thought that it should be created
Nice!
On Sun, Sep 16, 2012 at 10:26 PM, Chris McDonough chr...@plope.com wrote:
Pyramid 1.4a1 has been released. This is the first major release in the
1.4 series. Its primary features are:
- Easy custom JSON serialization of objects returned from views.
- Partial Mako and Chameleon
I am able to view the 1.4 docs at the link(
http://docs.pylonsproject.org/projects/pyramid/en/1.4-branch) you provided.
On Sun, Sep 16, 2012 at 10:27 PM, Joe Dallago jd.dall...@gmail.com wrote:
Nice!
On Sun, Sep 16, 2012 at 10:26 PM, Chris McDonough chr...@plope.comwrote:
Pyramid 1.4a1 has
I don't think it's been mentioned yet, but I use colander(
https://github.com/Pylons/colander). If form helpers are what you seek,
then you can use Deform instead(built on top of colander). I just like to
write my forms manually, and validate the POST data sent to the server with
my colander
I would say the above is a pretty good description. I will just chime in
with my experience. So I have been hacking with Pyramid for the last two
years or so, one of which as been spent mostly on a single web app. The
web app I'm working on has some pretty specific constraints, and at the end
Thanks guys!!
On Mon, Sep 2, 2013 at 4:38 PM, Vincent Catalano
vinc...@vincentcatalano.com wrote:
Thank you guys for all your awesome work!
On Mon, Sep 2, 2013 at 6:10 AM, Cem Ikta cemi...@gmail.com wrote:
Thanks for better docs and pyramid improvements.
--
You received this message
Pretty sure I'll be there, but I think I'm going to stay with a friend in
the area.
On Thu, Jan 2, 2014 at 10:59 AM, Chris McDonough chr...@plope.com wrote:
Hi folks,
There will be a Pylons sprint in New Orleans this February. The sprint
topic is nominally Pylons Project software which
Nice fix on the memory leak. Will have to upgrade right away.
On Tue, Jan 28, 2014 at 8:34 PM, Chris McDonough chr...@plope.com wrote:
Pyramid 1.5a4 has been released. Here's what happened since the last
release in the 1.5 series (1.5a3):
Features
- Updated scaffolds
references stale).
How can I open another ZODB connection, without hooking up with the
current transaction and use it in the app_iter? Or is there any better
way? Thanks in advance.
Joe
--
Joe Steeve
HiPro IT Solutions Private Limited
http://hipro.co.in/
signature.asc
Description
(self):
pass
I dont see why the above should not work with other servers. Any thoughts on
this?
Joe
--
Joe Steeve
HiPro IT Solutions Private Limited
http://hipro.co.in/
signature.asc
Description: This is a digitally signed message part
On Wed, 2014-06-11 at 15:07 +0530, Joe Steeve wrote:
I dont see why the above should not work with other servers. Any
thoughts on this?
Please can someone confirm that, that piece of code does not do some
obvious debauchery?
Joe
--
Joe Steeve
HiPro IT Solutions Private Limited
http
Yeah I'm currently doing this with Flynn. It's pre-alpha, and is pretty
buggy, but I've managed to get it to work. If you just want to run a few
containers and script updates, you could just build an image with Python
and Pyramid in it, and then just do a `docker run org/project pserve
We've been using Pyramid for the last 2.5 years at our startup, having
built it from the ground up. I'm always amazed at how much code we get to
reuse through each iteration of the site. In addition to that, we have
never had to work against the framework, we've always just been able to
build on
@Paul hiring is hard all around in my experience. I generally just look
for good programmers. People who know programming have no problem picking
up Python and Pyramid.
On Tue, Dec 9, 2014 at 10:13 AM, Paul Winkler sli...@gmail.com wrote:
FWIW (very little) I have worked in a couple of Django
The invite-only nature of slack is the biggest barrier I see. Does slack
provide a way to make a channel public?
On Friday, December 26, 2014, Blaise Laflamme bla...@laflamme.org wrote:
Michael,
it's not moving away IRC but sometimes and for some collaboration work
it's easier and more
This is really cool. After needing to implement login as both a form and
a JSON api, can totally see the use-case for this.
On Tue, Feb 17, 2015 at 2:34 AM, Michael Merickel mmeri...@gmail.com
wrote:
Hey everyone,
I've been using some patterns within Pyramid for a while to create
service
Awesome! Thanks for all the hard work.
On Sunday, January 3, 2016, Michael Merickel wrote:
> Folks, it's been a long time in the making but 1.6 is officially released!
>
> Some highlights include:
>
> - Python 3.5 compatibility.
> - ``pserve --reload`` no longer crashes on
On Tue, 2016-04-12 at 07:37 -0400, Chris Rossi wrote:
> You could at least get the behavior I describe by iterating over it
> yourself, I guess. That's a surprising code snippet.
Yeah, I guess I am just going to iterate the container myself.
--
Joe Steeve
HiPro IT Solutions Private L
t" was getting loaded because of
lines 1124-1126 in BTrees/_base.py:
if isinstance(i, slice):
return list(self)[i]
Will the list() still be lazy?
--
Joe Steeve
HiPro IT Solutions Private Limited
http://hipro.co.in/
--
You received this message because you are subsc
keys to
access the data. From a high-level look of the implementation, looks
like the entire "keys()" will have to be loaded in order for it to
slice.
I am uncomfortable with the "entire keys() loading" part. Is there a
better way?
--
Joe Steeve
HiPro IT Solutions Private Li
to cache the data from the REST API, and thereby save on
round-trip time in a request cycle? If so, would dropping another daemon
in the middle help?
--
Joe Steeve
HiPro IT Solutions Private Limited
http://hipro.co.in/
--
You received this message because you are subscribed to the Google Groups
On Thu, 2016-04-21 at 11:09 +0200, Thierry Florac wrote:
> Actually I handle this use case using IObjectRemovedEvent subscribers.
> Can't see any other simple way... :-/
I am taking this approach. Specifically I am using repoze.folder's
IObjectWillBeRemoved. Thanks :)
--
Joe Steeve
only after a GC on the db
(correct me if I am wrong).
The other approach seems to be to use IObjectWillBeRemovedEvent at the
site of the referencing object, to act accordingly.
How do other people deal with this?
--
Joe Steeve
HiPro IT Solutions Private Limited
http://hipro.co.in/
--
Yo
87 matches
Mail list logo