Hello everybody,
does anyone have an example on creating a form with sliders. Selecting a
value of lets say 1-10.
I tried using the example on web2pyslices but can't get it working.
Kenneth
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com
I think this is the same: http://web2pyslices.pythonanywhere.com/home
torsdag 18 augusti 2022 kl. 05:10:15 UTC+3 skrev JPlata:
> Is there a mirror or archive lying around?
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source
Hello,
has anybody used Google Maps after 2018, looks like you need an api key to
use the geocode function. Geocode doesn't seam to be updated for this?
Kenneth
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https
. The link would look
like something like this: my.website.com/longhash4324kljhasdfasd9f87ads
Does web2py already contain this function?
Kenneth
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p
don't rememver having to activate the T-function anywhere.
Kenneth
--
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
Den torsdag 26 april 2018 kl. 17:32:56 UTC+3 skrev Anthony:
>
> On Thursday, April 26, 2018 at 4:07:31 AM UTC-4, Kenneth wrote:
>>
>> Hi,
>>
>> correct, no records 24031-24040. I was thinking that my variables maybe
>> would have contained something not a
roolbacks in the code as I
didn't know there was anything like that.
Kenneth
Den onsdag 25 april 2018 kl. 17:54:07 UTC+3 skrev Anthony:
>
> On Tuesday, April 24, 2018 at 4:20:18 PM UTC-4, Kenneth wrote:
>>
>> The function that contains this does a lot of things, but nothing
the controller 10 times and look at the table again,
still highest record is 24030. If I at this moment insert a record manually
from MySQL prompt it'll get ID, 24041.
Kenneth
Den tisdag 24 april 2018 kl. 04:16:34 UTC+3 skrev Anthony:
>
> Can we get more context? What does the real cod
in the db.commit() without success.
Kenneth
Den måndag 23 april 2018 kl. 19:26:09 UTC+3 skrev Leonel Câmara:
>
> If you put it into a controller web2py automatically commits the
> transaction. If you're doing this from the command line you need to to
> db.commit()
>
--
Re
('2018-04-23 01:51:34.001992',15,6728,2);
this is in a normal controller.
If I put the same tracker = db.usage_tracker.insert(client = 6728,
product_group = 2, product = 15) in an own function in controller it works.
Kenneth
--
Resources:
- http://web2py.com
- http://web2py.com/book
Hi,
I have a server running two versions of web2py. The other one runs 4-5 apps
on own domains. Every domain will have it's own certificate. I have I one
almost running correctly, the app works nicely but you can't open error
tickets. But I'm not sure how to add more certificates.
Kenneth
Hello,
does anybody have experience with setting up Apache with separate
certificate for multi domains. I have it working like 95% but something is
strange, I can't for example look at errors with this setup.
Kenneth
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation
ame nature (i.e. period=3600,
repeats=0).
How do I run the set up once so that I will only get a single repeating
task queued in the web2py scheduler.
Thanks in advance for any help!
Cheers,
Kenneth
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.
I changed the {} to [] and it seams to be working now. Interesting.
Kenneth
Den tisdag 4 april 2017 kl. 16:28:49 UTC+3 skrev Kenneth:
>
> Hi,
>
> I found a list of packages that was updated yesterday when I updated the
> server and python 2.6 was updated to newest 2.6 versio
Hi,
I found a list of packages that was updated yesterday when I updated the
server and python 2.6 was updated to newest 2.6 version, I'm guessing this
is the reason why I'm getting the errors right now. But I don't understand
why I'm getting errors.
Kenneth
Den tisdag 4 april 2017 kl. 16
uires=IS_IN_SET({T('Get access')})),
^
SyntaxError: invalid syntax
Kenneth
Den tisdag 4 april 2017 kl. 15:10:26 UTC+3 skrev Anthony:
>
> On Tuesday, April 4, 2017 at 7:05:25 AM UTC-4, Áure
the app works. web2py was neither
updated.
This is the row that gives error:
Field('accept_terms', widget=SQLFORM.widgets.checkboxes.widget,
requires=IS_IN_SET({'Only one option '})),
And error is:
SyntaxError: invalid syntax
Anyone had problems like this?
Kenneth
--
Resources:
- http
smartphone/pads so loading the whole page feels like a waste of bandwidth.
Kenneth
--
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
Hello,
I fetch a number on records from the database and show it on the screen. Is
there a way to not print the text None for fields that are in the state
None. I could use if field != None but I'd rather not use IF if there is an
other way.
Kenneth
--
Resources:
- http://web2py.com
Could you provide any cases to use this JS function for?
On Friday, May 6, 2016 at 11:26:43 AM UTC-4, Val K wrote:
>
> Very small py-function that wraps any js-content in anonymous js-function
>
> def JS_fun(*args_lst):
> def _inner(body):
> return "(function(%s){ %s ;})" %
You can treat DigitalOcean or Linode as complete linux server to play
around with.
You can install any Python modules with PIP install module_name.
On Saturday, May 7, 2016 at 11:50:12 AM UTC-4, Marty Jones wrote:
>
> I know this isn't a Web2py specific question but hope some of you will
>
/%E4%B8%8E> . request.args won't be usable for
> the aforementioned "bug" (or lack of feature), but request.raw_args will be
> there for you to parse as you wish
>
> On Friday, May 6, 2016 at 3:02:02 AM UTC+2, Kenneth wrote:
>>
>> Just filed an issue. thank you, Leo
lcome/default/index/
> 与 <http://localhost:8080/%E4%B8%8E> . request.args won't be usable for
> the aforementioned "bug" (or lack of feature), but request.raw_args will be
> there for you to parse as you wish
>
> On Friday, May 6, 2016 at 3:02:02 AM UTC+2, Kenneth
Just filed an issue. thank you, Leonel.
Is there any interim solution to this problem?
On Wednesday, May 4, 2016 at 2:31:17 PM UTC-4, Leonel Câmara wrote:
>
> For functions, specially since in python 2 the identifiers must be ascii.
> If percent encoded args don't work then that's actually a
Hi Niphld,
Do I need to configure "routes.py" to accept percent-encoded function? is
it "args_match" that I need to configure?
Just tried to pass encoded string "%ED%95%9C%EA%B8%80" as argument, I am
getting "Invalid request".
Thank you.
On Wednesday, May 4, 2016 at 8:09:22 AM UTC-4,
Hi Leonel,
Thank you for your quick reply.
If that is the case, is it possible to encode the unicode URLs right after
it hits the server? So, it can be redirected to proper URL after the
incoming url is encoded in percent.
Best,
On Tuesday, May 3, 2016 at 10:15:36 PM UTC-4, Leonel Câmara
Hello there,
I'd like to create URLs in unicode characters and I get "Invalid Request"
error when I do. I tried to reconfigure on Nginx side but wasn't able to
work it properly.
For example, this curl call will output "Invalid Request".
curl http://localhost:8080/与
Grateful if there is a
Hi Richard,
Quick question on your reply, how do you use ** as prefix of form.vars?
I've seen it in the book but never knew what it was for.
Ken
On Saturday, April 16, 2016 at 12:09:39 PM UTC-4, Richard wrote:
>
> Hello Jack,
>
> You mean you want to pass the id of the inserted record to
Hello
I've been trying to redirect non-www to www using htaccess but I was able
to redirect only one domain when there are multiple applications/domains in
applications directory.
Is there anyone who was able to redirect non-www to www successfully? I
wasn't able to find one correct solution
.
But maybe that is the only way of doing it.
Kenneth
Den söndag 21 februari 2016 kl. 15:59:23 UTC+2 skrev Val K:
>
> Maybe I mistake, but JSON means arrays ([1,2, "any string", 5]) , hashes
> ({"a":1, "b":"any string"}) and combinations
Hi,
I don't access to change the webform, so I need to get by what I receive.
It is a standard webform in Drupal that sends the JSON.
Kenneth
Den söndag 21 februari 2016 kl. 13:01:40 UTC+2 skrev Val K:
>
> How do you serialize form?
> Jquery.param makes json in extended format b
Hello,
I have an external webform sending data as a JSON to my web2py app.
{"product_package":"basic_m","products":"31349","billing_name":"Kenneth","billing_surname":"Lundstr\u00f6m","e_mail":"k
Hello,
Lately, I've started playing with sqlgrid since it saves so much time
pulling out all data in a page.
The problem is that I have a table with 20 attirbutes saved in it, it's
hard to scroll to the end of right side and click on view/edit buttons.
Is there any way to move those buttons
, May 10, 2015 at 12:55:30 AM UTC-4, Anthony wrote:
See https://groups.google.com/d/msg/web2py/WvGH9XAH160/TjzYVCDBzQ0J
Anthony
On Saturday, May 9, 2015 at 9:57:03 PM UTC-4, Kenneth wrote:
I am curious how I can implement the search widget used on sql grid.
It seems to me that sql grid
:
Sorry, you said you want to search a keyword on a table instead of
selecting fields? Perhaps you can clarify what you are trying to achieve.
Anthony
On Sunday, May 10, 2015 at 11:07:49 PM UTC-4, Kenneth wrote:
Hi Anthony,
Thank you for your reply as always. I believe the forwarded post
You can check out this post.
https://groups.google.com/forum/?fromgroups#!topic/web2py/B21c-PgscJg
On Monday, April 20, 2015 at 3:52:10 PM UTC-4, Ovidio Marinho wrote:
Has anyone tried to use it with web2py?
http://www.princexml.com/doc/9.0/python/
[image:
Look great, Tom.
Thank you for sharing. I wonder what we can implement with this instead of
CRUD.
On Thursday, April 9, 2015 at 11:49:02 PM UTC-4, Tom Campbell wrote:
Niphlod helped me with some crucial code getting Handsontable to work with
web2py so I wrote this: web2py Handsontable
This is what I've added on db.py. Hope this helps.
==
from instagram.client import InstagramAPI
access_token = access_token
client_secret= client_secret
client_id = client_id
redirect_uri = redirect_uri
auth = Auth(db)
auth_table = db.define_table(
I am curious how I can implement the search widget used on sql grid.
It seems to me that sql grid searche widget searches a keword over a whole
table and show the result.
Can anyone tell me how to create a search widget to search a keyword on a
table instead of selecting fields?
Thank you.
Hello,
is the search function in web2py Book supposed to be case sensitive?
I went to the online book and typed sqlform in the search field.
Was a little bit surprised when I got: No results for sqlform Searching
for SQLFORM works.
Kenneth
--
Resources:
- http://web2py.com
- http
Hello,
is there a way to do a decode('utf-8') on a string containg for example the
€ sign?
Kenneth
--
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
creating PDF:s
with pyfpdf.
Kenneth
--
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 are subscribed to the Google
Hi,
after reading the web2py book and some testing it starts to look like this
is not possible. The Drupal installation will be on a different server
Kenneth
Den torsdag 26 februari 2015 kl. 11:15:58 UTC+2 skrev Kenneth:
Hello,
I'm trying to get an Drupal with the Drupal CAS module
parameters to Drupal?
Kenneth
--
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 are subscribed to the Google Groups
Hi,
finally getting around doing this. I have a Drupal site with a CAS module
installed.
Anyone done this before?
Kenneth
Den lördag 15 januari 2011 kl. 17:49:46 UTC+2 skrev Massimo Di Pierro:
It can.
http://web2py.com/cas
On Jan 15, 9:13 am, David Bain pigeonfli...@gmail.com wrote
I think PyNuke is the latest CMS based on Web2py.
On Tuesday, December 2, 2014 1:07:48 PM UTC-5, Phyo Arkar wrote:
Being busy and i lost touch with w2p community for a while.
What are the new features of web2py?
What are the most actively maintainted web2py community projects ?
Hello,
do you mean using Apsis Pro? I have now idea, just integrating it,
someobody else pays for it :=)
Kenneth
Den fredagen den 10:e oktober 2014 kl. 01:25:52 UTC+3 skrev Carlos Zenteno:
Looks good! Can you tell us more or less how much it cost?
--
Resources:
- http://web2py.com
Hello,
has anybody used Apsis Pro mailinglist/newsletter API integration with
web2py.
I'm trying to get started but running into all kinds of problems.
Kenneth
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code
2.5.1-stable
Den onsdagen den 1:e oktober 2014 kl. 12:54:51 UTC+3 skrev Leonel Câmara:
This error should never happen since that filename matches
REGEX_UPLOAD_PATTERN, what version of web2py are you using?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
originally stored via a custom_store
method?
Anthony
On Wednesday, October 1, 2014 12:27:46 AM UTC-4, Kenneth wrote:
Hello,
TAG.img(_height=50, _src=URL(r=request, c='default', f='download',
args=[value]))
gives me:
type 'exceptions.TypeError' Can't retrieve
product.image.4dfd23fe
, migth be years. The product.image.4dfd23fe file does exist
in uploads folder.
Kenneth
--
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
Hello everyone,
I'm building a site that clients subscribes to so I need to limit their
login based on the subscription. Is there a built in feature to limit login
to a date range?
Kenneth
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py
I would like to redirect these two links:
www.mydomain.com/4 and www.mydomain.com/dir for fixing backlinks I
previously had for SEO purpose.
I've tried to redirect from the controller but it didn't work.
--
def 4():
redirect('/',301)
def dir():
redirect('/',301)
--
Obviously this is not possible
Thank you Marin,
that did it.
Rob, the form is for creating new users and client complains about not
seeing the password.
Kenneth
Den lördagen den 14:e juni 2014 kl. 01:31:15 UTC+3 skrev Marin Pranjić:
Can you try if this works?
db.auth_user.password.type = 'string'
On Sat, Jun 14
/?fromgroups#!searchin/web2py/orderby$20$20case/web2py/B9iM-r1rV0A/jPMBmoSv2kgJ
) where CASE was used with orderby but I just couldn't understand how to
get it working.
Is this the way or is there an other way to do this?
Kenneth
--
Resources:
- http://web2py.com
- http://web2py.com/book
Hi,
is it possible to merge two resultssets so I have only one resultssets.
That way I would only need to add an extra query.
Kenneth
Den lördagen den 14:e juni 2014 kl. 16:53:09 UTC+3 skrev Niphlod:
there's no simple way to do it. I'd suggest you fetch the first record,
then every
Hello,
I'm pretty sure this is a stupid question but I just can't get it working.
I have created a form to edit a user in auth_user, so one field is
password.
Is it possible in controller disable the masking of the values in the
password, when entering a new password?
Kenneth
I see that it updates indexes when it updates,deletes or insert.
Does it refresh indexes when I use insertorupdate on DAL?
Thank you!
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
, 'ContentPlaceHolder_Hae') id=_ctl0
Any ideas where to start?
Kenneth
--
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 are subscribed
Hello,
I'm trying to send email that is made from about 6-7 T('texts'). But
newlines are not inserted into the emails.
How should I do that?
Kenneth
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https
Hello,
text
send.mail()
Kenneth
what format are you sending the emails ? text or html ? What's the used
function to send the emails ?
On Wednesday, April 16, 2014 2:20:02 PM UTC+2, Kenneth wrote:
Hello,
I'm trying to send email that is made from about 6-7 T('texts'). But
newlines
}}
The same can be done for static folder.
I'm I doing this too complicated?
Kenneth
--
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
One row is missing in my message:
response.view= domain_url + request.controller + '/' + request.function +
'.html'
I have it in models/db.py so it reflects on all controllers.
Kenneth
Den söndagen den 6:e april 2014 kl. 09:56:38 UTC+3 skrev Kenneth:
Hello,
is it possible to build
I went
over http://www.web2pyslices.com/slice/show/1579/web2py-and-redis-queue
and seems like it's giving me an error when I tried to dequeue all the
tasks which are sending emails
---
23:06:12 UnpickleError: (*'Could not unpickle.', ImportError('No module
named
will be used.
What built in videoplayers are you using to show videos?
Kenneth
--
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
Hello,
is there a way of integration data from an web2py site into an other sites.
Like many integrates Tvitter Tweedk onto theur website.
I't like to use web2py to create a small page that is shown on another
website, like iframe but without iframes.
Any ideas for this?
Kenneth
the database, but this one special page will
be just a blank page showing the content of the file if I can't find out
how to reload just the part of the page that shows the text file. Was
thinking using PHP to show that page.
Kenneth
Now many clients need to access this at one time
them into an
text file that the app reads. This shouldn't be too hard?
Kenneth
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr
This seems odd to me.
I just moved my server and ran the ubuntu script to install web2py
I cannot import simplejson for some reason. (I ran it on python -S
web2py.py as well)
anyone had this problem before? Let me know! Otherwise, I have to import
directly from gluon.
--
---
You received
My ubuntu is Ubuntu 12.04 X64 Server
On Thursday, May 2, 2013 8:08:31 PM UTC-5, Kenneth wrote:
This seems odd to me.
I just moved my server and ran the ubuntu script to install web2py
I cannot import simplejson for some reason. (I ran it on python -S
web2py.py as well)
anyone had
/custom_import.py, line 81, in
custom_importer
raise ImportError, 'Cannot import module %s' % str(e)
ImportError: Cannot import module 'simplejson'
On Thursday, May 2, 2013 8:08:31 PM UTC-5, Kenneth wrote:
This seems odd to me.
I just moved my server and ran the ubuntu script to install web2py
I
I am using the routers.domains method to routing the applications to
domains,
I have a problem that I can access to the applications which are not routed
to the assigned domain.
for example
routers = dict(
BASE = dict(
domains = {
'domain1.com' : 'app1',
']
),
)
Le mercredi 1 mai 2013 14:54:34 UTC+2, Kenneth a écrit :
I am using the routers.domains method to routing the applications to
domains,
I have a problem that I can access to the applications which are not
routed to the assigned domain.
for example
routers = dict(
BASE = dict
www.domain2.com redirects to app2 == OK
*but*
www.domain1.com/app2 redirects to app2, and I don't understand why...
Le mercredi 1 mai 2013 15:54:08 UTC+2, Kenneth a écrit :
Yeah. I follow the same pattern.
Could you try to browse www.domain1.com/app2 to see if it doesn't
direct to app2
+1 !!
On Wednesday, May 1, 2013 11:37:20 AM UTC-5, Loïc wrote:
I would like to understand too...
Maybe somebody else has an idea ?
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails
Nobody has any pointers how to fix this? I'm using powertable plugin in my
app and if possible don't want to replace it right now.
Kenneth
Den lördagen den 9:e mars 2013 kl. 21:11:20 UTC+2 skrev Kenneth:
Hi,
anybody have any ideas where to start solving this?
Traceback
1.
2.
3.
4
Hello,
have tested 2.4.2., 2.4.5 and today 2.4.6 and still receiving the same
error.
Kenneth
you're still using 2.4.2 or upgraded to 2.4.6? There were some
changes, including bug fixes from one to another...
2013/4/8 Kenneth kenneth.t.lundst...@gmail.com
mailto:kenneth.t.lundst
Hello,
upgrading didn't in this case, still getting the same error.
Kenneth
Den tisdagen den 19:e mars 2013 kl. 04:11:59 UTC skrev Massimo Di Pierro:
Please try 2.4.5. Let us know if this is not fixed alreday.
On Monday, 18 March 2013 19:42:38 UTC-5, Kenneth wrote:
Hello,
I'm getting
/ticket/phvk/217.152.236.190.2013-03-18.15-47-53.11d8d47e-f481-432b-92b2-532afef1692c#
type 'exceptions.AttributeError'('Row' object has no attribute 'copy')
Where should I start looking for the error?
Kenneth
--
---
You received this message because you are subscribed to the Google
#
type 'exceptions.AttributeError'('DAL' object has no attribute 'virtual')
Den tisdagen den 5:e mars 2013 kl. 20:47:19 UTC+2 skrev Kenneth:
Hi,
I usually find what row causes the problem but not in this case. I'm using
the plugin_PowerGrid. Anyone using PowerGrid with the new web2py
to fix?
Kenneth
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups
Hi,
I usually find what row causes the problem but not in this case. I'm using
the plugin_PowerGrid. Anyone using PowerGrid with the new web2py version?
Kenneth
maybe showing what line of your code raised the Exception will help...
On Tuesday, March 5, 2013 5:51:57 PM UTC+1, Kenneth
is this written in DAL?
Kenneth
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googlegroups.com.
For more options, visit https
I'm planing on making new copies of them articles in the database and use
that one when the upgraded book is released. How would you do keep track of
changes in the edited article? All changes needs to be moved into the
printed version.
Kenneth
--
---
You received this message because you
Hi,
how do you orderby and groupby with two fields?
I have a table with these fields: chapter, page and version. I'd like to
find all items that are unique based on chapter and page and has the
highest version number.
Kenneth
--
---
You received this message because you are subscribed
be the correct way of doing this? The app is still in
development so database is quite empty. So no problem to loose the
connection between the tables.
Kenneth
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group
Hello,
does anyone know if it is possible to use an PDF as an background when
creating PDFs with pyfpdf?
Kenneth
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send
on using
TAG to remove them.
div class=bba name=92912Tässä artikkelissa käydään läpi tulevaisuuden
sosiologisia /atrendejä. Os...sista./div
I'd like to the ridden of div claas and a name
Any ideas?
Kenneth
--
---
You received this message because you are subscribed to the Google
Thank both Bruno and Michele.
I just tried you second suggestion Michele but still got an ticket. But by
changing places of str and TAG and adding flatten() I got what I wanted.
XML(TAG(str(elements[9])).flatten())
Kenneth
use beatifulsoup a one stop shop for html mangling
http
Thank you.
Kenneth
https://github.com/mdipierro/web2py-book
On Friday, 8 February 2013 23:51:57 UTC-6, Kenneth wrote:
Hello,
is the web2py online book app available as an appliance?
I'd like to take a look for example on the database setup.
Kenneth
--
---
You received
Yes, that could be the solution. Atleast as this only a temporary (I
really, really hope so) way of doing this.
Thank you.
Kenneth
I guess you could have wordpress set a cookie of some sort if they
have access, and then use that cookie in web2py to control access.
On Thursday, February 7
Hello,
is the web2py online book app available as an appliance?
I'd like to take a look for example on the database setup.
Kenneth
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails
to a
web2py site. Somehow WP has to tell web2py that it is OK to show the
site for the user.
Kenneth
Hello Kenneth,
But how do I handle that WP takes care of authentication and
somehow gives the customer rights to view the manual.
I had a similar problem. I added an XMLRPC method to my
this?
Kenneth
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups
Hi,
anybody have any ideas?
tablerow.components.insert(2, TD(IMG(_src=URL('static',
'delete-article.png'), _onclick=confirmation(rowdata.asset_id),
_width=15)))
Kenneth
Den måndagen den 17:e december 2012 kl. 00:40:10 UTC+2 skrev Kenneth:
Hello,
I'm using webgrid in an application
Hi Adi,
very many thanks. That was exactly what I was looking for.
Kenneth
this is how i use onclick for confirmation purpose in a grid:
|
lambdarow:A('Copy',
_class='btn',
_onclick='return confirm(Duplicate %s?)'%row.po_number,
_href=URL('duplicate_po',args=[row.id
),
_width=15)))
How do I write that _onclick so that the asset_id is sent to the
confirmation Javascript? If I write
_onclick='confirmation(rowdata.asset_id)' Javascript gets the text
rowdata.asset_id and not the ID I'm tryin to send to it.
Kenneth
--
Hi,
yes still open. Attached what you requested, hopefully.
Kenneth
def data():
new = 0
serials = db(db.asset_serial.asset_id == request.args(2)).select()
crud.settings.create_onaccept = insert_serial
crud.settings.create_next =
URL('index',vars=session.http_get_vars,args
(asset_name = 'testing3') ) and put it into an own function and
works fine. But if I put the static row into my onaccept (
crud.settings.update_onaccept = update_assets) function I get the same
error.
I just wildly guessing but could be somekind of locking issue?
Kenneth
Den fredagen den 7:e
/MySQLdb/connections.py, line 35, in
defaulterrorhandler
raise errorclass, errorvalue
IntegrityError: (1062, Duplicate entry '275-2012-12-07 10:26:41' for key
'asset_id')
Any ideas what I'm doing wrong?
Kenneth
--
1 - 100 of 546 matches
Mail list logo