[web2py] Re: Check to see if a field is in another table in a computed field

2016-02-12 Thread Greg White
day, February 11, 2016 at 6:02:16 PM UTC-5, Greg White wrote: >> >> I should have mentioned that I tried IS_IN_DB first off and it didn't work >> >> On Wednesday, February 10, 2016 at 4:25:48 PM UTC-7, Dave S wrote: >>> >>> >>> >>> On Wed

[web2py] Re: Check to see if a field is in another table in a computed field

2016-02-11 Thread Greg White
I should have mentioned that I tried IS_IN_DB first off and it didn't work On Wednesday, February 10, 2016 at 4:25:48 PM UTC-7, Dave S wrote: > > > > On Wednesday, February 10, 2016 at 2:01:52 PM UTC-8, Greg White wrote: >> >> Want a computed field to show whether or

[web2py] Check to see if a field is in another table in a computed field

2016-02-10 Thread Greg White
Want a computed field to show whether or not a field value exists in another table started with this... db.define_table( 'inventory', Field('name'), Field('qty', label='Quantity'), Field('MatSize',label='Material Size'), format = '%(name)s') db.define_table(

[web2py] Re: importing .csv to create DAL object

2015-02-24 Thread Greg Born
This is one approach. http://stackoverflow.com/questions/17799041/how-to-import-existing-mysql-database-into-web2py On Monday, February 23, 2015 at 1:44:27 PM UTC-7, Abhijit Chatterjee wrote: If I have an old site n mysql database. N want to convert to web2py, rather than typing up the

[web2py] Re: Not getting expected results from a query

2015-01-10 Thread Greg White
Thanks for the help, got it working. I need to learn some debugging techniques for web2py, but you have pointed me in the right direction for this kind of problem, if anyone has any suggested links it would be appreciated, thanks! On Friday, January 9, 2015 at 1:15:13 AM UTC-7, Niphlod wrote:

[web2py] Re: Not getting expected results from a query

2015-01-08 Thread Greg White
=len(results)) so you can check how many rows are you actually selecting :P On Sunday, January 4, 2015 4:17:03 AM UTC+1, Greg White wrote: I am brand new to web2py and know a little python, so I am a definite novice. I am trying to build a purchasing agent app and am getting result 0 from

[web2py] Not getting expected results from a query

2015-01-05 Thread Greg White
I am brand new to web2py and know a little python, so I am a definite novice. I am trying to build a purchasing agent app and am getting result 0 from function cost3. I am expecting to get a sum of the values for a specified job number (in cost2) in table PO Field mycost when I specify a job

[web2py] list:string type issues

