Re: [tg-trunk] Re: State of Turbogears

2010-06-17 Thread Lee McFadden
Yes, I'm in the process of getting that moved from my server which keeps dying. Apologies for the downtime. On Thu, Jun 17, 2010 at 8:33 AM, Derick Eisenhardt derick.eisenha...@gmail.com wrote: Also, I don't know if anyone's noticed, but planet.turbogears.org is down -- You received this

Re: [TurboGears] comet servers - turbogears2

2009-11-25 Thread Lee McFadden
: http://www.sitepen.com/blog/2008/03/31/rich-ui-webapps-with-turbogears-2-and-dojo-screencast/ -- Lee McFadden blog: http://www.splee.co.uk twitter: http://twitter.com/splee -- You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send

Re: [TurboGears] Re: RestController

2009-11-24 Thread Lee McFadden
, hosted at bitbucket: http://hg.turbogears.org/tg-dev/ is the trunk for 2.1, http://hg.turbogears.org/tg-2_0/ is the 2.0 branch. -- Lee McFadden blog: http://www.splee.co.uk twitter: http://twitter.com/splee -- You received this message because you are subscribed to the Google Groups

[tg-trunk] Re: ANN: TG 2.1a2 Relased!

2009-10-27 Thread Lee McFadden
the install process in detail: http://www.turbogears.org/2.1/docs/main/DownloadInstall.html#manual-installation -- Lee McFadden blog: http://www.splee.co.uk twitter: http://twitter.com/splee --~--~-~--~~~---~--~~ You received this message because you are subscribed

[tg-docs] Wiki20 should use websetup.py

2009-02-21 Thread Lee McFadden
Currently the Wiki20 documentation for tg2 uses a custom initializeDB.py script to bootstrap the application. I want to make sure that there's not a good reason for this (other than being legacy documentation) before I update the doc to use websetup.py and paster setup-app. -- Lee McFadden

[tg-docs] Re: Wiki20 should use websetup.py

2009-02-21 Thread Lee McFadden
wiki20 to use websetup.py tomorrow. There is a ticket for making exactly this change: http://trac.turbogears.org/ticket/2060 So if you could update the ticket when you're done that would be super-awesome. No problem. -- Lee McFadden blog: http://www.splee.co.uk rejaw: http://rejaw.com

[TurboGears] Re: TG2 Docs: Run through comments

2009-02-21 Thread Lee McFadden
Quite a few of the issues you mention have been rectified today during the doc spring but are only in SVN at the moment. I will go through everything you've written here in more detail tomorrow when I have the doc source files in front of me. -- Lee McFadden blog: http://www.splee.co.uk

[tg-trunk] Re: @before_render and @after_render

2009-01-17 Thread Lee McFadden
', custom_format='default_voice') @expose('genshi:shouting_template', custom_format='shouting') def index(self, *args, **kw): use_custom_format(self.index, self.is_shouting and 'shouting' or 'default_voice') return dict(john_wayne=you got that right, kid) -- Lee McFadden blog: http

[tg-trunk] Re: TG Planning session

2009-01-09 Thread Lee McFadden
I may struggle to get to this meeting, but I will do my utmost to be there for at least some of it. -- Lee McFadden blog: http://www.splee.co.uk rejaw: http://rejaw.com/splee twitter: http://twitter.com/splee --~--~-~--~~~---~--~~ You received this message

[TurboGears] Re: large file upload app

2008-12-23 Thread Lee McFadden
similar which is *designed* for large file uploads. A web page is not really suited to start a large file upload. -- Lee McFadden blog: http://www.splee.co.uk rejaw: http://rejaw.com/splee twitter: http://twitter.com/splee --~--~-~--~~~---~--~~ You received

[TurboGears] Re: SQLObject Inner join query

2008-12-23 Thread Lee McFadden
Also, if you're a real speed freak, you could adapt the following article to your needs: http://www.psychicorigami.com/2007/12/16/using-raw-sql-with-sqlobject-and-keeping-the-object-y-goodness/ -- Lee McFadden blog: http://www.splee.co.uk rejaw: http://rejaw.com/splee twitter: http

[tg-trunk] Re: tg.url and tg.redirect changes in tg2

