XML(''.join(['A','B','C']))
On Wed, Nov 11, 2009 at 3:40 PM, Mark Larsen wrote:
>
> How can I get my view to not encode my html.
>
> For example if I do:
>
> ''.join(['A','B','C'])
>
> I get:
>
> AB | C
>
> I want:
>
> ABC
>
> Thanks!
>
> >
>
--~--~-~--~~~
I haven't used Twill for screen scraping or parsing, but I do use it
extensively for functional testing (and unit testing, actually) of
web2py apps.
But for scraping, I could see how you could use Twill's python API to
go to a page, login, and call show() to get back the html for a page
(which yo
I have been using Mechanize (http://wwwsearch.sourceforge.net/
mechanize/) recently and found it useful. Do you know how Twill and
Mechanize compare? My impression was Twill is a high level wrapper
around Mechanize, which makes it suitable for basic tasks, but the
larger Mechanize API is necessary
How can I get my view to not encode my html.
For example if I do:
''.join(['A','B','C'])
I get:
A | B | C
I want:
ABC
Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
T
perhaps integrate it with this:
http://code.google.com/p/web2py/source/browse/trunk/scripts/layout_make.py
It takes an html template with css and makes a web2py layout. It would
be nice to make a "camelion" app that make web2py look like the site
at a given url, at the click of a button.
Ideall
I create a sqlform who contains a multicombo, and i also using the
slyce of the
"add link", thanks a lot for those things, however when i want to
include this into the appadmin controler, i have an error.
Instead of appearing in the multicombo boxes appears another form.
On Nov 9, 10:35 am, mdip
Hey guys,
I've been studying up on working with scraping/parsing and remote
logins for sites that don't have APIs and I came across Twill.
Have any of you used it to automate things like login and screen/html
parsing?
It would be nice to be able to login to a remote site via a model/
controller
Is this what you mean?
Models
db.py
db_news.py
db_wiki.py
Controllers
/default.py
/news.py
/wiki.py
On Nov 9, 1:22 pm, eggy_ wrote:
> I don't "need" it as such, but I want to group certain related parts
> of the web application that don't necessarily need to be in the same
> controller. Thi
I would take some help in adding internationalization and improving/
testing the fullcalendar capabilities. Also need to add search by
tag.
On Nov 11, 3:23 pm, mdipierro wrote:
> oops. sorry. try again.
>
> On Nov 11, 2:10 pm, Thadeus Burgess wrote:
>
> > I bzr branched the C.R.M.
>
> > It cont
oops. sorry. try again.
On Nov 11, 2:10 pm, Thadeus Burgess wrote:
> I bzr branched the C.R.M.
>
> It contains no views for plugin_tags? Should it?
>
> -Thadeus
>
> On Wed, Nov 11, 2009 at 1:18 PM, mdipierro wrote:
>
> > This app is the best example to date of use of web2py and plugins.
> > A g
from 0 to web2py+postgresql+apacge2+mod_wsgi+ssl+postfix in a couple
of seconds.
On ubuntu just run this script and it will:
1) install all necessary packages
2) download and install web2py
3) download and install postgresql, apache2, mod_wsgi, postfix
4) create a self-signed certificate
5) wri
I bzr branched the C.R.M.
It contains no views for plugin_tags? Should it?
-Thadeus
On Wed, Nov 11, 2009 at 1:18 PM, mdipierro wrote:
>
> This app is the best example to date of use of web2py and plugins.
> A good place to start learning. It uses a lot of new syntax. It is
> clean.
> It con
And your the only one who knows the depths of this plugin system :)
-Thadeus
On Wed, Nov 11, 2009 at 1:40 PM, Thadeus Burgess wrote:
> Yes, I was hoping for more of a plugin developer perspective instead of
> plugin user perspective.
>
> -Thadeus
>
>
>
>
>
> On Wed, Nov 11, 2009 at 1:13 PM, m
Yes, I was hoping for more of a plugin developer perspective instead of
plugin user perspective.
-Thadeus
On Wed, Nov 11, 2009 at 1:13 PM, mdipierro wrote:
>
> I assume you have seen this:
> http://www.vimeo.com/7182692
>
> I agree we need something better.
>
> On Nov 11, 12:44 pm, Thadeus B
This app is the best example to date of use of web2py and plugins.
A good place to start learning. It uses a lot of new syntax. It is
clean.
It contains less than 2500 lines of code (python + html including
layout).
It was developed during my last lecture at DePaul IPD.
Massimo
On Nov 11, 11:18
I assume you have seen this:
http://www.vimeo.com/7182692
I agree we need something better.
On Nov 11, 12:44 pm, Thadeus Burgess wrote:
> Ok I'm starting to like your plugin system Massimo.
>
> What are the chances we can get a in depth document/tutorial on *developing*
> plug-ins, including ar
Ok I'm starting to like your plugin system Massimo.
What are the chances we can get a in depth document/tutorial on *developing*
plug-ins, including architecture, how LOAD works, etc etc.
-Thadeus
On Wed, Nov 11, 2009 at 12:09 PM, villas wrote:
>
> That's a really great little app.
> Nice l
it should do both. you are right.
On Nov 11, 12:20 pm, "mr.freeze" wrote:
> Why does the default auth.settings.table_user use IS_NOT_IN_DB for
> enforce uniqueness on the email field instead of unique=True? I'm
> curious because the example on creating your own auth table in the
> book uses uniq
Why does the default auth.settings.table_user use IS_NOT_IN_DB for
enforce uniqueness on the email field instead of unique=True? I'm
curious because the example on creating your own auth table in the
book uses unique=True (which obviously enforces at the db level
instead of at the form level).
--~
That's a really great little app.
Nice layout and I prefer the top corner flash too.
Thanks for sharing!
D
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web
On Nov 11, 2009, at 10:01 AM, DenesL wrote:
>
>
> On Nov 11, 12:08 pm, Jonathan Lundell wrote:
>> On Nov 11, 2009, at 9:04 AM, DenesL wrote:
>>
>>> You are welcome.
>>> Is all the errata in one place? any volunteers otherwise?.
>>
>> http://wiki.web2py.com/Errata_for_web2py_2nd_Edition_Book
On Nov 11, 12:08 pm, Jonathan Lundell wrote:
> On Nov 11, 2009, at 9:04 AM, DenesL wrote:
>
> > You are welcome.
> > Is all the errata in one place? any volunteers otherwise?.
>
> http://wiki.web2py.com/Errata_for_web2py_2nd_Edition_Book
I knew of that one but I believe there is more scattered a
Are you looking for something like the dojo edit combo?
-Thadeus
On Wed, Nov 11, 2009 at 8:41 AM, Sophie wrote:
>
> There is a way to have an editable combo in web2py? but i want to
> define this in the model, so i can have my combo, and find words in
> there with an autocomplete function.
>
I like it because it is a compiled language. If it becomes cross-platform
without need for an interpreter to be installed, I think it would be a
awesome language. But for now it seems to only compile for linux.
-Thadeus
On Wed, Nov 11, 2009 at 8:17 AM, Timbo wrote:
>
> Another language?
>
>
Please add Firebird to list, thanks! D
FIREBIRD
spec: For DECIMAL(P,S), Precision must be from 1 to 18. Precision >=
Scale
create: CREATE TABLE foo( bar decimal(10,4) ) i.e. This allows:
pp.
--~--~-~--~~~---~--~~
You received this message because you
YOu need to install the python mysql drivers.
apt-get install python-mysql
-Thadeus
On Wed, Nov 11, 2009 at 4:16 AM, Pepe wrote:
>
> Hi,
>
> I recently installed "mysql-python" in my account on "Dreamhost" and
> changed my sqlite connection to mysql:
>
> before: db = DAL('sqlite://storage.s
http://www.google.com/search?q=ssh+port+forwarding&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-US:official&client=firefox-a
-Thadeus
On Wed, Nov 11, 2009 at 12:03 AM, Pepe wrote:
>
> Hi!
>
> I need to manage the application I installed on "Dreamhost", but I do
> not have ssl.
>
> Anyone could
Does this work for you for 1.72.3?
mail.settings.server='gae'
It does not seem to work for me but does not give me any error either.
Massimo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
You can see it in action at
http://web2py-crm.appspot.com
On Nov 11, 10:54 am, Massimo Di Pierro
wrote:
> How to use it:
>
> 1) import the plugin in your app using the latest admin (1.72.3)
> 2) in your views include
>
> {{=tag('mytable',45)}}
>
> It will create a tagging widget (that uses
Yes.
Set the auth.expiration to something very long (in seconds) and expire
session yourself:
if auth.user and auth.last_visit:
expiration =
if auth.last_visit + datetime.timedelta(days=0,expiration)<
request.now:
auth.user = None
session.auth = None
where expiration is t
Sorry. Fixed. Here is (as a demo) running on GAE:
http://web2py-crm.appspot.com/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To
On Nov 11, 2009, at 9:04 AM, DenesL wrote:
> You are welcome.
> Is all the errata in one place? any volunteers otherwise?.
http://wiki.web2py.com/Errata_for_web2py_2nd_Edition_Book
> Why have them together (errata & additions)?
Perhaps not on the same page, but parallel, and linked.
I was th
You are welcome.
Is all the errata in one place? any volunteers otherwise?.
Why have them together (errata & additions)?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, sen
How to use it:
1) import the plugin in your app using the latest admin (1.72.3)
2) in your views include
{{=tag('mytable',45)}}
It will create a tagging widget (that uses ajax) for table mytable,
record 45.
3) In other pages or layout you can add
{{=tag_cloud()}}
and it should be
Is there a way to change the expiration time of a session per-session,
as opposed to globally (e.g. a default global expiration time, and
some method of the session to change the expiration time).
I've found that per-session expiration can work well with things like
auto-logout.
--~--~-~-
On Wed, Nov 11, 2009 at 5:15 PM, Jonathan Lundell wrote:
>
> On Nov 11, 2009, at 2:32 AM, Frederik Wagner wrote:
>
>> I already filed it as a bug some days ago, but should have ask here
>> before. Could it be, that the IS_IPV4 provider validates erroneous
>> IPv4's?
>>
>> Reproduction in the shel
Thank you for this.
A suggestion: perhaps the 2ed errata page could have both errata and additions?
On Nov 11, 2009, at 3:32 AM, DenesL wrote:
>
> New features not documented in book 2 ed.
> =
>
> 1.72.1
> * Alias for id field
> allows to redefine the
On Nov 11, 2009, at 2:32 AM, Frederik Wagner wrote:
> I already filed it as a bug some days ago, but should have ask here
> before. Could it be, that the IS_IPV4 provider validates erroneous
> IPv4's?
>
> Reproduction in the shell:
> 1. type:
> a=IS_IPV4()
> 2. type e.g.:
> a('123.123')
> whic
On Nov 10, 2009, at 11:49 PM, Richard wrote:
> I have some floating point numbers in my database which I need to test
> for equality. Numbers like "0.3" are failing an equality test.
> So, is there a way to store floating point numbers precisely? Or
> should I be using something like:
> offset =
Nice but a quick test trying to add a task gave me:
Traceback (most recent call last):
File "C:\web2py\trunk\gluon\restricted.py", line 184, in restricted
exec ccode in environment
File "C:\web2py\trunk\applications\crm/views/default/
view_task.html", line 72, in
NameError: name 'task' i
Good point.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegr
There is a way to have an editable combo in web2py? but i want to
define this in the model, so i can have my combo, and find words in
there with an autocomplete function.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
This has been discussed (a lot) before.
It should not be too hard to add.
IMO first step would be to document which of the DBs have decimal
support.
>From a previous thread:
http://groups.google.com/group/web2py/browse_thread/thread/0aa4a0671489f6ac
p=precision, s=scale, [means optional]
---D
Edit wsgiserver and use http 1.0 instead of http 1.1.
There is a flag for that.
Massimo
On Nov 11, 7:06 am, Markus Gritsch wrote:
> Hi,
>
> when running a web2py app locally using the CherryPy server, the
> response is sent using "Transfer-Encoding: chunked". Also when
> deployed on appengine.
Hopefully soon.
On Nov 11, 6:22 am, Markus Gritsch wrote:
> Hi,
>
> what's the status of the Sneaky webserver? In gluon/main.py:676 I see
> that it is prepared to be used, but it is still commented out.
>
> Are there any plans to switch to this server?
>
> Kind regards,
> Markus
--~--~-
It was and people asked for it to be removed for size concerns.
On Nov 11, 5:39 am, DenesL wrote:
> Shouldn't admin.w2p and examples.w2p be in the svn branch?
> web2py.py --upgrade=yes fails otherwise.
>
> Denes
--~--~-~--~~~---~--~~
You received this message beca
Another language?
I don't like the syntax much. It's Python + C# + C++. While I
sometimes miss curly braces in python (it makes scope more clear in my
mind), I do not miss the:
- pointers
- references
- boilerplate code
On the plus side, I agree with Massimo, this makes IPC and shared
memory a
Hi,
this is quite nice and it worked for me for some time now. The app
loads fast, even if no one was visiting the site for hours. Until
recently:
When I was visiting the appengine dashboard today, there were 9 keep-
alive tasks in the queue which raised the average request rate
considerably a
Hi,
when running a web2py app locally using the CherryPy server, the
response is sent using "Transfer-Encoding: chunked". Also when
deployed on appengine.
Is there a way to get a non-chunked response which has a "Content-
Length:" field in the response header?
Kind regards,
Markus
--~--~--
I want to run a small command over and over to check for data from a
serial port. It will be using web2py as the frontend to this
application.
Not only am I new to threading techniques, but I want to get your
advise on how to properly create this thread in the controller or
elsewhere if needed.
B
Hi,
what's the status of the Sneaky webserver? In gluon/main.py:676 I see
that it is prepared to be used, but it is still commented out.
Are there any plans to switch to this server?
Kind regards,
Markus
--~--~-~--~~~---~--~~
You received this message because yo
Shouldn't admin.w2p and examples.w2p be in the svn branch?
web2py.py --upgrade=yes fails otherwise.
Denes
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to we
New features not documented in book 2 ed.
=
1.72.1
* Alias for id field
allows to redefine the name of the 'id' field.
* make_migrate=True
rebuild missing .table files
http://groups.google.com/group/web2py/browse_thread/thread/eed21229883b5a1a
* Keyed
Hi .*,
I already filed it as a bug some days ago, but should have ask here
before. Could it be, that the IS_IPV4 provider validates erroneous
IPv4's?
Reproduction in the shell:
1. type:
a=IS_IPV4()
2. type e.g.:
a('123.123')
which gives a validated output ('123.123', None), also an IP like
'
Hi,
I recently installed "mysql-python" in my account on "Dreamhost" and
changed my sqlite connection to mysql:
before: db = DAL('sqlite://storage.sqlite')
after: db = DAL('mysql://db_username:db_passw...@mysql.mydomain.cl/
db_name')
and now I get this error:
Traceback (most recent call last)
We're missing the DECIMAL data type (for those DBs that support it).
I believe it may still be under consideration.
However, without this, it will be difficult to make accounting-type
apps.
Regards, David
On Nov 11, 7:49 am, Richard wrote:
> Hello,
>
> I have some floating point numbers in my
CRM = Customer Relationship Management
https://launchpad.net/web2py-crm
It is a simplified clone of "highrise" by 37signals.
Manages companies, people, tasks, logs, files and almost everything is
taggable
Includes a stand alone portable tagging plugin
Include fullcalendar.js
Lots of ajax
It nee
great! thanks a lot!
On Tue, Nov 10, 2009 at 6:20 PM, mdipierro wrote:
>
> It seems I was wrong. This is not possible but not diffciult to
> implement. Give me a couple of days.
>
> On Nov 10, 10:15 am, Frederik Wagner wrote:
>> thanks for the fast reply, but it does not work for me
>>
>>
>>
>>
94 matches
Mail list logo
|