2014-10-05 Thread Greg Vaughan
Hi Guys, I am using a list:string to store a list of lists. Each seperate list has 4 values, qty (int), name (string), description (text) and price(double). Stores nicely and looks fine in the db table eg. [1, 'OS 7030', 'OS 7030', 755.0], [3, 'SMT 24 Btn', 'SMT IP Phone', 360.0], [1, 'SMT

[web2py] Re: list:string type issues

2014-10-05 Thread Greg Vaughan
Ahh Anthony what would we do without you... tyvm... (again) a few quick changes to code and works a charm... Cheers Greg On Monday, 6 October 2014 00:48:09 UTC+10, Anthony wrote: Can you show your code? If you want to store a Python structure, you're probably better off using a json field

[web2py] insert and update SQLFORM.factory

2014-09-09 Thread Greg Vaughan
I am trying to do a combined update and insert using SQLFORM.factory with some redirects for good measure. Everything works fine except the update which fails to alter the record in question. @auth.requires_login() def remote_check(): j_id=request.args[0] for row in

[web2py] Re: insert and update SQLFORM.factory

2014-09-09 Thread Greg Vaughan
to see where I am screwing it up... Can you point me in the right direction please? Cheers Greg On Tuesday, 9 September 2014 23:30:46 UTC+10, Anthony wrote: You've got a redirect right before the update code, so it will never get to execute that code. Also, your two tables include a field

[web2py] Re: insert and update SQLFORM.factory

2014-09-09 Thread Greg Vaughan
include a field with the same name (business_name), so putting them both in SQLFORM.factory won't work properly. Anthony On Tuesday, September 9, 2014 9:10:50 AM UTC-4, Greg Vaughan wrote: I am trying to do a combined update and insert using SQLFORM.factory with some redirects for good

[web2py] type 'exceptions.RuntimeError' File.../databases/c8b....sales.table appears corrupted

2014-09-05 Thread Greg Vaughan
Somehow the sales table in my site has been corrupted... it is now a 0kb file (was about 600KB). Every other table is fine however. How can I reconstruct the data in this table? I have a backed up csv which is a little out of date but would do. Thanks Greg -- Resources: - http://web2py.com

[web2py] Re: type 'exceptions.RuntimeError' File.../databases/c8b....sales.table appears corrupted

2014-09-05 Thread Greg Vaughan
Yeah... everything was fine one moment then it all just stopped... when I looked at the file it was 0kb. I have no idea what happened... cannot access database admin... site still runs except for the functions that access that table... On Saturday, 6 September 2014 02:22:31 UTC+10, Greg

[web2py] Re: type 'exceptions.RuntimeError' File.../databases/c8b....sales.table appears corrupted

2014-09-05 Thread Greg Vaughan
I wasn't working on the site at the time... I was notified by some of the employees... yes it looks like the table has been dropped... I cannot for the life of me work out how that could have happened though. On Saturday, 6 September 2014 02:41:30 UTC+10, Leonel Câmara wrote: Err wait a

Re: [web2py] Re: type 'exceptions.RuntimeError' File.../databases/c8b....sales.table appears corrupted

2014-09-05 Thread Greg Vaughan
... Make sure to backup everything, and then do a fake migrate. Marin On Fri, Sep 5, 2014 at 6:51 PM, Greg Vaughan greg.s@gmail.com javascript: wrote: I wasn't working on the site at the time... I was notified by some of the employees... yes it looks like the table has been dropped

Re: [web2py] Re: type 'exceptions.RuntimeError' File.../databases/c8b....sales.table appears corrupted

2014-09-05 Thread Greg Vaughan
corrupted' % table._dbt) RuntimeError: File /home/gsv/enertek/web2py/applications/welcome/databases/c8b669d15150d7109e5f7ab36744a5b7_sales_leads.table appears corrupted On Saturday, 6 September 2014 03:05:27 UTC+10, Greg Vaughan wrote: Tried fake_migrate... production site on pythonanywhere so disk

Re: [web2py] Re: type 'exceptions.RuntimeError' File.../databases/c8b....sales.table appears corrupted

2014-09-05 Thread Greg Vaughan
to true 5) Deleted this model and renamed the model holding the backup files back to its original name... and (quite miraculously) everything appeared as it was immediately before the crash... Thanks for the help everyone... On Saturday, 6 September 2014 03:15:27 UTC+10, Greg Vaughan wrote: Version

[web2py] Web2py Mobile Interface

2014-08-21 Thread Greg Vaughan
to install a packed app, that I have missed? Thanks Greg -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you

[web2py] Re: Web2py Mobile Interface

2014-08-21 Thread Greg Vaughan
Hi Massimo I get the requires gitpython module so I cannot complete a pull request. I was hoping to be able to install the app as I would on the PC but that option is not available... should it be? Thanks Greg On Friday, 22 August 2014 00:07:36 UTC+10, Massimo Di Pierro wrote: What error do

Re: [web2py] Re: Error while inserting in table with custom id

2014-06-26 Thread Greg Sier
from this group and all its topics, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Greg Sier Sier Associates AU +61 7 55736422 -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com

[web2py] appadmin is disabled because insecure channel using default ipv6 local ::1 on windows with w2p 2.95

2014-06-16 Thread Greg Vaughan
Heading says it all... no problems using localhost IPv4... Is this expected behaviour? Seems rather strange if so... -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report

[web2py] Set which browser web2py opens in