2008-12-16 Thread Lee McFadden
On Mon, Dec 15, 2008 at 11:11 AM, Mark Ramm mark.mchristen...@gmail.com wrote: I propose that we switch to using the pylons.url function which is routes aware in tg2. --8--snip--8-- Any thoughts? +1 -- Lee McFadden blog: http://www.splee.co.uk rejaw: http://rejaw.com/splee twitter

[tg-trunk] Re: how to get SAclass.query behavior in TG2?

2008-12-14 Thread Lee McFadden
= declarative_base(mapper=DBSession.mapper) This allows you to use the DeclarativeBase unchanged from the quickstart models but it gives you the use of MyModel.query syntax. -- Lee McFadden blog: http://www.splee.co.uk rejaw: http://rejaw.com/splee twitter: http://twitter.com/splee

[tg-trunk] Re: override template not working as expected

2008-12-04 Thread Lee McFadden
to see what people thought. -- Lee McFadden blog: http://www.splee.co.uk rejaw: http://rejaw.com/splee twitter: http://twitter.com/splee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears Trunk group. To post

[tg-trunk] Re: November 15+16 TG2+WSGI sprint

2008-11-06 Thread Lee McFadden
at the Languagelab offices in Camden. I'm adding the details to the Wiki now, please add your name to the wiki in the appropriate place so I can get an idea of numbers. Hope to see you there =) -- Lee McFadden blog: http://www.splee.co.uk rejaw: http://rejaw.com/splee twitter: http://twitter.com/splee

[TurboGears] Re: [tg-trunk] November 15+16 TG2+WSGI sprint

2008-11-06 Thread Lee McFadden
at the Languagelab offices in Camden. I'm adding the details to the Wiki now, please add your name to the wiki in the appropriate place so I can get an idea of numbers. Hope to see you there =) -- Lee McFadden blog: http://www.splee.co.uk rejaw: http://rejaw.com/splee twitter: http://twitter.com/splee

[tg-trunk] Re: Diff: tgext.authorization vs tg.ext.repoze.who

2008-09-10 Thread Lee McFadden
like the idea of this as it will give a lot of customization options in terms of authentication for advanced users while remaining tucked away for 90% of use cases. -- Lee McFadden blog: http://www.splee.co.uk rejaw: http://rejaw.com/splee twitter: http://twitter.com/splee

[TurboGears] Re: TG1 to TG2 migration docs - particularly identity and registration anywhere?

2008-09-02 Thread Lee McFadden
/auth in tg2, and I'm more than sure that patches would be appreciated by those doing the work ;) I have some convenience functions for this that I've been using in my projects, I'll see if I can't tidy them up and add them to TG2. -- Lee McFadden blog: http://www.splee.co.uk rejaw: http

[tg-trunk] TG2 and Genshi xhtml-strict

2008-08-25 Thread Lee McFadden
and all templates would have an XHTML Strict doctype. Is this currently available for TG2? If so, I'm having some real difficulty finding it. If this isn't implemented yet I'll whip up a solution to getting it working, I just don't want to duplicate efforts =) Thanks, Lee -- Lee McFadden blog

[tg-trunk] Re: Mercurial for TG2 discussion

2008-08-22 Thread Lee McFadden
, it matches my workflow a lot better. If I had a penny for every time I wished I could have an intermediary commit before sending something to the main repo while using SVN... -- Lee McFadden blog: http://www.splee.co.uk rejaw: http://rejaw.com/splee twitter: http://twitter.com/splee

[tg-trunk] Re: GSOC Final Report - Steven Mohr

2008-08-19 Thread Lee McFadden
through IRC would be nice, as long as it doesn't damage the signal to noise ratio. -- Lee McFadden blog: http://www.splee.co.uk rejaw: http://rejaw.com/splee twitter: http://twitter.com/splee --~--~-~--~~~---~--~~ You received this message because you

[tg-trunk] Re: Warning: Important changes on sqlalchemy trunk

2008-08-19 Thread Lee McFadden
all the quickstart templates were changed properly. They will be updated soon. -- Lee McFadden blog: http://www.splee.co.uk rejaw: http://rejaw.com/splee twitter: http://twitter.com/splee --~--~-~--~~~---~--~~ You received this message because you are subscribed

