I hope this is not too low level. In
http://web2py.com/book2/default/chapter/03#A-Wiki
Lines 1-6 of the complete model are repeats of lines contained in
the scaffolding model:
db = DAL('sqlite://storage.db') #repeat (almost) - db = DAL('sqlite://
storage.sqlite')
from gluon.tools import *
Hi folks,
I'm trying to run web2py using the IPython shell on my Windows 2000
machine. I have regular Python and IPython working on my machine. I
know that web2py.exe use it's own version of python. Here are the
sys.paths for each python (regular and web2py):
pp.pprint(w2p_path)
For both local and remote machine, the Controllers and Views are
identical:
***BUT*** On the local machine I get this ERROR response
Traceback (most recent call last):
File gluon/restricted.py, line 178, in restricted
File C:\web2py\applications\mobyjoe/views\default/showLists.html,
line 42,
have an old web2py version.
On Nov 19, 11:01 am, JoeCodeswell joecodesw...@gmail.com wrote:
For both local and remote machine, the Controllers and Views are
identical:
***BUT*** On the local machine I get this ERROR response
Traceback (most recent call last):
File gluon
I tried [twice] to upgrade using the upgrade now button in the
site page of the administrative interface:
from: Version 1.81.5 (2010-07-22 23:56:21)
to: Version 1.89.4 (2010-11-19 02:50:05)
on: Windows 2000
result: unable to upgrade because
[Errno 13] Permission
Here's how I just upgraded to Version 1.89.5 on webfaction. It seemed
to work.
'wp' is the name of my webFaction-application-directory which
contains:
$ tree -L 2
.
|-- apache2
| |-- bin
| |-- conf
| |-- lib
| |-- logs
| `-- modules
|-- bin
|-- htdocs
| `-- index.py
|-- lib
| `--
Regarding http://web2py.com/book/default/docstring/MENU
The arguments to the MENU function were highlighted and when I clicked
on them I got invalid request from the target URL==http://
www.web2py.com/book/default/docstring/%5Bsubmenu
I'm not sure if there was supposed to be a link on this or
Dear web2py users,
I am trying to use the Wing IDE with web2py. I am following the
instructions at http://www.wingware.com/doc/howtos/web2py which say in
part:
-to debug web2py code, you need the web2py sources. Download and
unpack these...
-add the following path under Python Path:
Thanks, Anthony.
Love and peace,
Joe
On Jan 22, 3:04 pm, Anthony abasta...@gmail.com wrote:
On Saturday, January 22, 2011 5:45:13 PM UTC-5, JoeCodeswell wrote:
Dear web2py users,
I am trying to use the Wing IDE with web2py. I am following the
instructions athttp://www.wingware.com/doc
Dear web2py users,
The Book twitter post recipe has errors. I know about 2 of them. I
could use some help with the last one.
Here is the code from the book in chapter 12.
def post_tweet(username,password,message):
import urllib, urlib2, base64
import gluon.contrib.simplejson as sj
Dear Michele and Caleb,
Thanks SO MUCH for the great responses.
Love and peace,
Joe
On Jan 25, 2:07 am, cjrh caleb.hatti...@gmail.com wrote:
On Jan 25, 9:26 am, JoeCodeswell joecodesw...@gmail.com wrote:
should be
import urllib, urllib2, base64
Fixed.
should be
req
Dear web2py users,
I am developing a website that will have many features, some of which
are not yet specified by my client. Therefore and for other reasons, I
would like to develop it in a modular fashion.
Should I base my website on a web2py site with a single application,
with modularity
Dear web2py folks,
I just re upgraded web2py using:
wget -q http://www.web2py.com/examples/static/web2py_src.zip
The current version is shown to be:
Version 1.99.4 (2011-12-14 14:46:14) stable
Running on Apache/2.2.17 (Unix) mod_wsgi/3.3 Python/2.7.1
I can't create a new application from the
chown -R www-data:www-data *
or you do have it already (perhaps a file under applications with that
name?)
On Feb 28, 1:19 pm, JoeCodeswell joecodesw...@gmail.com wrote:
Dear web2py folks,
I just re upgraded web2py using:
wget -qhttp://www.web2py.com/examples/static/web2py_src.zip
This new look that Google Groups has implemented is seriously debilitating
for a borderline dyslexic like me.
Also the AJAX panel sizing is not working on my Chrome/WinXP system.
Could this be a sign that web2py needs to eat the food it cooks and
implement its own web2py-users forum?
PS
Dear Annet,
Thanks for the reply. I am now logged in using Opera/WinXP. The left panel
NOW stays closed so i think that's a Chrome problem.
However, for me, there is still a readability issue and also there is the
issue/benefit of eating the food you prepare.
Of course Google has been a
sent a couple
of messages to Google on this subject - to no avail. Do you have any
suggestions about reversion?
Thanks again, Jonathan.
Love and peace,
Joe
On Saturday, April 21, 2012 10:30:22 AM UTC-7, Jonathan Lundell wrote:
On Apr 21, 2012, at 9:24 AM, JoeCodeswell wrote:
This new
Hi Anthony,
Thanks for the reply. I am glad we can make the ability to add our own
tags. Maybe if the administrators added a meta tag, i'd be happy with
taking the suggestions. Maybe I'll get used to this font. All these things
happening at once, really set me off. :) At least the AJAX is
, JoeCodeswell wrote:
Good point, lots of work - spam, etc.. I tried to find out how to revert,
but when i click on the Google Groups Gear icon, where there WAS a revert
option before, it has now disappeared. At least one page i went to in
Google help said it is NOT possible to revert anymore. I have
should have welcome.w2p*
Happy Easter!
Noel Villamor
On Sunday, 6 March 2011 09:54:19 UTC+13, Jonathan Lundell wrote:
On Mar 5, 2011, at 12:07 PM, Jonathan Lundell wrote:
On Mar 5, 2011, at 11:35 AM, JoeCodeswell wrote:
Something like you, Christopher, suggested was also suggested
This is a continuation of the web2py still unable to create application on
WebFactionhttps://groups.google.com/forum/#!searchin/web2py/welcome.w2p/web2py/5eM4OTq-K1Q/Eru0UlZ8bs0J
topic.
When creating a new simple app from the web admin interface i get unable
to create application newapp (it
, 2012 7:53:47 PM UTC-7, Massimo Di Pierro wrote:
cd web2py
echo '' NEWINSTALL
then web2py will create a welcome.w2p for you.
On Thursday, 7 June 2012 20:47:02 UTC-5, JoeCodeswell wrote:
This is a continuation of the web2py still unable to create application
on
WebFactionhttps
Dear Webfacton Support and web2py-users Google Group,
ref: web2py-users Google Group thread Unable to create
application on WebFaction the link is in the text below.
I just made a flurry of webfaction tickets about memory usage and
upgrading my account. Actually doing an upgrade.
This was
Dear Christopher and All,
Something like you, Christopher, suggested was also suggested by the
Webfaction Support folks. This suggestion worked for me, after I had
investigated some other possibilities.
You can read my blog post on this subject, Fixing my my web2py is
unable to create a new
Dear web2py folks,
I am having trouble creating a static file on the fly.
Here is the code in dnload_file/controllers/default.py.
def make_dl():
myurl = URL('static', 'excel.txt')
f = open(myurl,'w')
for i in range(20):
f.write('This is a test %2s\n'%(i))
f.close()
19, 8:25 am, Anthony abasta...@gmail.com wrote:
On Thursday, January 19, 2012 11:12:53 AM UTC-5, JoeCodeswell wrote:
Dear web2py folks,
I am having trouble creating a static file on the fly.
Here is the code in dnload_file/controllers/default.py.
def make_dl():
myurl = URL
Dear web2py folks,
I am trying to force the download of a a file named
'allLists.xls.enc'. using '?attachment' after the URL.
I am getting similar errors from Firefox and Opera: Firefox doesn't
know how to open this address, because the protocol (e) isn't
associated with any program.
Here is
Dear Anthony,
Big thanks. Works great.
Love and peace,
Joe
On Jan 19, 7:29 pm, Anthony abasta...@gmail.com wrote:
On Thursday, January 19, 2012 10:18:24 PM UTC-5, JoeCodeswell wrote:
Dear web2py folks,
I am trying to force the download of a a file named
'allLists.xls.enc'. using
Dear Plumo,
Here's my use case(s). Easily developing single user GUI apps with
HTML as the GUI framework and the easily programmable Python back end
of web2py being able to access Android System Resources outside the
sandbox.
I would REALLY like it if there could be an Binary Executable
Dear web2py folks,
In the book it says in /chapter/29/9#Authentication:
In Auth, by default, email verification is disabled. To enable email,
append the following lines in the model where auth is defined:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
for the great documentation and for caring
about it.
Love and peace,
Joe
On Monday, August 13, 2012 6:09:46 PM UTC-7, JoeCodeswell wrote:
Dear web2py folks,
In the book it says in /chapter/29/9#Authentication:
In Auth, by default, email verification is disabled. To enable email
Dear Anthony,
Thanks for the clarifications and the bug fix.
Love and peace,
Joe
On Monday, August 13, 2012 6:09:46 PM UTC-7, JoeCodeswell wrote:
Dear web2py folks,
In the book it says in /chapter/29/9#Authentication:
In Auth, by default, email verification is disabled. To enable
Dear web2py Book Team,
In chapter/29/7#SQLFORM where it is explaining the arguments of the SQLFORM
function, the *buttons *argument doesn't have its name in front of its
explanation.
Love and peace
--
auth.settings.register_onaccept.append(lambda form:\
mail.send(to='y...@example.com',subject='new user',
message='new user email is %s'%form.vars.email))
Above causes a ticket saying:
auth.settings.verify_email_onaccept(lambda form:\
TypeError: 'list' object is not callable
Dear web2py Group,
I am running 2.0.8 on win xp.
I created a new simple app named forms.
I added some tables to models/db.py
I added the following lines to controllers/default.py
from gluon.tools import Crud
crud = Crud(db)
def data(): return dict(form=crud())
When I navigate to
I have gone one more step in trying to isolate the problem. Given the
existence of models/[menu.py, db.py] in the previous post, when
default-fail.py is copied to controllers/default.py, the sub-menus DO NOT
show up when hovered over.
However, when default-welcome209.py is copied to
On my Ubuntu 12.04 LTS machine here's what i did so far.
1. from https://github.com/web2py/web2py/ i downloaded the ZIP for commit
722b16e620 authored 12 hours ago.
2. unzipped it to my home directory. The directory structure for
~/web2py-web2py-722b16e is
applications
deposit
On Tuesday, September 25, 2012 9:59:42 AM UTC-7, JoeCodeswell wrote:
On my Ubuntu 12.04 LTS machine here's what i did so far.
1. from https://github.com/web2py/web2py/ i downloaded the ZIP for commit
722b16e620 authored 12 hours ago.
2. unzipped it to my home directory. The directory
giorno martedì 25 settembre 2012 19:20:18 UTC+2, JoeCodeswell ha
scritto:
--
copy the welcome app folders views and static of 1.99.2 over the
app you are developing on 2.0.9 .
On Thursday, September 27, 2012 11:16:21 PM UTC+2, JoeCodeswell wrote:
Dear web2py folks,
Here's one last thing. I have one more windows XP SP3 machine. It has a
web2py [Version 1.99.2 (2011
Dear Paolo,
You said:
I tested my layout.html in several Windows scenarios (windows7, windowsXp
sp3) with several browsers...
I am not sure I was clear about the fact that the *Small Viewport Problem *was
*NOT on my Windows machine*. It *WAS on my Ubuntu machine*. On my windows
machine,
settembre 2012 23:38:26 UTC+2, JoeCodeswell ha
scritto:
Dear Niphlod,
Thanks for the suggestion. I'll try that.
I also answered my own question about where are the old versions. The
last 1.99.x version looks to be 1.99.7 and is found
herehttp://code.google.com/p/web2py/source/browse
Dear web2py folks,
I created myapp on webfaction and demonstrated it to my prospective client.
Then i wanted to make a dev copy on my windows machine so:
1. I created myapp on windows. Both windows and webfaction are running
web2py version 2.2.1 stable from source, db =
,
Joe
On Thursday, December 6, 2012 10:23:54 AM UTC-8, JoeCodeswell wrote:
Dear web2py folks,
I created myapp on webfaction and demonstrated it to my prospective
client. Then i wanted to make a dev copy on my windows machine so:
1. I created myapp on windows. Both windows and webfaction
Dear Niphlod,
Thanks for the reply.
appadmin.py ships with the application, so if you really copied the
controllers folder you'd have the same file.
Of course you are right. I only copied the files i [thought i] had changed.
That's why i was surprised to find that
appadmin.py.windows
- it returned to the login page without comment.
OK so I think I still need some help with fixing CRYPT differences
between Windows and Linux.
Thanks in advance.
Love and peace,
Joe
On Thursday, December 6, 2012 4:34:23 PM UTC-8, JoeCodeswell wrote:
Dear Niphlod,
Thanks for the reply
page without comment.
Thanks for the help in advance.
Love and peace,
Joe
On Saturday, December 8, 2012 11:18:58 AM UTC-8, JoeCodeswell wrote:
Hi Niphlod,
Here is my report on your suggestion:
BTW3: to pass around an app just log into admin and hit create package
(or tar.gz the entire
of the auth_user records
along with the unencrypted password)
With those, we could easily reproduce the behaviour (i.e. trying to login
in the app with the password with exactly your auth_user records) and see
what is going on
On Saturday, December 8, 2012 8:18:58 PM UTC+1, JoeCodeswell
on the key
stores in private/auth.key and I do not know what that is.
On Saturday, 8 December 2012 14:26:25 UTC-6, JoeCodeswell wrote:
Sure, Niphlod. I didn't see your post before i posted my comment about my
local ubuntu machine which seems to behave like my local windows machine.
1. can we
creates auth.key.
This makes it easier sharing salted passwords between different
installations of web2py apps.
On Monday, 10 December 2012 13:26:55 UTC-6, JoeCodeswell wrote:
Thanks for the response, Massimo.
I have the auth.key. However, I am a bit concerned about publishing it
here
Lundell wrote:
On 12 Dec 2012, at 9:29 AM, JoeCodeswell joecod...@gmail.comjavascript:
wrote:
Dear Massimo,
When i tried to
db.auth_user.password.validators[0].salt = False
Here's what happened.
Try this instead: change CRYPT() to CRYPT(salt=False)
--
AM, JoeCodeswell joecod...@gmail.comjavascript:
wrote:
Thanks, Jonathan. Thanks, Massimo.
Web2py is a GREAT community.
Before we close this thread, I'd like to revisit the reason you were
having trouble in the first place. It shouldn't be necessary to use the
same (or no) salt
Dear web2py users,
While trying to work my way through smartgrid, i discovered that there are
2 Bugs in the web2py documentation [quick] Examples # 29. See:
https://www.web2py.com/examples/default/examples#database_examples
1. around line 11.
#BUG:
Field
Dear web2py,
I am working my way thru the ajax-live-search-auto-complete web2pyslice.
Instead of using inserts, i thought i'd use csv to populate the db. When i
upload, I get an error flash that says:
unable to parse csv file
near ): syntax error
BUT THERE'S NO ) right parenthesis in the
i am using Version 2.3.2 (2012-12-17 15:03:30) stable
sorry for no mentioning that before.
Love and peace,
Joe
On Friday, January 4, 2013 9:14:53 AM UTC-8, JoeCodeswell wrote:
Dear web2py,
I am working my way thru the ajax-live-search-auto-complete web2pyslice.
Instead of using inserts, i
Thanks for the help, Derek.
Love and peace,
Joe
On Friday, January 4, 2013 11:17:41 AM UTC-8, Derek wrote:
You need to have the column names in the first line of the csv.
On Friday, January 4, 2013 10:30:08 AM UTC-7, JoeCodeswell wrote:
i am using Version 2.3.2 (2012-12-17 15:03:30) stable
the two?
On Friday, 4 January 2013 13:36:25 UTC-6, JoeCodeswell wrote:
Hi Derek,
Thanks for the reply. I just tried these 2 csv's:
'iso','name','printable_name','iso3','numcode'
'UY','URUGUAY','Uruguay','URY','858'
'UZ','UZBEKISTAN','Uzbekistan','UZB','860'
'VU','VANUATU','Vanuatu','VUT
Strange.
I hope one of the web2py group managers can clear this up for me.
Thanks for the help in advance.
Love and peace,
Joe
On Friday, January 4, 2013 9:01:58 PM UTC-8, JoeCodeswell wrote:
Dear Massimo,
You asked:
What's the difference between the two?
*
*
*Answer:
*
*Double quotes
Dear Massimo,
Thanks for the reply.
Strange behavior indeed. O well. At least we all as individuals seem
communicate on this group clearly and respectfully.
Thanks for your leadership, Massimo.
Love and peace,
Joe.
On Friday, January 4, 2013 9:14:53 AM UTC-8, JoeCodeswell wrote:
Dear
last posts and commented that web2py
expects CSV in the Excel format and escaped strings are supposed to be
double quoted, not single quoted. This post somehow never appeared but
googlegroup told me it was posted.
Massimo
On Saturday, 5 January 2013 10:57:16 UTC-6, JoeCodeswell wrote
Dear web2py-users,
How can I get the SQLFORM in HTML example in book 5th Edition to work?
As far as i can tell i have copied the example VERBATIM.
In controllers/default.py :
def display_manual_form():
form = SQLFORM(db.person)
if form.process(session=None, formname='test').accepted:
, 2013 3:51:37 PM UTC-7, JoeCodeswell wrote:
Dear web2py-users,
How can I get the SQLFORM in HTML example in book 5th Edition to work?
As far as i can tell i have copied the example VERBATIM.
In controllers/default.py :
def display_manual_form():
form = SQLFORM(db.person
and peace,
Joe
On Monday, June 3, 2013 3:51:37 PM UTC-7, JoeCodeswell wrote:
Dear web2py-users,
How can I get the SQLFORM in HTML example in book 5th Edition to work?
As far as i can tell i have copied the example VERBATIM.
In controllers/default.py :
def display_manual_form():
form
/
/form
The above triggers a form accepted message and adds an entry to the db.
Thanks for the help, Massimo.
Love and peace,
Joe
On Monday, June 3, 2013 7:09:41 PM UTC-7, Massimo Di Pierro wrote:
On Monday, 3 June 2013 18:10:20 UTC-5, JoeCodeswell wrote:
Here's the link to the post i
point being made about GET vs POST methods.
Thanks for the help, Massimo.
Love and peace,
Joe
On Monday, June 3, 2013 3:51:37 PM UTC-7, JoeCodeswell wrote:
Dear web2py-users,
How can I get the SQLFORM in HTML example in book 5th Edition to work?
As far as i can tell i have copied
+1 for requirejs. My dyslexia :) *requires* :) i keep things modular, which
is why i love web2py.
On Monday, April 22, 2013 1:17:30 PM UTC-7, Niphlod wrote:
and ship 2 jquery.js AND require.js, and require that every plugin is made
requirejs compatible (and that every jquery plugin needs to
Dear web2py,
I recently tried to re-initialize the web2py admin password for my website,
joecodeswell.com , on Webfaction using CentOS 6 - 64bit.
I followed Alexandre Andrade's post
herehttps://groups.google.com/forum/#!topic/web2py/WEXWcAP52IY.
But i continually get invalid password.
Type help, copyright, credits or license for more information.
Does anyone know if the python version shown is compatible with a 64 bit
machine? I will ask them at WebFaction as well.
Thanks for the help.
Love and peace,
Joe
Joe
On Thursday, July 11, 2013 11:22:15 AM UTC-7, JoeCodeswell wrote
you use to connect and obviously
replace 123456 by you desired password...
Richard
On Thu, Jul 11, 2013 at 2:22 PM, JoeCodeswell
joecod...@gmail.comjavascript:
wrote:
Dear web2py,
I recently tried to re-initialize the web2py admin password for my
website, joecodeswell.com
Dear web2py Forum,
Often i find myself making View pages that are NOT derived from layout.html
and yet wanting to include *some *aspects of its capabilities.
I thought the web2py Component concept might help to deliver a modular
approach.
My initial thoughts would be to pair small CSS files
, November 9, 2013 10:52:49 AM UTC-8, JoeCodeswell wrote:
Dear web2py Forum,
Often i find myself making View pages that are NOT derived from
layout.html and yet wanting to include *some *aspects of its capabilities.
I thought the web2py Component concept might help to deliver a modular
Dear Web2py forum,
I can't find superfish.css in the application structure anymore. I think i
remember that web2py went through a menu overhaul.
Can someone please tell me the *minimum dependencies *for the new menus to
be rendered horizontally?
Thanks in advance.
Love and peace,
Joe
--
11 novembre 2013 20:12:11 UTC+1, JoeCodeswell ha scritto:
Dear Web2py forum,
I can't find superfish.css in the application structure anymore. I think
i remember that web2py went through a menu overhaul.
Can someone please tell me the *minimum dependencies *for the new menus
to be rendered
Dear Anthony and other discussants,
My original thought was JUST to *modularize *GUI entities at a more
granular level. I thought of Components [as in Microsoft land] and how
web2py has the Component concept. So i thought why not use it?
Then i discovered that according to the book, web2py
Dear Niphlod,
Thanks for the detailed response.
You said:
Yep, ajax is fun but having a page with 64 ...
Right, Niphlod. I am agnostic on implementing modular Component with Ajax.
Please see my previous post
herehttps://groups.google.com/d/msg/web2py/3NmrocjbwzM/dHWJaYrLFjoJin which i
say:
, November 12, 2013 12:29:38 PM UTC-8, JoeCodeswell wrote:
Dear Niphlod,
Thanks for the detailed response.
You said:
Yep, ajax is fun but having a page with 64 ...
Right, Niphlod. I am agnostic on implementing modular Component with Ajax.
Please see my previous post
herehttps
this? Is it a z
index thing?
Thanks again, Paolo.
Love and peace,
Joe
On Tuesday, November 12, 2013 7:30:17 AM UTC-8, JoeCodeswell wrote:
Dear Paolo,
Thanks for the GREAT DETAILED reply. You indeed sensed the meaning of my
original question which was related to my post - web2py Components
; padding:1px 1px 0 1px;
background:#eee; z-index:500px;}
and let me know if works.
Il giorno giovedì 14 novembre 2013 19:05:25 UTC+1, JoeCodeswell ha scritto:
Dear Paolo,
Your post has gotten me *very close* to what i want to achieve. However,
when i hover over a root menu item and then down
Dear Massimo,
Thanks for this. I am very interested in streaming audio with web2py.
However:
- When I implemented on my local server, the streaming players *seemed
to not appear* for uploaded .mp3 files.
- When I implemented on WebFaction, the streaming players *appear to
flash
Dear web2py Community,
There were problems for me as well, but now they cleared up. On winXpSp3, I
had my Firefox-25.0.1 opened while i did an extract into C:\web2py. So then
[as best as i remember]:
- I checked to see if the upgrade happened by refreshing the admin page.
*result*
Dear lucas,
Other updating problems analysis for 2.8.2 are at this post, admin app
killed!https://groups.google.com/forum/?fromgroups#!topic/web2py/43b6qpbx_Kc
.
Love and peace,
Joe
On Sunday, December 1, 2013 8:06:33 PM UTC-8, lucas wrote:
hey everyone,
i have been trying to update to
Dear web2py Community,
I am trying follow the book Edition 6 to customize the default layout,
changing colors and background
imageshttp://web2py.com/books/default/chapter/29/05/the-views#Customizing-the-default-layout
.
I'd like to change the navbar background and the [.header h1; .statusbar;
Dear Niphlod,
Thanks for the response. I DID get something going by FireBugging my page.
Here is what I came up with:
style
/*
// original from book SUCKS
body { background: url('images/background.png') repeat-x #3A3A3A; }
a { color: #349C01; }
.header h1 { color: #349C01; }
.header h2 {
in my comments meant only for myself. This has *no place in this Very
Supportive Community*.
*I apologize.*
Love and peace,
Joe
On Friday, December 6, 2013 8:05:08 AM UTC-8, JoeCodeswell wrote:
Dear Niphlod,
Thanks for the response. I DID get something going by FireBugging my page
2013 11:45:48 UTC-6, JoeCodeswell wrote:
Dear Niphlod and Community,
First, thanks Niphlod for putting me onto bootstrap
2.3.2http://getbootstrap.com/2.3.2/index.html.
This looks GREAT.
Finally, *I apologize* for using, what sometimes i *mistakenly think of *as
a technical term SUCKS
May the Lord bless you and your wonderful Framework and Community
magnificently, Massimo.
Love and peace,
Joe
On Friday, January 3, 2014 8:08:38 PM UTC-8, Massimo Di Pierro wrote:
Web2py/me have been nominated for the Edison Award. Please wish web2py
(and me) good luck. :-)
--
The Community is growing.
Congratulations, Massimo.
Love and peace,
Joe
On Wednesday, January 1, 2014 2:06:30 PM UTC-8, Massimo Di Pierro wrote:
Happy new year everybody,
some good news:
1) python is growing popularity
Dear web2py users group,
I am trying to generate an absolute URL using the URL helper to connect
with WordPress.com.
Here's the code:
wpcc_consts = {
client_id: '12345', #Joe's
redirect_uri: URL(f='connected', scheme='http', host=
'joecodeswell.com', url_encode=False),
# see
app.
Anthony
On Wednesday, April 23, 2014 11:11:45 AM UTC-4, JoeCodeswell wrote:
Dear web2py users group,
I am trying to generate an absolute URL using the URL helper to connect
with WordPress.com.
Here's the code:
wpcc_consts = {
client_id: '12345', #Joe's
redirect_uri: URL
urllib
query = urllib.urlencode(params)
And if you don't want the encoding:
query = urllib.unquote(query)
Anthony
On Wednesday, April 23, 2014 12:15:19 PM UTC-4, JoeCodeswell wrote:
Dear Anthony,
Thanks for the response.
Is this a web2py URL, or are you just trying to use the URL
the URL by hand. To build the query string, just do:
import urllib
query = urllib.urlencode(params)
And if you don't want the encoding:
query = urllib.unquote(query)
Anthony
On Wednesday, April 23, 2014 12:15:19 PM UTC-4, JoeCodeswell wrote:
Dear Anthony,
Thanks for the response
Dear web2py-users,
I have developed an example of a web2py app using the WordPress.com REST
API with OAuth2.
You can see it here
http://joecodeswell.wordpress.com/2014/05/02/web2py-to-wordpress-api-with-oauth2/
Thanks for A GREAT FRAMEWORK AND COMMUNITY.
Love and peace,
Joe
--
Resources:
Dear web2py Community,
What is a clear procedure [*dare i hope for a python script??*] to style
web2py css files using Bootstrap theme generators/choosers, like
bootswatch.com or stylebootstrap.info?
My motivation is merely to change the background-color of my navbar. I am
running
Dear LightDot and Ari,
Thanks for the responses. The situation is getting clearer in my mind.
I have some follow-on questions for LightDot. You said:
Details such as whether you need to replace just bootstrap.min.css (and
keep the original bootstrap-responsive.min.css) or replace the
- you
don't have to use the responsive features or even load the
bootstrap-responsive.min.css, it's optional.
Regards
On Friday, May 9, 2014 5:24:23 PM UTC+2, JoeCodeswell wrote:
Dear LightDot and Ari,
Thanks for the responses. The situation is getting clearer in my mind.
I have some
Alec Taylor said: I know, but it could also help suggest possible values
to search for
details on in the grid .
I agree, Alec. +1
Love and peace,
Joe
On Monday, May 27, 2013 8:36:25 PM UTC-7, Alec Taylor wrote:
I know, but it could also help suggest possible values to search for
details
Dear Richard,
Would you (and Jim) please post your sample code?
Thanks in advance.
Love and peace,
Joe
On Thursday, April 24, 2014 8:10:01 AM UTC-7, Richard wrote:
I am reading the sqlhtml.py search_widget...
So I would just pass my function (search widget) like that :
SQLFORM.grid(...,
https://lh3.googleusercontent.com/-KB-DKKw4Z0I/U6W30JqtjtI/AIA/odunfsgC47s/s1600/grid_commit.png
Dear web2py Community,
Does SQLFORM.grid editable=True require an *explicit* db.commit()?
I did a search for commit on the book page
Thanks, Niphlod. I got it working with a custom search widget.
BTW, the original post got a bit garbled when i edited it. Sorry about that.
Thanks again, Niphlod.
Love and peace,
Joe
On Saturday, June 21, 2014 11:46:04 AM UTC-7, Niphlod wrote:
try simplifying the controller stripping the
Dear web2py-users,
Kudos to the person that wrote the book section Blocks in views.
The use of an illustrative, simple example, oriented toward the web
developer was easy to understand and customize in a short amount of time.
Thanks very much.
Love and peace,
Joe
--
Resources:
-
1 - 100 of 128 matches
Mail list logo