On Mon, May 22, 2017 at 4:35 PM, 'Annet' via web2py-users <
web2py@googlegroups.com> wrote:
> I have the following query and form:
>
> user = db.auth_user(vertexID=vertexID)
>
> form = SQLFORM.factory(db.auth_user, db.auth_dummy,
> extra_fields=extra_fields)
>
> If the form validates I want to
('inter_component', 'myform', ajax=True, target=cmy_form)}}
{{=LOAD('inter_component', 'name_list', ajax=True, target='cname_list',
user_signature=HKEY)}}
Miguel
On Mon, Jul 2, 2012 at 11:41 AM, Miguel Lopes mig.e.lo...@gmail.com wrote:
I have a view index.html with two components - myform and namelist
('inter_component', 'myform', ajax=True, target=cmy_form)}}
{{=LOAD('inter_component', 'name_list', ajax=True, target='cname_list',
user_signature=HKEY)}}
Miguel
On Mon, Jul 2, 2012 at 11:41 AM, Miguel Lopes mig.e.lo...@gmail.comwrote:
I have a view index.html with two components - myform and namelist
I have a view index.html with two components - myform and namelist.
The index action requires_login() and both myform and namelist actions
requires_signature()
This works as expected.
The problem is that the update of namelist via response.js set in the
myform action fails.
I figure that since
On Mon, Jul 2, 2012 at 2:08 PM, Santiago santiagogilab...@gmail.com wrote:
Hello,
I have a field defined as below :
Field('id_indra', length=5, label=T('ID Indra'), notnull=False,
requires=[REQUIRED, MAX_5, IS_MATCH(r'^[a-zA-Z0-9]{5}$')])
Is it is possible to intercept all inserts /
This is not strictly a web2py issue. Though it is a problem that apps
dealing with some character sets must deal with.
I confess that the source of my problem is that I have been delaying
reading-up on encoding and decoding far too long. But I'm pressed for time
and I'm sure that this is a simple
No dia 27 de Mar de 2012 16:13, Miguel Lopes mig.e.lo...@gmail.com
escreveu:
BTW this is a prettyPhoto widget I developed for plugin_wiki, which is
awesome :-)
I mean plugin_wiki is awesome :-)
lol
No dia 27 de Mar de 2012 17:41, Derek sp1d...@gmail.com escreveu:
What's the character set in your browser?
I have safari set for default. But I don't think that's the problem,
because if I hardcode the string there is no problem.
I'm certainly missing something, but the culprit operation seems
No dia 27 de Mar de 2012 17:46, Derek sp1d...@gmail.com escreveu:
Check the meta tag - if it's UTF-8, that's most likely the issue. You
can try ISO-8859-1 and see if that works for you.
Txs. Will also check that.
Find it.
titles = '+titles.replace('|', ',')+'
with:
SCRIPT( ... jQuery.prettyPhoto.open(**images=%(images)s,titles=[%(**
titles)s]);}) % dict(images=images, titles=titles), _language='javascript')
works! Tested on Firefox and Safari.
Though I've failed to find any references on this (there
Looks great!
It should be clear what the Awarded the best... is. Perhaps using
http://www.infoworld.com/sites/infoworld.com/files/imagecache/slideshow_slide/media/image/36SS-bossies-2011-web2py.jpg
or linking to InfoWorld.
Miguel
what about D?
On Thu, Oct 13, 2011 at 4:49 AM, wwwgong wen.g.g...@gmail.com wrote:
Vote for node.js
On Sep 11, 5:40 pm, dustin.b dustin.bens...@googlemail.com wrote:
1+ vote for node.js ;)
On 11 Sep., 21:14, David Marko dma...@tiscali.cz wrote:
Or to node.js :-)
The correct syntax is:
db(query).select( fields_to_include )
You can find the details at:
http://web2py.com/book/default/chapter/06#Query,-Set,-Rows
as for db.select(db.table.id1) I would expect it to create a ticket due to
a KeyError since db as no select method.
2011/7/28 António Ramos
The DAL is not SQL, it has a diferent logic.
What are you trying to achieve?
2011/7/28 António Ramos ramstei...@gmail.com
this
db(db.requests.product==*db.products.id*==3).select()
returns all field from *product* table only
this
db(db.products.id==*db.requests.product*==3).select()
thank you
2011/7/28 Miguel Lopes mig.e.lo...@gmail.com
The DAL is not SQL, it has a diferent logic.
What are you trying to achieve?
2011/7/28 António Ramos ramstei...@gmail.com
this
db(db.requests.product==*db.products.id*==3).select()
returns all field from *product* table only
1. web2py is especially good for freelancers and single developers because
it is such a tight package. Everything works really well together and right
out of the box.
2. From the forum I get the impression that there is a lot of intranet work.
But if you look for sites built with web2py I think
Great work, it will be/is very useful for many of us!
Thanks,
Miguel
On Fri, Jul 22, 2011 at 11:35 PM, Bruno Rocha rochacbr...@gmail.com wrote:
Hi,
I present you PowerGrid Plugin (now in beta 0.1) [
http://labs.blouweb.com/PowerGrid/]
What is it?
A plugin to show, manage and paginate
Cool!
On Fri, Jul 22, 2011 at 3:24 PM, Bruno Rocha rochacbr...@gmail.com wrote:
I have some (in portuguese)
web2py + Ipython ( IDE for what?)
http://vimeo.com/26387038
Comet
http://vimeo.com/18399381
PowerTable
http://vimeo.com/18447603
Uploadify
http://vimeo.com/20107460
I am
There is some private offering, which I think should be listed in web2py.com
:
* a program at DePaul University:
http://www.cdm.depaul.edu/ipd/Programs/Pages/WebDevelopmentwithPython.aspx
* a program in Brasil: http://www.cursodepython.com.br/
And free courses (structured content, besides the
No problem be as criticl as you wish.
Please do not take my critique in a bad way, but be very careful when
adding blocks of code in your views, I understand the example above
is just a code sample to illustrate a perceived deficiency in the
view templating system, but unless you are a PHP
Actually I began by using functions too. But had some problems (can't
remember exactly what), and view functions, even if comprised exclusively of
view code didn't really tick my fancy. I much rather extract those snippets
of HTML to a module or model file exclusively dedicated to html snippets.
I missed that comments feature. Great you added one!
Miguel
On Tue, Jul 19, 2011 at 12:48 PM, Nico de Groot ndegr...@chello.nl wrote:
Good point, was just going to post this myself, you beat me to it. A hint
should be added to the web2py book in chapter 5
Let me add the advantage that the initiative stimulates focuses contribution
and supplies a platform for learning.
Some people may not wish, have the time or expertise to get involved with
the development of the web2py framework. This sort of initiative supplies a
narrower ground for contribution
I think this behavior I've just found is worth sharing.
Templates don't honor the if statement that conditionally try to include
or exclude template blocks.
I've just detected this (in 1.96.4 I think) and upgrade to 1.97.1 and the
issue/behavior remains.
{{rsd=None}}
{{if rsd!=None:}}
{{block
Yes. In my opinion basic Python is the only almost requisite. The book
does a very good job at hand holding, it really helps to know a little
Python (which the book also caters for). My advice is follow along with the
book. If you get stuck by any Python stuff. Take a minute out of web2py and
just
:-)
On Fri, Jul 8, 2011 at 2:25 AM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
yes. even better use router (vs routes)
On Jul 6, 10:03 am, Miguel Lopes mig.e.lo...@gmail.com wrote:
Humm,
Nice. Yes, closures are enough, and cleaner too.
Is routes OK for production mode?
Txs
Yes. That's what I meant. Thank you for making it much clearer.
Like you mention the benefit is unclear. This makes it unnecessary to toy
with routes or router, which I believe is in the spirit of web2py and
benefits beginners with one less location to edit, thing to learn (routes
rules vs.
I see closures are not even necessary. The solution is using routes.
For the interested routes is ok for production (the embargo was old-news).
Here's some info:
https://mail.google.com/mail/?shva=1#search/routes+production/12a53a18e7f6b2d5
Miguel
On Wed, Jul 6, 2011 at 4:03 PM, Miguel Lopes
Yesterday I posted about implementing dynamic actions (functions) in a
controller.
This is interesting because one can achieve clean urls, instead of passing
the names of the dynamic pages in args or vars. In a system with a cms this
has the benefit of user defined pages being indistinguishable
, 2011 at 1:57 PM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
Can you explain the goal?
On Jul 6, 3:23 am, Miguel Lopes mig.e.lo...@gmail.com wrote:
I'm experimenting with dynamically generating functions, aka 'actions' in
controllers. However, I've been unsuccessful. I can use exec
Thanks. In conjunction with routes could supply a solution (shortening the
urls).
I think I should rethink the payoff (see my reply to Massimo regarding my
goals).
Thanks,
Miguel
On Wed, Jul 6, 2011 at 3:12 PM, Jonathan Lundell jlund...@pobox.com wrote:
On Jul 6, 2011, at 1:23 AM, Miguel Lopes
what you want without necessarily meta-
programming.
On Jul 6, 9:35 am, Miguel Lopes mig.e.lo...@gmail.com wrote:
Thanks. In conjunction with routes could supply a solution (shortening
the
urls).
I think I should rethink the payoff (see my reply to Massimo regarding my
goals).
Thanks
It is unlikely that this is web2py related, but I'm about to go crazy with
this one. But I guess it's such a general thing someone must know what is
going on.
I'm using different uploaded media, such as files, images and flash files
(.swf files). I can display images without problem, but not
You can also use form.errors
if form.accepts(...):
...
elif form.errors:
...
HTH,
Miguel
On Wed, Jul 6, 2011 at 5:08 PM, Anthony abasta...@gmail.com wrote:
form.accepts(...) returns True if all validators pass and False otherwise
-- is that what you're looking for?
Anthony
On
On Wed, Jun 1, 2011 at 7:40 PM, Jason Brower encomp...@gmail.com wrote:
Me does a dance. Thanks!
And yes it makes rain :-)
On Sun, May 22, 2011 at 9:02 AM, 黄祥 steve.van.chris...@gmail.com wrote:
hi,
is it possible to use form in loop view?
e.g.
{{for i, row in enumerate(rows):}}
{{if i == items_per_page: break}}
{{db.blog_comment.blog_id.default = row.id}}
{{form = crud.create(db.blog_comment,
On Mon, May 23, 2011 at 10:50 AM, Stifan Kristi
steve.van.chris...@gmail.com wrote:
...
=== controller ===
def blog_index():
for i, row in enumerate(rows):
if i == items_per_page: break
db.blog_comment.blog_id.default = row.id
form = crud.create(db.blog_comment,
You got me in the right direction.
Txs.
I'll be starting a separate thread on what I'm trying to achieve, so
far without success.
On Sat, Jan 29, 2011 at 8:13 PM, Niphlod niph...@gmail.com wrote:
sorry, my mistake!
On Jan 29, 4:01 pm, Miguel Lopes mig.e.lo...@gmail.com wrote:
gluons/tools.py
on_failed_authorization can be a URL or a function.
I'm think I could use this to achieve conditional login redirection.
A use case would be service calls returning a simple string (or a JSON
or an XML reply to non-validated requests), while still allowing for
regular (non-service requests) to be
))
auth.settings.on_failed_authorization = failedAuthHandler
Since using failed_login as a regular action or as a public_call
makes no difference. is this the correct way to use
auth.settings.on_failed_authorization = function ?
Txs for the help,
Miguel
On Sun, Jan 30, 2011 at 10:55 AM, Miguel
On Sun, Jan 30, 2011 at 9:16 PM, Niphlod niph...@gmail.com wrote:
try with auth.settings.on_failed_authorization =
failedAuthHandlerandler()
it works for me ^_^
Not for me! And I can't see how.
Miguel
gluons/tools.py
Txs,
Miguel
On Sat, Jan 29, 2011 at 12:29 AM, Niphlod niph...@gmail.com wrote:
call_or_redirect() is the real addition here you can use both a
URL or a function to manage on_failed_authentication and
on_failed_authorization ... take a look in gluon/utils.py
On Jan 28,
On Fri, Jan 28, 2011 at 11:01 PM, mikech mp.ch...@gmail.com wrote:
I've also found it pretty useful recently to run the web2py app from source
in a good ide, in my case WingIDE which I have a 10 day trial on, and step
thru the program using the debugger.
Eclipse or Aptana with PyDev is also a
Hi,
To learn Python I found these very helpful (no particular order):
- Hetland's stuff is concise and clear which is not always the case :-)
- http://hetland.org/writing/instant-hacking.html
- http://hetland.org/writing/instant-python.html
- Alan Gaud's on-line is also very
.
Txs for pointing me to the right direction.
Miguel
On Sun, Dec 5, 2010 at 5:17 PM, Miguel Lopes mig.e.lo...@gmail.com wrote:
Ok. here's the situation:
I only have sendmail installed and running, no exim, postfix or other. I've
checked this listing running services by using:
netstat -tap
I
Hi Bernado,
2010/12/4 Bernardo Botella Corbí estem...@gmail.com
Hi Miguel,
which test did you do from command line?
does web2py print something? Any error?
Try to do the next thing from the command line:
tail -f /var/log/mail.log
If I try to send mail from web2py using local resources
I'm having problems trying to make gluon.tools.Mail work on a vps, and
wonder if anyone knows what would be a minimal setup for sending mail.
I just need to send the an occasional mail. The server as sendmail working,
which I've confirmed in the command line. However, I'm unable to make it
work
uses port 25 by default.
Miguel
On Dec 3, 6:36 pm, Miguel Lopes mig.e.lo...@gmail.com wrote:
I'm having problems trying to make gluon.tools.Mail work on a vps, and
wonder if anyone knows what would be a minimal setup for sending mail.
I just need to send the an occasional mail
://www.johnnycode.com/blog/2010/04/08/jquery-form-serialize-doesnt-post-submit-and-button-values-duh/
We cannot fork jQuery to fix this. Eventually they will fix it.
Massimo
On Aug 23, 8:46 am, Miguel Lopes mig.e.lo...@gmail.com wrote:
As an update, the issue remains with the following
On Tue, Aug 24, 2010 at 1:04 PM, mdipierro mdipie...@cs.depaul.edu wrote:
jquery serialize also does not support type=file. If you have a way to
get around these, please let me know.
I've researched this a bit. Although I have not found an authoritarive
source, the problem is that Javascript
set a hidden
input text field via the click event of each button.
Miguel
On Mon, Aug 23, 2010 at 3:54 AM, Miguel Lopes mig.e.lo...@gmail.com wrote:
I'm using the same name to all input type submits technique. This is very
nice because it avoids some js and works like a charm :-)
In a regular
I'm using the same name to all input type submits technique. This is very
nice because it avoids some js and works like a charm :-)
In a regular controller the code works flawlessly. However when I try to put
it in a controller, it fails:
status_form = FORM(_id='status_form')
for status in
In order to include scripting in a very dynamic component I'm appending a js
file to the response files of every template that uses the component, such
as:
{{response.files.append(URL(request.application,'static/base_components','view_oppty.js'))}}
{{extend 'layout.html'}}
However, this has the
Yes your explanation makes perfect sense, and that solves my encapsulation
problem. Thank you.
You mention normal web2py controllers and views, what would the other kind
be?
Miguel
On Fri, Aug 13, 2010 at 1:19 PM, mdipierro mdipie...@cs.depaul.edu wrote:
2) You can include a js in a component
.
On Aug 13, 10:01 am, Miguel Lopes mig.e.lo...@gmail.com wrote:
Yes your explanation makes perfect sense, and that solves my
encapsulation
problem. Thank you.
You mention normal web2py controllers and views, what would the other
kind
be?
Miguel
On Fri, Aug 13, 2010 at 1:19 PM
I'm pretty sure this as been asked, but I can't find it anywhere.
I would like to use the URL function to construct a link inside
a component view (i.e. views/components/view_x.load). This would be a link
to a completely new page, to be loaded in the browser and not in the
component div. However,
(request.application,'default','view_detail',args=[rec.contact.id])
.load is not appended to the link.
2010/8/10 Miguel Lopes mig.e.lo...@gmail.com
I'm pretty sure this as been asked, but I can't find it anywhere.
I would like to use the URL function to construct a link inside
a component view (i.e
On Tue, Aug 3, 2010 at 2:41 AM, pabloest pab...@gmail.com wrote:
Thank you for the extended description.
This is almost exactly what I had been following.
You welcome. Interesting to know you came up with a similar solution.
I had skipped the
arguments partially because I think Eclipse is
(...)
Iceberg
On Aug 2, 10:19 pm, Miguel Lopes mig.e.lo...@gmail.com wrote:
yes I've tried it. local_import does not work. the LOAD function
signature
expects a controller name and function name (defaulting to the
request.application), as far as I know it is not possible to pass it a
function
Here's my naif setup - note that this should be exactly the same for Eclipse
or Aptana (Aptana is Eclipse + goodies):
1. Use web2py source.
2. Make sure you have PyDev installed in Eclipse/Aptana.
3. Create a project a PyDev project:
* this will link to the web2py folder on the file system - so
I have several functions returning forms in a module file, and started
experimenting with the LOAD function, but I can figure out how to use this
functions without moving them to the controller. I would prefer to keep
these functions in a module for code organization reasons. I wonder if it is
, 2010 at 2:51 PM, Bruno Rocha rochacbr...@gmail.com wrote:
Have you tried local_import()?
I really dont know if that will work in your case, Give it a try
http://web2py.com/book/default/chapter/04?search=local_import
2010/8/2 Miguel Lopes mig.e.lo...@gmail.com
I have several functions
On Sun, Aug 1, 2010 at 9:20 AM, Neveen Adel nevo.a...@gmail.com wrote:
Hello,
i have function for example
def form_1():
form = SQLFORM (_name='form_1')
and i want inside a different function to load this form and insert
element into it
For example:
def another_fn(form_name):
On Thu, Jul 29, 2010 at 2:38 PM, pabloest pab...@gmail.com wrote:
Hi,
I'm having some trouble simply getting started with Eclipse and Pydev
for web2py development.
I can't get into a debugging mode with web2py.py and the web server
will not even start. When I right-click and select Debug As
I have an app running smoothly on OSX that fails on Windows XP.
I've traced the cause to the use of response.files.append(URL(...)) in views
that extend layout
In OSX this works with web2py 1.74.4:
{{response.files.append(URL(r=request, c='static/biz', f='common.js'))}}
Correction and extra data:
Fails on Windows XP with 1.78.2 with SSL enabled,
Works on the same setting with 1.77.3 SSL off.
On Mon, May 17, 2010 at 7:12 PM, Miguel Lopes mig.e.lo...@gmail.com wrote:
I have an app running smoothly on OSX that fails on Windows XP.
I've traced the cause
The net effect is that response.files.append seems to be ignored.
The client receives the page but the appended files are missing.
On Mon, May 17, 2010 at 7:38 PM, mdipierro mdipie...@cs.depaul.edu wrote:
How does it fail?
On May 17, 1:29 pm, Miguel Lopes mig.e.lo...@gmail.com wrote
this
does not look like a browser problem)?
Massimo
On May 17, 1:43 pm, Miguel Lopes mig.e.lo...@gmail.com wrote:
The net effect is that response.files.append seems to be ignored.
The client receives the page but the appended files are missing.
On Mon, May 17, 2010 at 7:38 PM, mdipierro
On Wed, May 12, 2010 at 7:45 PM, Timothy Farrell tfarr...@swgen.com wrote:
This is the error that Jon Lundell's guys found already. Note that it's
trying to connect to port 8000 as HTTP. Connect as HTTPS and it should
work.
Also try upgrading to trunk, that should issue a 400 Bad Request.
Thanks for sharing.
Miguel
On Thu, May 13, 2010 at 4:50 PM, mr.freeze nat...@freezable.com wrote:
This has been updated for anyone interested:
http://www.web2pyslices.com/main/static/share/web2py.app.web2pyslices.w2p
nice to know the reason.
Keeping with Massimo's suggestion I added solved to the post!
LOL
On 5/13/2010 1:40 PM, Miguel Lopes wrote:
On Wed, May 12, 2010 at 7:45 PM, Timothy Farrell tfarr...@swgen.comwrote:
This is the error that Jon Lundell's guys found already. Note that it's
trying
On Tue, May 11, 2010 at 9:41 PM, mr.freeze nat...@freezable.com wrote:
Do you have the win32 extension for Python installed?
http://sourceforge.net/projects/pywin32/
On May 11, 3:33 pm, Miguel Lopes mig.e.lo...@gmail.com wrote:
On Tue, May 11, 2010 at 7:54 PM, mdipierro mdipie
I followed the www.web2py.com/AlterEgo/default/show/140 in order to generate
a self-certified ssl key using OpenSSL for windows(
http://www.slproweb.com/products/Win32OpenSSL.html)
The certificates are in the web2py folder
Running web2py I get this error:
C:\Programas\web2pyc:\python26\python
On Mon, May 10, 2010 at 10:09 PM, mdipierro mdipie...@cs.depaul.edu wrote:
Anthony made some good points:
http://groups.google.com/group/web2py/msg/a40b27807edc8603
For now let's concentrate on one of them for now. If you have
developed software in web2py that you use internally in your
Very cool.
Congratulations,
Miguel
On Tue, May 11, 2010 at 7:54 PM, mdipierro mdipie...@cs.depaul.edu wrote:
This is concerns me more:
WARNING:root:WEB2PY CRON: Disabled because no file locking
what os are you using?
Windows XP I can check the flavour and service pack tomorrow.
On Tue, May 11, 2010 at 9:41 PM, mr.freeze nat...@freezable.com wrote:
Do you have the win32 extension for Python installed?
http://sourceforge.net/projects/pywin32/
No. Maybe that's he problem.
Tomorrow I'll re-test the thing with pywin32 installed.
Miguel
I've managed to successfully call on a jsonrpc service using localhost.
However I cannot replicate this with a remote server.
For the client I'm using jsonrpc at the Python prompt:
sv = ServiceProxy('http://127.0.0.1:8000/testapp/default/call/jsonrpc')
sv.getRequests()
['json test']
The very
On Wed, May 12, 2010 at 1:48 AM, mdipierro mdipie...@cs.depaul.edu wrote:
Can you describe what happens in the uncessful test? Do you see a new
ticket file being generate in the errors/ folder? What does it say?
Upps! Sorry false alarm. I was calling the remote server with the port and
this
I suppose you want to return several positions that match (domain ==
session.target_domain) then you must not use return (as it escapes the loop
and exits the function scope). You should collect all your matches in a list
and the return the list in the end. Something like:
def check():
Yeah! shows how conservative I am :-)
On Fri, May 7, 2010 at 10:10 PM, mdipierro mdipie...@cs.depaul.edu wrote:
Massimo already answered this. But I've been using web2py from the
beginning, have a site running on it with absolutely no problems.
Upgrading
to a new release is as simple as
Encapsulating javascript code within some widgets is a good solution when
the functionality is generic. This widgets act like drop-in components.
Two examples by mr.freeze are (txs for the nice concept mr.freeze):
http://www.web2pyslices.com/main/slices/take_slice/24
+1 * (Works out of the box) All in one packages with no dependencies and no
config files
+1 * Backward compatibility
* Very easy to extend (like Python fits my brain)
Miguel
On Thu, May 6, 2010 at 4:18 PM, Álvaro Justen [Turicas]
alvarojus...@gmail.com wrote:
Hi folks,
I'm writing an
On Thu, May 6, 2010 at 6:37 AM, Anthony av201...@yahoo.com wrote:
I am brand new to web application development, and I'm looking for a
good web framework to learn in order to build a new web application
(sort of a personal task/project management system). I want it to look
(and act) like a
must
change all form error displaying functionality everywhere!
Miguel
On May 7, 7:26 am, Miguel Lopes mig.e.lo...@gmail.com wrote:
Encapsulating javascript code within some widgets is a good solution when
the functionality is generic. This widgets act like drop-in components.
Two
On Fri, May 7, 2010 at 4:06 PM, blackthorne francisco@gmail.com wrote:
Is it possible to customize the order by which models are loaded/
imported in a web2py application?
Are they loaded by alphabetical order?
Yes. They are loaded alphabetically.
It comes to my mind an idea of an
On Fri, May 7, 2010 at 3:42 PM, Miguel Lopes mig.e.lo...@gmail.com wrote:
On Fri, May 7, 2010 at 3:29 PM, mdipierro mdipie...@cs.depaul.edu wrote:
Errors in form.errors (which is a Storage object and extends a dict).
Perhaps they can be displayed somewhere else?
Yes of course
Is there a way to find the previous location / address in an action?
For example:
Currently in www.domain.com/a/c/f/arg1
Follow some link to action_x
def action_x:
if something_is_wrong:
redirect(request.last_location) # including args
...
My goal is to send the user to the page is
if it's reliable or safe but request.env.http_referer
might be what you're looking for.
On May 3, 4:39 pm, Miguel Lopes mig.e.lo...@gmail.com wrote:
Is there a way to find the previous location / address in an action?
For example:
Currently inwww.domain.com/a/c/f/arg1
Follow some link
On Mon, May 3, 2010 at 11:08 PM, Jonathan Lundell jlund...@pobox.comwrote:
web2py probably isn't setting referer on a redirect, and if it did, you'd
have to interpret the URL.
No. If I have no redirect and call a location with no args the referer is
not set when I arrive at web2py's default
Hello Massimo,
I wonder if web2py's license would allow for a SaaS kind of application?
By SaaS I mean access to the site (web app) would be paid for. In practice
end users would pay a fee for accessing the site functionality. This seems
very, very borderline to me. I know you are not laywers.
On Mon, Feb 22, 2010 at 9:46 AM, Kuba Kucharski kuba.kuchar...@gmail.comwrote:
I think short answer is this is allowed.
http://osdir.com/ml/web2py/2009-09/msg01859.html
--
Kuba
You are right. But I still have doubts.
The way I see it if company X is selling access to some SaaS
On Mon, Feb 22, 2010 at 7:06 PM, Thadeus Burgess thade...@thadeusb.comwrote:
This has come up in the past, the topics on this subject are in the
google group if the search would actually work I would share the links
to the posts.
I've searched too, but what I've found in the group was, in my
There's some problem with the noticia view since the html of the news body
is rendering as text.
Congratulations on the site. Nice icon set. Is it opensource / free?
Miguel
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group,
On Wed, Jan 20, 2010 at 4:57 PM, Stefan stefan.louis.no...@gmail.comwrote:
Thanks for the heads up!
On Jan 20, 10:09 am, mdipierro mdipie...@cs.depaul.edu wrote:
The way the web normally works is that requests are initiated by the
client, not by the server.
To have the server trigger
On Mon, Jan 18, 2010 at 7:46 AM, mdipierro mdipie...@cs.depaul.edu wrote:
By custom you mean {{=form.custom.widget.field}} or something else?
That's what I mean.
if I replace the custom form with a regular form everything works fine.
Miguel
--
You received this message because you are
I'm wondering how to filter query results based on some sort of user access
rights.
Can this be accomplished with Auth?
The basic use case is giving access to all records to all users, and then
have certain users create records that will be only accessible to a limited
number of users. Limited
On Sun, Jan 17, 2010 at 4:50 PM, mdipierro mdipie...@cs.depaul.edu wrote:
Yes. Look into auth.accessible_query.
For example:
db(auth.accessible_query('read', db.mytable)).select(db.mytable.ALL)
returns a all records of mytable that current logged in user has
access to:
This does nested
Cool!
Has soon as I clean somethings I'll upgrade my development version and
check!
Miguel
On Sun, Jan 17, 2010 at 9:27 PM, mdipierro mdipie...@cs.depaul.edu wrote:
I have rewritten some of the code that deals with dropdowns, in trunk.
In particular now you can do
IS_IN_SET(...,sorted=True)
On Sun, Jan 17, 2010 at 10:55 PM, mdipierro mdipie...@cs.depaul.edu wrote:
No auth takes security by the book. If used everything is restricted
unless permission is granted explicitly.
In your case is would just add a Field
('private','boolean',default=False) and if a user tried to access a
1 - 100 of 134 matches
Mail list logo