[TurboGears] Re: TurboGears 2 Wiki Tutorial

2008-08-18 Thread Lee McFadden
Thanks for pointing these errors out, we'll get the examples corrected soon. -- Lee McFadden blog: http://www.splee.co.uk twitter: http://twitter.com/splee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[tg-trunk] Re: Two new patches to testutil.DBTest

2008-07-25 Thread Lee McFadden
that SA and Genshi are not the defaults for 1.0. They're still perfectly usable. -- Lee McFadden blog: http://www.splee.co.uk twitter: http://twitter.com/splee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[tg-trunk] Re: TG2 install testers needed

2008-07-04 Thread Lee McFadden
Late to the party, but OS X 10.5 with Python 2.4 (uh huh, I downgraded my Python) in a virtualenv works a treat. Nice work. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears Trunk group. To post to this

[TurboGears] Re: If controller output list, how it will be further processed

2008-05-28 Thread Lee McFadden
= [('','')] cherrypy.response.headers['Content-Type'] = application/json return encode(res) -- Lee McFadden blog: http://www.splee.co.uk twitter: http://twitter.com/splee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[tg-trunk] Re: TG2 docs temporary location

2008-05-02 Thread Lee McFadden
Mark, FYI, I get the following when I visit your site in Firefox 3: http://www.splee.co.uk/images/compound_attack.png The button then takes me here: http://www.stopbadware.org/reports/container?source=Firefoxversion=3.0b5reportname=http://compoundthinking.com/tg2/ -- Lee McFadden blog: http

[TurboGears] Re: Can I use python in my tg-admin sql upgrade script?

2008-04-17 Thread Lee McFadden
not. Both SQLObject and SQLAlchemy allow you to execute raw SQL - go take a look at the docs for the ORM you're using and you should be fine. HTH -- Lee McFadden blog: http://www.splee.co.uk twitter: http://twitter.com/splee --~--~-~--~~~---~--~~ You received

[TurboGears] Re: Google App Engine!

2008-04-08 Thread Lee McFadden
beta invite, but as soon as I do I will be looking into this too. -- Lee McFadden blog: http://www.splee.co.uk twitter: http://twitter.com/splee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group

[TurboGears] Re: Google App Engine!

2008-04-08 Thread Lee McFadden
it, but the offering of free, scalable, reliable hosting for python apps (developed specifically for AppEngine) can't be ignored and I bet that people will want to start using it with their weapon of choice rather than having to use Django. -- Lee McFadden blog: http://www.splee.co.uk twitter: http

[tg-trunk] Re: Bad package dependencies

2008-04-02 Thread Lee McFadden
This issue has already been highlighted here[1], along with a solution until a new release of twForms can be released to address this. -- Lee McFadden blog: http://www.splee.co.uk twitter: http://twitter.com/splee --~--~-~--~~~---~--~~ You received this message

[tg-trunk] Re: Bad package dependencies

2008-04-02 Thread Lee McFadden
Damn, forgot the URL :) http://tinyurl.com/yvcnm6 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears Trunk group. To post to this group, send email to turbogears-trunk@googlegroups.com To unsubscribe from

[tg-trunk] Re: Remove non-binary eggs on turbogears.org?

2008-04-01 Thread Lee McFadden
, but in the mean time I think the eggs should be added back to files.turbogears.org since our current release requires the older eggs. Once a new release with the updated requires.txt is available then we can remove the SQLObject eggs from files.turbogears.org again. -- Lee McFadden blog: http

[tg-trunk] Re: Remove non-binary eggs on turbogears.org?

2008-04-01 Thread Lee McFadden
for the feedback. -- Lee McFadden blog: http://www.splee.co.uk twitter: http://twitter.com/splee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears Trunk group. To post to this group, send email to turbogears-trunk

[TurboGears] Re: i18n issues

2008-03-31 Thread Lee McFadden
to the detected ones. I could be completely wrong about this mind you :) -- Lee McFadden blog: http://www.splee.co.uk twitter: http://twitter.com/splee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group

[tg-trunk] Re: GSOC and website redesign

2008-03-28 Thread Lee McFadden
. I will be coming out of my current heavy workload very soon and look to start making this gigboard app then. Maybe we could work together on this task? [1]: http://code.google.com/p/gigboard -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems

