Hi,
Let me describe what I want to achieve. There are 2 domains,
myapp.domain.name and forum.domain.name. I want login one domin and
automatically login at another domain. From book and search, CAS could be a
solution. Thus I set up auth.domain.name and setting
cas_prodiver=auth.domain.name.
I had an idea to work around the problem...
Define the blob field in the table and then set the "uploadfield"
parameter (of the "upload" field) AFTER table creation! Perfect (I
thought), I'll have the contents of the uploadfield as a Field (not a
string) and I'll have the "table" attribute of
Look this xmlrpc http://www.web2py.com/book/default/chapter/10
Ovidio Marinho Falcao Neto
ITJP.NET.BR
ovidio...@gmail.com
83 8826 9088 - Oi
83 9336 3782 - Claro
Brasil
2013/7/29 Monika Yadav
>
Well, thank you very much lesssugar, adding to my controller did indeed
work, so at least i can move forward now;)
For anyone else, this is what worked:
form = SQLFORM(db.games, hidden=dict(status="active"))
On Monday, July 29, 2013 7:23:30 PM UTC-4, lesssugar wrote:
>
> Take a look at the bo
I'm hitting a brick wall when trying to convert my table (under PostgreSQL)
to use "blob" storage. The problem seems to be that web2py doesn't
properly recognize and initialize the blob field. For example, when I
tried this:
db.define_table("fileobject",
Field("upl
Hi Massimo --
Yes, that should to it. I have a live cgiFieldStorage object at the
breakpoint and when I enter "x is not None" reports True.
-- Joe
P.S. still having upload issues, but that's a separate thread!
On Monday, July 29, 2013 5:46:29 AM UTC-7, Massimo Di Pierro wrote:
>
> Good catch
Take a look at the book:
http://web2py.com/books/default/chapter/29/07/forms-and-validators?search=hidden+fields#Hidden-fields
So try defining your hidden field with *hidden *attribute:
SQLFORM(..., hidden=dict(hidden_field_name=hidden_field_value))
It should work.
On Monday, July 29, 2013 6:4
Probably the most comfortable way to do it is to use *executesql:*
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#executesql
*
*
On Monday, July 29, 2013 12:00:20 PM UTC+2, Denis Rykov wrote:
>
> Please help me to write the following SQL query using DAL:
>
> SELECT ind
+1
On Monday, 29 July 2013 14:03:11 UTC-5, Niphlod wrote:
>
> try it and report any findings: I didn't tried it yet. Anyway, bootstrap
> is not "part of web2py". I assume that with the final release of bootstrap
> 3 someone will present an "adjusted" welcome application that embeds it.
>
> On Mo
Hi,
We're running into an issue with our restful api where a certain method is
returning a json string (eg: " ['one', 'two', 'three'] "), however web2py
wants to render this as a string even when the request.extension is forced
to json, and the response.view is forced to generic.json. I've track
I already suggest this... But we could make a Field() methode that let
insert HTML attribute to a field like html5 attributes or any other
attribute without the obligation to create a custom widget or manipulate a
generated form, etc.
Ex.:
Field('input', 'type', ..., html_attr=dict('_placeholder'
try it and report any findings: I didn't tried it yet. Anyway, bootstrap is
not "part of web2py". I assume that with the final release of bootstrap 3
someone will present an "adjusted" welcome application that embeds it.
On Monday, July 29, 2013 8:46:02 PM UTC+2, VP wrote:
>
> Can I simply swap
Can I simply swap with web2py's bootstrap files , expecting no technical
glitches?
On Monday, July 29, 2013 9:01:47 AM UTC-5, Niphlod wrote:
>
> just to inform everybody that 3.0 is coming out
> http://twitter.github.io/bootstrap/
>
--
---
You received this message because you are subscribed
Take a look at errormator. I use it in some of my non-web2py apps simple
enough.
On Sunday, July 28, 2013 5:51:28 PM UTC-7, Jake Angulo wrote:
>
>
> Hi Guys,
>
> I develop using vi & notepad++ and find it very difficult to debug with
> these limited tools. I debug by runtime output / stdout &
I heard that "pdb" is nice!
Richard
On Mon, Jul 29, 2013 at 10:01 AM, Niphlod wrote:
> the standard logging module is pretty fine !?!?!?
>
>
> On Monday, July 29, 2013 2:51:28 AM UTC+2, Jake Angulo wrote:
>>
>>
>> Hi Guys,
>>
>> I develop using vi & notepad++ and find it very difficult to debu
"python web2py.py"
--
---
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/g
Neil,
Sorry it has taken a while to respond. Been away..
Your code is very useful, and helps, thanks.
The ordering of the vars is, according to PayPal, important (and they say
so often). However, as you say, this is really not the case. Frustrating.
- but it was a good opportunity for me to lear
On 29 Jul 2013, at 6:46 AM, Eduardo Cruz wrote:
> How can I get in the view the ip of the web2py server?
>
>
Try request.env.server_addr
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving
On Sunday, July 28, 2013 11:23:41 PM UTC-4, Jorge Caicedo wrote:
> For programming in web2py I just need to know Python?
You need to know Python, but you also need to know how web2py works, so
please read the book.
> (I'm a beginner with Python but when I try to do something in WEB2PY it
>
did you try the web2py book ? start from here
http://web2py.com/books/default/chapter/29/02/the-python-language
On Monday, July 29, 2013 5:23:41 AM UTC+2, Jorge Caicedo wrote:
>
> For programming in web2py I just need to know Python?, (I'm a beginner
> with Python but when I try to do something
there's no default "read-only" in client-side libraries that connects to a
database. What do you need specifically ?
On Monday, July 29, 2013 1:49:11 PM UTC+2, Monika Yadav wrote:
>
> how to create a readonly connection to remote db without using
> executesql...i want to use the dal properties
>
just to inform everybody that 3.0 is coming out
http://twitter.github.io/bootstrap/
--
---
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...@goo
the standard logging module is pretty fine !?!?!?
On Monday, July 29, 2013 2:51:28 AM UTC+2, Jake Angulo wrote:
>
>
> Hi Guys,
>
> I develop using vi & notepad++ and find it very difficult to debug with
> these limited tools. I debug by runtime output / stdout & doing a lot of
> print.
>
> Is t
How can I get in the view the ip of the web2py server?
--
---
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 option
Good catch. I changed "if value" into "if value is not None". Does that fix
the problem?
On Sunday, 28 July 2013 22:50:14 UTC-5, Joe Barnhart wrote:
>
> Guess what??
>
> I've found this bug again -- this time in the DAL module! Here is the
> affected code, it's a part of the Table class:
>
>
how can i connect a web2py application to a remote database and use it for
fetching information without creating any tables in it and without defining
any tables in it
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from
Hi there
I have a similar issue, on the admin login page my password isn't accepted
although i'm quite confident it is correct. When i enter something random
an the orange bar show "invalid password", when i enter my password the
orange bar is blank but it does not proceed to another page.
An
how to create a readonly connection to remote db without using
executesql...i want to use the dal properties
--
---
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
On Fri, Jul 26, 2013 at 7:42 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> Login into http:///admin
> You will find that the app you are trying to access (/ can be "welcome" or
> "init") is disabled. An app can be enabled or disabled from the web
> interface. When it is disabled
Hi Guys,
I develop using vi & notepad++ and find it very difficult to debug with
these limited tools. I debug by runtime output / stdout & doing a lot of
print.
Is there a good Py logging library (like log4j in java) that also works
with web2py?
Appreciate any recommendeations.
Rgds,
--
--
I have the following error when I make this request:
*https://localhost/example/api/rest/PERSONS_has_ANIMALS*
*
*
type 'exceptions.AttributeError'> 'Table' object has no attribute '_id'
Versionweb2py™Version 2.5.1-stable+timestamp.2013.06.06.15.39.19PythonPython
2.7.3: /usr/bin/python (prefix: /u
For programming in web2py I just need to know Python?, (I'm a beginner with
Python but when I try to do something in WEB2PY it doesn't work like
Python)
nota=7
> print 'Nota:'
> print nota
> print ''
> if nota>=9:
> print 'Promocionado'
> elif nota>=4:
> print 'Regular'
> else:
> pr
yes. As soon as it works we can make it a module.
On Saturday, 27 July 2013 12:49:15 UTC-5, Alan Etkin wrote:
>
> https://github.com/mdipierro/web2py-haystack
>>
>
> Works fine with sqlite and a trivial case
>
> ## Haystack insert test ##
> Test time: 0:00:00.398590
Please help me to write the following SQL query using DAL:
SELECT indicator.*, v.date, v.value FROM indicator
LEFT JOIN (
SELECT value.value, _.indicator, date
FROM (SELECT indicator, min(client_date) AS "date" FROM value WHERE
created_by = 1 GROUP BY indicator) _
LEFT JOIN va
The haystack [IMHO "needle_finder" gives a better idea of the objective
:-)] could be extended to support this and also sqlite FTS4, mysql FTS,
that would allow one to choose between a dedicated external component or
keep using the db already in place.
2013/7/29 Johann Spies
> Postgresql has pow
35 matches
Mail list logo