2014-05-24 Thread Greg Vaughan
Is there any way to set the default browser for web2py to open in. It's normal behaviour is to use the computer default... can this be changed? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Display table as dictionary

2014-05-05 Thread Greg Vaughan
tyvm Massimo exactly what I was looking for... it works perfectly and now the rest of my code works :) On Monday, 5 May 2014 14:46:19 UTC+10, Massimo Di Pierro wrote: fields = db(db.address.business==4L).select().first().as_dict() On Sunday, 4 May 2014 16:59:34 UTC-5, Greg Vaughan wrote

[web2py] Display table as dictionary

2014-05-04 Thread Greg Vaughan
The following code fields = db(db.address.business==4L).select().as_dict() returns a dictionary of dictionaries {1L: {'street_name': 'Another', 'postcode': '4888', 'id': 1L, 'unit': False, 'building_name': '', 'city': 'Deadsville', 'lot_section': None, 'sub_building': '', 'street_suffix':

[web2py] Re: web2py conference, next week!

2014-04-26 Thread Greg Vaughan
Make the next one in Sydney (Australia) Massimo :) Just joking... all the best for it and looking forward to seeing the videos... On Saturday, 26 April 2014 13:08:01 UTC+10, Massimo Di Pierro wrote: Please register only if you plan to attend in person. We will record the talks and post

[web2py] pass current page id to load function in sidebar

2014-04-24 Thread Greg Vaughan
Hi everyone... I am using a LOAD function for a notes field in the sidebar of my app. I am able to load the notes for a specific business by hardcoding the id of the business in the controller like so... @auth.requires_login() def note(): current==1

[web2py] Re: SQLFORM.factory and jQueryUI effects

2014-04-24 Thread Greg Vaughan
containing all the fields from all the tables you pass, so there's only one table_name available. Of course, all field names MUST be different (i.e. unique within the form). On Tuesday, April 22, 2014 5:35:18 AM UTC+2, Greg Vaughan wrote: Hey Niphlod, Thanks for that answer... you are spot

[web2py] Re: pass current page id to load function in sidebar

2014-04-24 Thread Greg Vaughan
Hi Niphlod... {{=response.vars}} shows nothing... nor does {{response.toolbar()}}... db stats shows notes.business = 1 when I hardcode it as above... I took a screenshot here http://screencast.com/t/mmRPGOHUAjt I assume that the filter will have to be sorted in the controller as the LOAD

[web2py] Re: pass current page id to load function in sidebar

2014-04-24 Thread Greg Vaughan
: how are you using LOAD to load the component ? On Thursday, April 24, 2014 5:23:21 PM UTC+2, Greg Vaughan wrote: Hi Niphlod... {{=response.vars}} shows nothing... nor does {{response.toolbar()}}... db stats shows notes.business = 1 when I hardcode it as above... I took a screenshot

[web2py] Re: pass current page id to load function in sidebar

2014-04-24 Thread Greg Vaughan
Cheers Anthony Worked a treat... Thanks everyone for the help... On Friday, 25 April 2014 03:12:00 UTC+10, Anthony wrote: {{extend 'layout.html'}} {{=form}} {{pass}} {{block right_sidebar}} {{=LOAD('default','note.load',ajax=True)}} {{end}} Just do: {{=LOAD('default', 'note.load',

[web2py] Re: alternate date and time picker

2014-04-21 Thread Greg Vaughan
together an implementation of Pickadate.jshttp://amsul.ca/pickadate.js/index.htm which is the sort of thing my clients expect in a modern browser application. Cheers Greg On Sunday, 20 April 2014 16:36:25 UTC+10, Annet wrote: Hi Greg, I use a customized version of jQuery UI (I only needed

[web2py] SQLFORM.widgets.radio.widget and jQuery Validation

2014-04-21 Thread Greg Vaughan
Hi everyone, When I am using the SQLFORM.widgets.radio.widget my jquery selection code does not work. If I comment out the widget it works fine. Does anyone know if there is a workaround or is it just not possible to combine the two together. In the Model... db.define_table('leads',

[web2py] SQLFORM.factory and jQueryUI effects

2014-04-21 Thread Greg Vaughan
Hi everyone, I am using a bunch of jQuery hide effects based on the example code in the book... (Chapter 11... Conditional fields in forms) which work great with my SQLFORM. However when I change the controller to use SQLFORM.factory so that I can post to two tables (based on Chapter 7... One

[web2py] Re: SQLFORM.factory and jQueryUI effects

2014-04-21 Thread Greg Vaughan
Hey Niphlod, Thanks for that answer... you are spot on in seeing the problem... my #appointments_blah id's did get changed to #no_table_blah hence the jQuery was targeting id's that no longer existed... To fix it I simply changed the hard coded script at this point to target #no_table_unit,

[web2py] alternate date and time picker

2014-04-19 Thread Greg Vaughan
Is there any way that I can use a different date and time picker. The default one is horrible but it seems to be baked in to web2py? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

Re: [web2py] Re: Paypal Recurring Payments? Any experience? Any alternatives?

2014-04-03 Thread Greg Vaughan
it a far more difficult proposition to get to the smaller economies. On Wednesday, 2 April 2014 15:28:35 UTC+10, mweissen wrote: Stripe looks good, but could not be used in Austria/Europe. Sorry! :-( Martin 2014-04-02 5:38 GMT+02:00 Greg Vaughan greg.s@gmail.com javascript: : Stripe charges

[web2py] Re: web2py logo - need immediate help

2014-04-02 Thread Greg Vaughan
You're welcome... if you need any design stuff feel free to ask anytime... Front end design is the easy bit :) On Wednesday, 2 April 2014 23:52:55 UTC+10, Massimo Di Pierro wrote: Thank you Greg. This is really nice! I will pass it along to the organizing committee. On Wednesday, 2 April

[web2py] Re: Paypal Recurring Payments? Any experience? Any alternatives?

2014-04-01 Thread Greg Vaughan
Stripe charges me (in Australia) 2.7% + 30cents for each transaction processed, Visa, Mastercard or American Express. No other fees that are typically charged by other alternatives (Authorize.net) monthly fee, annual fee, chargeback fee etc... it is very much the simplest and most direct...

[web2py] Re: Paypal Recurring Payments? Any experience? Any alternatives?

2014-03-31 Thread Greg Vaughan
Check out Stripe... https://stripe (dot) com/ Massimo has a library created here and there is some support in the docs... On Monday, 31 March 2014 19:57:14 UTC+10, Mika Sjöman wrote: Hi I wonder if anyone here has implemented recurring payments with Paypal here with Web2py? Any experience

[web2py] Integrating Stripe with the gluon/contrib/stripe.py usage and template examples

2014-03-26 Thread Greg Vaughan
So i am trying to implement a stripe payment page and using the examples in the current gluon/contrib/stripe.py I cut and pasted the Template into a page with the default controller to see how it went but it failed first up with a global name not defined error on pk=PUBLISHABLE_KEY_GOES_HERE.

[web2py] Stripe example from book out of date

2014-03-24 Thread Greg Vaughan
Just to inform that the example here does not work with Stripe V3 (current) The script reports that the payments are accepted (provided you supply valid currency and date arguments) however they are not received at the stripe end. (they do not show in the stripe console log file.) Was hoping

[web2py] Re: Question on linking fields

2014-02-18 Thread Greg Vaughan
Hi Jim That was exactly what I needed thanks so much. Works perfectly. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because

[web2py] Question on linking fields

2014-02-16 Thread Greg Vaughan
Hi everyone... Linked tables like... db.define_table('calls', Field('business', 'string'), ... and db.define_table('leads', Field('business', 'reference calls'), ... with controller containing def calls(): form = SQLFORM(db.calls) if form.process().accepted:

[web2py] Masking User Input

2014-02-05 Thread Greg Vaughan
Hi everyone, Building a series of telemarketing and sales forms for a friends company to use. Looking to utilise an input mask such as the one mentioned in this post. https://groups.google.com/forum/#!searchin/web2py/form$20input$20mask$20jquery/web2py/zRt9whk6y68/3jqiiRII9QYJ and wanted

[web2py] Re: Important New Year News: Edison Award

2014-01-18 Thread Greg Vaughan
Congratulations... and a big thank you also... I have just found web2py and absolutely amazed at how brilliant it is On Saturday, 4 January 2014 14:08:38 UTC+10, Massimo Di Pierro wrote: Web2py/me have been nominated for the Edison Award. Please wish web2py (and me) good luck. :-) --

[web2py] Crud Permissions

2013-02-14 Thread Greg
in as a user in the editor group and visit http://127.0.0.1:8000/testapp/default/data/create/person I get a Not authorized ACCESS DENIED message. Should I be setting up my auth_permission differently, or maybe use another decorator? Thanks is advance for any help. Greg -- --- You received

[web2py] Re: Possible bug with a referenced field?

2012-02-28 Thread Greg Sier
Confirming that we've come across the same issue lately ... On Feb 29, 11:42 am, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Can you show us the code so I can reproduce the behavior and fix it (if a bug, as it looks like). On Feb 28, 4:47 pm, Tsvi Mostovicz ttm...@gmail.com wrote:

[web2py] Re: Current status of adapting OrientDB for web2py

2012-02-15 Thread Greg Sier
+1 on this. It's in our 2 year plan for a major client. On Feb 16, 6:48 am, TheSweetlink yanosh...@gmail.com wrote: Hello, I have been using OrientDB and web2py quite successfully for some months now. While there are many great projects and efforts to combine these powerful programs, I do

[web2py] Re: OFF Topic - Business inteligence in Python, web2py?

2012-02-15 Thread Greg Sier
or OLAP tools i.e. Mondrian forks such as Pentaho, Jasper, JPivot. Most are written in java. On Feb 16, 8:24 am, Ross Peoples ross.peop...@gmail.com wrote: I think he means reporting functions like Crystal Reports or SQL Server Reports.

[web2py] Re: running web2py on Android?

2011-02-21 Thread Greg
I'm trying to get this working. I followed the suggestion in the link you provided and added the following after the logging module is imported: logging.logMultiprocessing = False And I got a little farther than the previous poster. I can pull up the admin interface using the android browser,

[web2py] Re: Alternative Auth Fields (not additional ones)?

2010-12-17 Thread Greg
Thank you, that does work. On Dec 17, 11:54 am, DenesL denes1...@yahoo.ca wrote: Try setting db.auth_user.last_name.requires=[] in your model after auth is defined or in your action before the form. On Dec 17, 12:44 am, Greg greg.kr...@gmail.com wrote: Hello, When my users

[web2py] Alternative Auth Fields (not additional ones)?

2010-12-16 Thread Greg
last_name.readable, writeable, and required to False, but it still requires the field. I realize they are largely hard-coded, but is there any way around the built-in auth table requirements without breaking things? Thanks, greg

[web2py] Autoroutes redirecting to web2py website

2010-12-07 Thread Greg
anyone have any idea what's going on here? Why am I not seeing my local web2py server? Thanks for any help. greg

[web2py] Re: Autoroutes redirecting to web2py website

2010-12-07 Thread Greg
Ah, ok. That did it. Thanks! On Dec 7, 5:46 pm, Jonathan Lundell jlund...@pobox.com wrote: On Dec 7, 2010, at 3:39 PM, Greg wrote: I'm playing around with the new autoroutes, but it's not working how I'd expect it to. I copied autoroutes.py from the trunk and put it at web2py/routes.py

[web2py] Re: Displaying Foreign Key

2010-03-23 Thread Greg
:}}    tr        td{{=e.events.event_date}}/tdtd{{=e.events.title}}/ tdtd{{=e.rooms.id}}/td    /tr {{pass}} /table These kind of programs read better if table names are singular. ;-) Massimo On Mar 22, 5:45 pm, Greg greg.kr...@gmail.com wrote: Hello! I have a view that lists some records

[web2py] Displaying Foreign Key

2010-03-22 Thread Greg
Hello! I have a view that lists some records (events), one of the fields (events.room_id) is a foreign key. When i display these records I want to display rooms.name, not events.room_id. Can someone give me a nudge (or swift kick) in the right direction on how to do this? I suspect a join of some

[web2py:28939] Re: python.exe processes

2009-08-19 Thread Greg
-h On Thu, Aug 13, 2009 at 2:44 PM, Fran francisb...@googlemail.com wrote: On Aug 13, 5:51 pm, Greg gdwar...@gmail.com wrote: After running a web2py app for several minutes on my local machine, I noted that 13python.exeprocesses have been started in Windows consuming about 90MB

[web2py:28524] python.exe processes

2009-08-13 Thread Greg
After running a web2py app for several minutes on my local machine, I noted that 13 python.exe processes have been started in Windows consuming about 90MB. Is that to be expected? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[web2py:24795] Re: Architecture question: can I use Web2py template engine to generate emails?

2009-06-23 Thread Greg
I'm trying to do this from the web2py shell, and I get the following error: response.render('default/index.html2',context=dict(message=hello)) Traceback (most recent call last): File console, line 1, in module File /home/gwarner/web2py/gluon/globals.py, line 128, in render

[web2py:17192] Re: Alternate View

2009-03-01 Thread Greg Fuller
Thanks for the suggestion, but I really don't want to do that if it's the kind of redirection that makes a round trip through the client. On Mar 1, 1:51 am, weheh richard_gor...@verizon.net wrote: I suppose you could always redirect. --~--~-~--~~~---~--~~ You

[web2py:17196] Re: Alternate View

2009-03-01 Thread Greg Fuller
% (request.controller, request.function) Change the value of this variable to modify the view file associated with a particular action. 2009/3/1 annet jmverm...@planet.nl Greg, As far as I know the following code solves your problem: def index():    if condition

[web2py:17230] Distribution with PIL

2009-03-01 Thread Greg Fuller
on the Linux platforms I've deployed on (like webfaction). If I'm reading the PIL license correctly on pythonware.com, it can be distributed. So, are there any technical difficulties or licensing reasons why a PIL binaries should not be included in a distribution? Thanks, --greg

[web2py:17232] Re: Distribution with PIL

2009-03-01 Thread Greg Fuller
be included as an experimental capability or something. --greg-- On Mar 1, 10:52 am, mdipierro mdipie...@cs.depaul.edu wrote: I agree with you that PIL is very useful. The issue is we need to draw a line somewhere. Lots of people need additional packages and we cannot include them all. After

[web2py:17246] Re: Custom Template Tags

2009-03-01 Thread Greg Fuller
:58 am, 姚国荣 map...@gmail.com wrote: http://yao.appspot.com/init/default/showblogpost/3016 2009/3/1 Greg Fuller gregf...@gmail.com Nice; thanks! On Feb 28, 10:44 pm, mdipierro mdipie...@cs.depaul.edu wrote: Mind that you can also define functions in templates. For example

[web2py:17247] Re: Really irritating loss of code

2009-03-01 Thread Greg Fuller
I've only been hanging around here a short time, but this is not the first time I've seen Massimo make a patch while the thread is still fresh. Just skip the ticket why don't you. Impressive. On Mar 1, 11:39 am, mdipierro mdipie...@cs.depaul.edu wrote: Hi Boris, Your patch is in trunk with

[web2py:17253] Re: Distribution with PIL

2009-03-01 Thread Greg Fuller
:05 PM, Greg Fuller gregf...@gmail.com wrote: IMHO, I would be a great benefit to web2py to have PIL included if it could be done with good success rate - not even 100%.  Maybe it could initially be included as an experimental capability or something. Massimo is right with his arguments

[web2py:17258] Re: Distribution with PIL

2009-03-01 Thread Greg Fuller
True enough. Could probably do a plugin which would test for the environment, import as, etc. Then the work could still be shared without loading down the base. But darnit, I was hoping all 842 members would raise their voices in unison for this idea. :) --greg-- On Mar 1, 2:15 pm, Yarko

[web2py:17262] Re: Distribution with PIL

2009-03-01 Thread Greg Fuller
the import tools in python to get PIL, for example.  But in linux distros almost always have packages to handle this stuff.  You may get an uproar if you skipped the distros way of installing new python libraries. Regards, Jason On Sun, 2009-03-01 at 12:30 -0800, Greg Fuller wrote: True enough

[web2py:17275] Re: Distribution with PIL

2009-03-01 Thread Greg Fuller
this -- but if easy_install depends on the right compilers being available for non-pure-python packages, then the easy_install solution might be iffy at best. --greg-- On Mar 1, 5:22 pm, mdipierro mdipie...@cs.depaul.edu wrote: I think what we really need is package easy_install with web2py

[web2py:17173] Custom Template Tags

2009-02-28 Thread Greg Fuller
, --greg-- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py Web Framework group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr

[web2py:17172] Custom Template Tags

2009-02-28 Thread Greg Fuller
, --greg-- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py Web Framework group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr

[web2py:17175] Re: Custom Template Tags

2009-02-28 Thread Greg Fuller
Oh my, I see you can put any python code in a template. I'm not used to this flexibility (except for a little time with mako). Now I just need to figure out scoping for the external functions I want to call. On Feb 28, 6:26 pm, Greg Fuller gregf...@gmail.com wrote: How can custom template tags

[web2py:17183] Re: Custom Template Tags

2009-02-28 Thread Greg Fuller
) and include it {{include 'aux.html'}} You would then use it with {{link('http://www.web2py.com'}} Massimo On Feb 28, 9:26 pm, Greg Fuller gregf...@gmail.com wrote: Oh my, I see you can put any python code in a template. I'm not used to this flexibility (except for a little time with mako

[web2py:17186] Alternate View

2009-02-28 Thread Greg Fuller
, --greg-- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py Web Framework group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr

[web2py:17188] Re: Documentation - Scaffold application

2009-02-28 Thread Greg Fuller
I installed it and gave it a quick look. Nice. This could be a really productive way to start apps. Thanks for sharing this. What needs to be done still? --greg-- On Mar 1, 1:32 am, Alexandre Miguel de Andrade Souza alexandrema...@gmail.com wrote: To easy of use and help in documentation, I

[web2py:17061] Re: Critical point in web2py

2009-02-27 Thread Greg Fuller
of which are selectively migrated to sphinx. Keep the changes due to new releases in sphinx only. Just asking. --greg-- On Feb 27, 6:53 am, chris p chrispri...@gmail.com wrote: I've been mostly lurking, but would like to offer a few comments... reST to HTML is very straightforward

[web2py:17026] Re: Critical point in web2py

2009-02-26 Thread Greg Fuller
Just a few notes: Sphinx is not part of Trac. Django uses Sphinx -- docs.djangoproject.com is a Sphinx site. The organizational and cross-referencing capabilities of Sphinx outshine any Wiki. Documentation organized by a wiki often becomes jumbled and disorganized. However, a wiki is a good

[web2py:17027] Documentation

2009-02-26 Thread Greg Fuller
. Wiki documentation usually gets badly disorganized over time. Wiki's are better for multiple contributors. If you use a wiki that supports restructured text, you can collect the docs from multiple contributors in a wiki , and then much more easily move the docs to Sphinx. --Greg

[web2py:17029] Re: Documentation

2009-02-26 Thread Greg Fuller
Here is the django documentation, in restructured text, with some sphinx templates, in a svn repository, and referenced by trac: http://code.djangoproject.com/browser/django/trunk/docs On Feb 26, 7:03 pm, Greg Fuller gregf...@gmail.com wrote: Hi Everyone, I was following the thread

[web2py:17032] Re: Critical point in web2py

2009-02-26 Thread Greg Fuller
An important distinction: 1. http://docs.djangoproject.com is a Sphinx site. 2. http://code.djangoproject.com/browser/django/trunk/docs is the sphinx documentation in an svn repository referenced through Trac. It holds the restructured text and Sphinx templates. HTH, Greg On Feb 25, 9:00 am