[tg-trunk] Re: GSOC and website redesign

2008-03-28 Thread Lee McFadden
. -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears Trunk group. To post to this group, send email

[tg-trunk] Re: GSOC and website redesign

2008-03-28 Thread Lee McFadden
I was intending to write the gigboard anyway, GSoC or not. I'll move any discussion about it away from this thread for the time being though so as not to clutter Jorge's thread any more than required =) -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype

[TurboGears] Re: Unicode help desperately needed. =(

2008-02-25 Thread Lee McFadden
isn't fit for public consumption and you can test it on a backup of your database to see if it solves your issues. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message

[tg-trunk] Re: sprint planning

2008-01-11 Thread Lee McFadden
On Jan 11, 2008 2:18 PM, Mark Ramm [EMAIL PROTECTED] wrote: We may want to change the IRC topic to point to the Sprint page too. I'll do that right now so it's set up ready for tomorrow. -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems

[tg-trunk] Re: sprint planning

2008-01-11 Thread Lee McFadden
neglected recently and I haven't had the time to keep it in 100% working order (although I still have big plans scrawled in a notepad). Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems

[TurboGears] Re: displaying text with valid x?html tags

2007-12-27 Thread Lee McFadden
this post[1] for more info. [1]: http://tinyurl.com/3a4rju Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[TurboGears] Re: cheetah and dashes?

2007-12-20 Thread Lee McFadden
On Dec 19, 2007 7:57 PM, Christopher Arndt [EMAIL PROTECTED] wrote: But why don't you just use $myDictionary['LAST-NAME-OF-CUSTOMER'] ? Or simply use underscores. LAST_NAME_OF_CUSTOMER. -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems

[tg-trunk] Re: TG2, session vars not working out of the box

2007-12-19 Thread Lee McFadden
think we should keep the pylons objects in their own namespace no matter what their decision on renaming is. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message

[tg-trunk] Re: TG2, session vars not working out of the box

2007-12-19 Thread Lee McFadden
Sorry, that should have been +1 On Dec 19, 2007 10:24 AM, Lee McFadden [EMAIL PROTECTED] wrote: -1 I've already chimed in on this subject, I think it would be better to stay with pylons' idioms rather than duplicate documentation for the sake of making things look a little nicer. Are we

[TurboGears] Re: TG2 Sprints all around the world in January?

2007-12-15 Thread Lee McFadden
This is a great idea, and I'm up for helping to organise the UK branch of this event should organisation be needed. Who in the UK would be able to attend something like this if a venue were organised in London or would the majority prefer to attend virtually via IRC/IM? Lee -- Lee McFadden

[TurboGears] Re: Is there a tg2 tg-admin shell equivalent?

2007-12-15 Thread Lee McFadden
At the moment, no, although this should definitely be a feature that gets implemented in the future and possibly something to add to the list for the upcoming sprints that are just being organised. -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype

[TurboGears] Re: a few issues changed since the book was printed...

2007-12-12 Thread Lee McFadden
some data. I hope that helps ease development of features like this, I know it was a huge relief for me when I found I could use this method. -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems

[TurboGears] Re: add_weekday_task

2007-12-10 Thread Lee McFadden
] for this functionality. If you've already read this documentation and you're not getting the results you want please try expanding[2] on the information you've given here. [1]: http://docs.turbogears.org/1.0/Scheduler [2]: http://www.catb.org/~esr/faqs/smart-questions.html -- Lee McFadden blog: http

[TurboGears] Re: tg.include_widgets mochikit 1.3

2007-12-10 Thread Lee McFadden
for bugs unfortunately... but I haven't noticed any personally). Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[TurboGears] Re: Invalid URL in Paginate

2007-12-06 Thread Lee McFadden
You should set your form's method to POST instead of GET. This way your form's data will be posted allowing paginate's query variables to use GET without overloading the browser URL. This should solve your problem. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http

[TurboGears] Re: Invalid URL in Paginate

2007-12-06 Thread Lee McFadden
they might continue and what your site has to offer. If I've got your use case wrong here, try to explain more fully what you require. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You

[TurboGears] Re: Invalid URL in Paginate

