Hi, Mike...
On Sun, Jan 27, 2008 at 08:46:20PM -0800, Mikeroz wrote:
> I've just started to have some fun with pylons and I've got a question
> - what's wrong with the documentation? I mean - it's cool because it's
> there but there's almost no tutorials and stuff... is someone working
> on it? O
> http://wiki.pylonshq.com/display/pylonsmisc/Pylons+Cheatsheet
Minor remark: in mako templates I prefer
${ next.body() }
not
${ self.body() }
If you use only one-level inheritance then there is no difference, but
next is useful if you have sequence of templates (say main layout,
th
I tried this one already, it seemed to work only if the tookit dir is
under the pylons project tree like this:
myprojects/pylonsproject/
myprojects/pylonsproject/pylonsproject
myprojects/pylonsproject/toolkit
situation that I would like is:
myprojects/pylonsproject/
myprojects/pylonsproject/pylo
Hello all.
Are there any plans of simplejson-to-cjson migration (I mean the
@jsonify decorator).
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-disc
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
jerryji wrote:
> Dear Pyloners,
>
> Greatly appreciated if someone can shed some light on how to return a
> byte stream from my controller.
>
> For example, I want /image/123 to return an image so that it could be
> referenced in another page as
>
> (similar discussion did appear before --
> http
Dear Pyloners,
Greatly appreciated if someone can shed some light on how to return a
byte stream from my controller.
For example, I want /image/123 to return an image so that it could be
referenced in another page as
(similar discussion did appear before --
http://groups.google.com/group/pylon
Hello Pyloneers,
For one of the applications I'm writing, it would be really handy to
have the app advertise itself with avahi so that clients on the
network could automatically find it.
What I've got so far is the following, which has been added to Globals.__init__:
publishInfo = confi
On Jan 28, 2008 12:53 AM, Christoph Haas <[EMAIL PROTECTED]> wrote:
>
> Hi, Mike...
>
> On Sun, Jan 27, 2008 at 08:46:20PM -0800, Mikeroz wrote:
> > I've just started to have some fun with pylons and I've got a question
> > - what's wrong with the documentation? I mean - it's cool because it's
> >
Now I'm having new troubles. I keep getting this error:
ValueError: bad marshal data
I have no idea what this means. I am trying to follow the tutorial. As
I understand it, I am supposed to add this line to routing.py.
map.connect('', controller='hello', action='index')
I am not sure exactly
On Mon, 2008-01-28 at 06:38 -0800, walterbyrd wrote:
> Now I'm having new troubles. I keep getting this error:
>
> ValueError: bad marshal data
>
> I have no idea what this means.
It means you have corrupt .pyc files. If you're on *nix you can just
execute:
find myPylonsApp -name "*.pyc" -e
On Jan 28, 8:00 am, Cliff Wells <[EMAIL PROTECTED]> wrote:
> On Mon, 2008-01-28 at 06:38 -0800, walterbyrd wrote:
> > Now I'm having new troubles. I keep getting this error:
>
> > ValueError: bad marshal data
>
> > I have no idea what this means.
>
> It means you have corrupt .pyc files. If you
It's been very enlightening! Thank you very much.
Cheers,
Jerry
On Jan 28, 1:13 pm, Dalius Dobravolskas
<[EMAIL PROTECTED]> wrote:
> jerryji wrote:
> > Dear Pyloners,
>
> > Greatly appreciated if someone can shed some light on how to return a
> > byte stream from my controller.
>
> > For example
On Mon, 2008-01-28 at 16:23 -0500, Chris AtLee wrote:
> Hello Pyloneers,
>
> For one of the applications I'm writing, it would be really handy to
> have the app advertise itself with avahi so that clients on the
> network could automatically find it.
>
> What I've got so far is the following, w
Hi,
@validate supports separating form rendering and form post processing
into distinct methods. This is convenient, but has a nasty flaw: It
requires two separate URLs, a form display URL and a URL to handle the
post. When a form post fails to validate, the form is re-displayed,
but at t
About QuickWiki tutorial:
in models, _init_.py file i've got:
class Page(object):
content = None
def __str__(self):
return self.title
def get_wiki_content(self):
content = publish_parts(self.content, writer_name="html")
["html_body"]
titles = sets.Set(wikiwo
On Jan 28, 2008 5:33 PM, Steven Holmes <[EMAIL PROTECTED]> wrote:
> @validate supports separating form rendering and form post processing
> into distinct methods. This is convenient, but has a nasty flaw: It
> requires two separate URLs, a form display URL and a URL to handle the
> post. When a fo
Recently I couln't svn co form [http://pylonshq.com/svn/Pylons/trunk],
where is it gone?
--~--~-~--~~~---~--~~
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@goog
>
> On Mon, 2008-01-28 at 16:23 -0500, Chris AtLee wrote:
>>
>> This kind of works...The problem so far is that when the application
>> is run under paste with the --reload option, the child
>> avahi-publish-service processes don't get killed off when the
>> application is shutdown. When paster
On Jan 28, 2008, at 4:46 PM, Mikeroz wrote:
>
> About QuickWiki tutorial:
>
> in models, _init_.py file i've got:
>
> class Page(object):
> content = None
>
> def __str__(self):
> return self.title
>
> def get_wiki_content(self):
> content = publish_parts(self.content
On Jan 28, 2008, at 8:00 AM, [EMAIL PROTECTED] wrote:
>
> Hello all.
> Are there any plans of simplejson-to-cjson migration (I mean the
> @jsonify decorator).
Nope, w hat's the advantage of using cjson?
simplejson has had a C speed module for a while now, so the original
point of cjson being
On Jan 23, 2008, at 11:26 AM, ram wrote:
>
> I'm running into a strange issue where occasionally references to
> global objects (i.e. items stored in the Pylons 'g' variable)
> mysteriously vanish after some time. This seems to happen
> sporadically, but especially after Paste has made a "hung t
On Jan 28, 2008, at 4:07 AM, Mikael Lepistö wrote:
> I tried this one already, it seemed to work only if the tookit dir is
> under the pylons project tree like this:
>
> myprojects/pylonsproject/
> myprojects/pylonsproject/pylonsproject
> myprojects/pylonsproject/toolkit
>
> situation that I wou
23 matches
Mail list logo