good to know Johann
have any examples or links to simple examples?
thanks,
Alex
--
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
Thanks! That was exactly what I was looking for.
El domingo, 9 de noviembre de 2014 22:41:08 UTC-3, Anthony escribió:
The default Row object doesn't have the table name. However, if you set
the compact attribute of the Rows object to False, each Row object will
act like a dictionary with
Hello , in admin , when i browse to one of the tables where i can query
data, its not very usefull to have all columns starting with the table name.
Its obvious and leads to wider column sizes.
If you ever have more than spare time please remove it.
This way i could see more columns without
On 10 November 2014 10:17, Alex Glaros alexgla...@gmail.com wrote:
good to know Johann
have any examples or links to simple examples?
links = lambda row: (A(B(T('Edit')), _target = _blank,
_href = URL(r = request,
c =
Apologies sent before finished.
On 10 November 2014 10:17, Alex Glaros alexgla...@gmail.com wrote:
good to know Johann
have any examples or links to simple examples?
links = lambda row: (A(B(T('Edit')), _target = _blank,
_href = URL(r = request,
Hello
In my db.py i have the following settings
auth.settings.registration_requires_verification = True
auth.settings.registration_requires_approval = True/False - it is always
Fasle - user can login even if I set to True??
auth.settings.reset_password_requires_verification = True
Hello David,
Sorry for my late reply. The site I have on pythonanywere is at the
following link:
http://ulamdev.pythonanywhere.com/unlam
https://ulamdev.pythonanywhere.com/unlam
I am redirected to:
https://ulamdev.pythonanywhere.com/unlam
And I assume it is the case for any other PC
On the other hand, on another web2py I built long ago if I try:
http://kiki.pythonanywhere.com/ it remains as http
and if I try:
https://kiki.pythonanywhere.com/ it remains as https, that is the request
is kept as is.
Thanks in advance for any help.
Regards to all,
Clara
El lunes, 10 de
the first link, albeit printed as http, is carrying a link to https:
please
try this
http://ulamdev.pythonanywhere.com/unlam
and
https://ulamdev.pythonanywhere.com/unlam
Sites are served independently because pythonanywhere serves both by
default, and both are available without
Just set the readable and writable attributes of field you want hidden to
False. If you want to make other customizations in the view, you can
include conditions such as:
{{if 'view' in request.args:}}
[custom code for view forms]
{{pass}}
Similar conditions can be used in the controller, for
Hello Niphlod,
Thanks for your quick answer. From my PC if I try either link I always get
the secure site back (https). If I try it on my cellphone though I get
http when requesting http and https when requesting https.
If I remember correctly, when I do the same from my notebook at home, I
Thanks, I will try.
суббота, 8 ноября 2014 г., 15:16:03 UTC+3 пользователь Niphlod написал:
you don't need rocket. you need two virtualserver directives, one handling
the site at xxx.com and the other handling the web2py site at
subdomain.xxx.com
On Friday, November 7, 2014 11:33:44 PM
it's probably some misconfiguration / cached values / etc on your browser.
Try resetting preferences/cache/etc (or open an incognito session) to
test it properly.
On Monday, November 10, 2014 3:31:58 PM UTC+1, clara wrote:
Hello Niphlod,
Thanks for your quick answer. From my PC if I try
Here is the code in the link:
db.define_table('music', Field('name',required=True),
Field('filename','upload',required=True), auth.signature)
applications/audio/models/db_audio.py echo response.menu =
[('Home',0,URL('index'))] # allows to browser, search, and upload new music
(if logged in)
Is this still the recommended way to send logged in users to a particular
page?
I was looking for how to send my logged in users to a particular page, and
eventually found this thread after a fair bit of time searching.
So I'm just echoing a desire to see this (I suspect) very common case
PS
... Glad to find this though at least, and thank you to everyone involved
in the thread!
I am a beginning user, and I'm starting at the beginning of my app's most
fundamental needs (in this case of course, logging in, and what a user will
see when they do so)
On Thursday, December 6,
Hi, I'm in the beginning stages of building my app.
One of the most important things it will do is connect to 3rd party
services via their APIs (e.g. Google Analytics)
I ran into a disconcerting comment on this stackoverflow thread
I'll be there. I have a projector but it is VGA only. It will run off my
Chromebook, MacBook, or antique Linux laptop.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
I'm in too. Thx. dex*
--
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
I'll be there with bells on. I also offered to drive Massimo to the event
as he usually camps out on the peninsula and doesn't rent a car.
-- Joe
P.S. I don't have an official presentation but I can show a bit about the
commercial web site I'm developing using web2py.
--
Resources:
-
I'm just a little bit confusing because I can't make correct selection to
find records that are absent in another (referenced) table.
It's clear to me how to make inner join:
rows = db(db.persons).select(join=db.tbl.on(db.persons.id==db.tbl.person),
groupby=db.persons.f_name,
You can use belongs. You ask for those that do not belong.
http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#belongs
something like
tbl_person = db()._select(db['tbl.person'].id)
db(~db.persons.id.belongs(tbl_person)).select()
Do you actually have dots in your
I wish to create an ajax button that is outside the form ... /form
created by SQLFORM.factory, such that when I click the ajax button it will
self-submit the form. Is this possible?
For instance
def mytest():
form=SQLFORM.factory(Field(mytext,text, requires=IS_NOT_EMPTY()))
# add some
I think I just came up with a stupid simple way to do this. Just hide the
regular submit button and trigger(click) on it when the other button is
pressed. What do you think?
On Monday, November 10, 2014 1:25:49 PM UTC-8, weheh wrote:
I wish to create an ajax button that is outside the form
in html and javascript there's no one way to do it. you can come up with
a lot of solutionsbut for this particular case, I'd either trigger a
submit event on the form or a click on the original submit button.
On Monday, November 10, 2014 10:35:43 PM UTC+1, weheh wrote:
I think I just came
1. to get a field in grid to align vertically top, what is correct syntax?
Tried this:
db.Suggestion.suggestionShortSummary.represent = lambda value,row: DIV(value
, _style='vertical-align:top;')
2. is it possible to put a line break after one of the fields in grid?
thanks,
Alex Glaros
--
Ok so the above plan works fine*. *In the interest of completeness, the
original demo code can be made to work sensibly on modern web2py (2.9.11).
So you can remove the code in the controller and (essentially) paste it
into a view. But a few corrections are needed - the major ones being adding
Hello Mark:
Thanks for the patch!
This fix is for the wiki page or the code itself?
Could you create a new issue in the project site?
https://code.google.com/p/pyfpdf/issues/list
Or do you want to edit the page directly (I can give you the needed
permisions)
Even better, for the soure code,
Hello Niphlod,
I guess I missed your message before.
The reason I want to avoid https is that I can not load external javascript
files from CDNs that make them available via http.
Does this make sense to you? Is there any work around for this?
Thanks!
Clara
El viernes, 10 de octubre de
Hi Mariano,
The patches are for the pyfpdf web2py sample app, (I'm not seeing that in
the main pyfpdf src, but I might have missed it).
Yes, I seemed to need a few additional 'pass' statements to avoid the view
complaining. I may have been over zealous :-)
In terms of style, I was following
On Monday, November 10, 2014 5:12:57 PM UTC-8, clara wrote:
Hello Niphlod,
I guess I missed your message before.
The reason I want to avoid https is that I can not load external
javascript files from CDNs that make them available via http.
Does this make sense to you? Is there any
31 matches
Mail list logo