2007-12-06 Thread Lee McFadden
code nor your workflow so it could be a very valid use. Your other option is just to create the pagination link's href yourself using the paginate data available via the tg.paginate instance. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems

[tg-trunk] SQLObject UserWarning raised

2007-12-03 Thread Lee McFadden
? If there's a good reason to have this warning everywhere then fair enough, but implementing this error in the toolbox would be a better solution imho. If no one objects I'll submit a patch when I get time to write one. Thanks, Lee -- Lee McFadden blog: http://www.splee.co.uk work: http

[TurboGears] Re: My checkbox is always checked...

2007-11-26 Thread Lee McFadden
: input type=checkbox name=red py:attrs={'checked':tg.checker(some_expression)}/ This works in exactly the same way as tg.selected() when using option tags within selects. -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems

[TurboGears] Re: Preferred Python source editor

2007-11-01 Thread Lee McFadden
to the list. TextMate for OS X - http://macromates.com Great editor, very extensible, rock solid (but you need a Mac :) -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message

[TurboGears] [OT] Help Wanted - Enquire Within

2007-10-04 Thread Lee McFadden
) UK residency isn't required but it is preferred; if you live in or near London, even better! To find out more information or to apply, please email [EMAIL PROTECTED] with your CV/Resumé. Regards, Lee McFadden -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype

[TurboGears] Re: How can turbogears return JSON in this format?

2007-09-29 Thread Lee McFadden
) at the tail? thanks for you reply. -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears

[TurboGears] Re: Current favourite javascript libraries?

2007-09-29 Thread Lee McFadden
development method that I've found. There could be better ways, but I'm not familiar with them :) Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message because you

[TurboGears] Re: json, tg_flash question

2007-09-20 Thread Lee McFadden
if it is possible to remove the tg flash variable from json responses. Or is this something one should never have to do? Thanks Iain -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems

[TurboGears] Re: Getting the value of user_name when using TG's identity management

2007-09-15 Thread Lee McFadden
You can also use the default variable provider in your template if you don't want to pass the user from your controller method, e.g. ${tg.identity.user.user_name} The only difference is that you don't need 'current' as you do in the controller. -- Lee McFadden blog: http://www.splee.co.uk

[TurboGears] Re: blogging software, is it complicated?

2007-09-12 Thread Lee McFadden
with the basic features that you absolutely need (like publishing and comments) and add things like xmlrpc publishing and comment spam filtering until a little later imo. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems

[tg-trunk] Re: TG2 progress and bugs

2007-07-05 Thread Lee McFadden
be available. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears Trunk group. To post to this group

[TurboGears] Re: TG commits sqlalchemy objects after leaving controller.

2007-07-05 Thread Lee McFadden
if it's available in the rows given to the mapper. http://www.sqlalchemy.org/docs/adv_datamapping.html#advdatamapping_extending To get more details on this you should ask in the SQLAlchemy list or #sqlalchemy on freenode. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http

[TurboGears] Re: Iterate through an SA models columns?

2007-07-05 Thread Lee McFadden
objects or by using their attributes. Just dir(c) on one of the columns and you'll be able to find out a lot about them. I'm using assign_mapper here, so if you're not using it then YMMV. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems

[tg-trunk] Re: Fwd: [tg-docs] Re: The future of TurboGears documentation

2007-06-30 Thread Lee McFadden
as little or as much as you like. If/when my workload decreases so I actually have some free time I'd be willing to work on this but at the moment I'm swamped. Lee [1]: http://trac.turbogears.org/browser/projects/tgcrud -- Lee McFadden blog: http://www.splee.co.uk work: http

[TurboGears] Re: ANN: tgcrud goes 1.0

2007-06-23 Thread Lee McFadden
fields with the generated methods/widgets. Something for your next version perhaps? I'll take a look and see how much work it will be to get this feature working. TGCrud could seriously save me a lot of time :) Thanks, Lee -- Lee McFadden blog: http://www.splee.co.uk work: http

[TurboGears] Re: TG commits sqlalchemy objects after leaving controller.

2007-06-22 Thread Lee McFadden
(). Hope this helps. Lee [1]: http://www.sqlalchemy.org/docs/adv_datamapping.html#advdatamapping_properties_deferred -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received

[TurboGears] Re: iPhone applications

2007-06-13 Thread Lee McFadden
is a dumb idea. The iPhone is running a stripped down OS X for [insert deity]'s sake, *not* allowing developers to harness that potential power is just silly. -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems

[TurboGears] Re: mysql from MAMP on Mac OS X problem

2007-05-28 Thread Lee McFadden
and then, instead of using 'localhost' in your dburi, use 127.0.0.1. This should allow you to connect to the mysql server without a problem. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems

[TurboGears] Re: continue form validation inside controller AKA raise validators.Invalid() from inside a controller

2007-05-26 Thread Lee McFadden
that the field named 'password' matches the field named 'password_2' and will act like any other validation error. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received

[TurboGears] Re: Newbie Widgets question

2007-05-25 Thread Lee McFadden
the coolest part of gears. I wrote a tutorial on widgets a while ago[1], it might be useful for you. [1]: http://www.splee.co.uk/2006/11/19/simpleblog-part-4-widgets/ -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems

[tg-trunk] Re: [PATCH] [TICKET] toscawidgets/core.py -- valid_id should accept hypens, underscores, periods, colons

2007-05-22 Thread Lee McFadden
Alternatively, could a double underscore be used as the automatic separator? This would save the headache of using periods or something else that's not quite satisfactory without messing up the user's schema. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com

[TurboGears] Re: Problem with Turbogears - 404 Error

2007-05-20 Thread Lee McFadden
as the function it is decorating: @expose(template=hello.templates.hello) def hello(self): import time return dict(greeting=Greetings from the Controller) -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems

[tg-docs] Re: Sad state of the doc wiki

2007-05-19 Thread Lee McFadden
I agree with all the above sentiments. Don't worry about it sounding harsh... to be fair, sugar coating the situation can sometimes be a bad thing :) If everyone else agrees with Chris I will take a look at the moinmoin instance to try and remove the comment system. Lee -- Lee McFadden

[TurboGears] Re: Mac OS X terminal

2007-05-19 Thread Lee McFadden
-Utilities-Console) and see what's causing the terminal to die. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[TurboGears] Re: CherryPy - get source that linked to my website

2007-05-16 Thread Lee McFadden
need to bypass Apache: cherrypy.request.headers.get('Referer', None) This will get the referer's url or, if someone accessed your site directly, will return None. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems

[TurboGears] Re: sqlite no attribute'autocommit' ticket 763

2007-05-09 Thread Lee McFadden
. That's the reason for starting your dburi with `notrans_`. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[TurboGears] Re: widgets - overriding the template to use

2007-05-09 Thread Lee McFadden
) else: return default_widget(*args, **kw) ==/Code== Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[TurboGears] Re: Python variables in Javascript code inside a kid template.

2007-05-09 Thread Lee McFadden
+ ')') This will prevent you accidentally generating invalid JSON as simplejson will do the encoding for you. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message because

[TurboGears] Re: What are typical page render times? (Because mine are really high)

2007-05-06 Thread Lee McFadden
for the role of storage in a web app. Try switching to MySQL again to see if the problem just goes away. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message because

[TurboGears] Re: Planet Turbogears needs a favicon.ico

2007-05-04 Thread Lee McFadden
Turbogears icon. I'd volunteer to create one but I have no graphics ability whatsoever. That's certainly not a bad idea. If anyone wants to create a favicon, post it here and it'll be considered :) Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype

[TurboGears] Re: django admin with turbogears model

2007-05-02 Thread Lee McFadden
On 5/2/07, Noah Gift [EMAIL PROTECTED] wrote: Anyone try using the django admin interface with a turbogears model just for entering data? Sounds like an interesting frankenstein experiment...although you would have to throw extra tables in your database.. There's no way this would work

[TurboGears] Re: using routes' url_for

2007-04-28 Thread Lee McFadden
it to the template's execution. This is probably not the best way of going about things, but for my uses it's worked very well. [1]: http://paste.turbogears.org/paste/1243 Hope this helps, Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems

[TurboGears] Re: My (bad) experience with SQLAlchemy.

2007-01-25 Thread Lee McFadden
it all comes down to what works for you. SO might be your perfect tool, but for me SA rules the roost. :) -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message because

[TurboGears] Re: Full-Text Search suggestions

2007-01-23 Thread Lee McFadden
to get working with TG a long while ago and failed due to the aforementioned threading issues. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message because you

[TurboGears] Re: Is genshi really this unfriendly towards MVC?

2007-01-13 Thread Lee McFadden
to the request object? I'm just brain storming now though. :) -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group

[tg-trunk] Re: Is genshi really this unfriendly towards MVC?

2007-01-12 Thread Lee McFadden
JSON, it just returns the string widget_instance or something similar. I've never actually used json.py myself so I may have misinterpreted it's use. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems

[tg-trunk] Re: Is genshi really this unfriendly towards MVC?

2007-01-12 Thread Lee McFadden
. JSON. -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears Trunk group. To post to this group, send email

[TurboGears] Re: Turbogears and plesk

2007-01-12 Thread Lee McFadden
to run. You just have to keep track of which ports are being used for your hosted apps so there are no clashes and you can easily set up proxying using .htaccess and mod_rewrite. If you find any specific problems, just send another mail to the list and I'll do my best to answer. Lee -- Lee

[TurboGears] Re: Tagging list posts (Was: I surrender (second edition))

2007-01-12 Thread Lee McFadden
and people who are known to answer questions concisely, correctly and frequently) and, of course, filter by tags. As you can see, I've obviously got quite excited about the prospect of this project, however, I have no time to implement it at the moment :( Lee -- Lee McFadden blog: http

[TurboGears] Re: Is genshi really this unfriendly towards MVC?

2007-01-12 Thread Lee McFadden
is required to separate the MVC a little more. Otherwise one would have to create two versions of the same method if you wish to use a widget. One with the widget in the return value and one without. Not very DRY. -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com

[TurboGears] Re: Is genshi really this unfriendly towards MVC?

2007-01-12 Thread Lee McFadden
Sorry, it's late and I didn't explain that very well. On 1/13/07, Lee McFadden [EMAIL PROTECTED] wrote: As I say, I believe that a new mechanism for adding widgets is required to separate the MVC a little more. Otherwise one would have to create two versions of the same method if you wish

[tg-trunk] Re: bypassing @expose()

2007-01-11 Thread Lee McFadden
it, then use an exposed method to wrap it. That way you can use the wrapped function in any other part of your application or, in fact, any application at all. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems

[TurboGears] Re: Wish

2007-01-10 Thread Lee McFadden
seen enough people on the list and in IRC having trouble with it to know it's nowhere near as simple (and/or robust?). Do you have any more info as to what your exact problems were? Just saying that you had a problem doesn't help us solve anything, neither for you nor anyone else. :) Lee -- Lee

[TurboGears] Re: Trac does not accept file attachments

2007-01-08 Thread Lee McFadden
Well, it's fixed :) So attach patches at your leisure. Lee -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[TurboGears] Re: Doc Sprint next week

2007-01-07 Thread Lee McFadden
trac borks-out on attachment :( but Lee McFadden is working on this... http://tinyurl.com/y2o2g7 Regards, Florent Aide -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received

[TurboGears] Re: Trac does not accept file attachments

2007-01-06 Thread Lee McFadden
mangled everything because of the WikiSyntax. argh! Just put the patch text between '{{{' and '}}}' (without the quotes) markers. Chris -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You

[TurboGears] Re: 500 HTTP error when trying to add patch to ticket in trac (Was: [ANN] Turbogears Trac status))

2007-01-05 Thread Lee McFadden
I'll look into it ASAP On 1/5/07, Christopher Arndt [EMAIL PROTECTED] wrote: Christopher Arndt schrieb: Lee McFadden schrieb: Thanks for bringing all the bits and pieces above to my attention. After quite a few tweaks everything should now be working correctly. I get a 500 HTTP error

[tg-trunk] Re: Rules for submitting patches

2007-01-04 Thread Lee McFadden
still the 1.0 branch and 1.0.1 (or 1.1 - however we name it) will just be tagged from that branch. -- Lee McFadden blog: http://www.splee.co.uk work: http://fireflisystems.com skype: fireflisystems --~--~-~--~~~---~--~~ You received this message because you

  1   2   3   4   5   >