I solved my issue by putting the block with the new content before the
extend on the page.
Weird as it is, when you do that it won't print the content in the place it
was but only in the block locations defined.
I suppose that was the intended result, am I right?
BR,
Jason Brower
On Tue, Jun 9,
Hi Ramos,
I fixed an issue in the Add REPL support command
I pushed the changes so w2p plugin should be updated automagicly via
PackageControl.
If you still have issues please let me know
Regards
Greg
2015. június 9., kedd 17:38:25 UTC+2 időpontban Ramos a következőt írta:
>
> I cant install we
Regarding the appending of common fields, seems to work for me when its
declared at the beginning of the model file, not end. Does the placement
matter, can anyone confirm/deny?
On Sunday, March 24, 2013 at 5:18:39 AM UTC+8, Peter Etchells wrote:
>
>
> #this at end of model
>
> #example of extr
Trying to go back to that point in time I think it has to do with something in
the database that does not agree with how things are that is all that I can
recall o wonder if you can go back to previous conversations had
Sent from my iPhone
> On Jun 9, 2015, at 5:46 PM, Evan Caldwell wrote:
>
vue.js look like a stripped version of ractive.js. The syntax is identical
for what it provides.
On Tuesday, 9 June 2015 16:36:49 UTC-5, Ramos wrote:
>
> No, of course not.
>
> On the contrary, i know hate angularjs after reading about vuejs.
>
> I wish i knew it before
>
> 2015-06-09 19:58 G
Have you seen this :
https://www.kickstarter.com/projects/nickjj/build-a-saas-app-with-flask-and-deploy-it-with-doc?ref=category
web2py has almost everything out of the box...
:)
Richard
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2
I'm getting this same error and cannot figure it out. Any help would be
much appreciated.
On Wednesday, July 16, 2014 at 4:12:28 PM UTC-6, Jakob Hartman wrote:
>
> name 'step' is not definedVersionweb2py™Version
> 2.9.5-stable+timestamp.2014.03.16.02.35.39PythonPython 2.7.8:
> /Library/Frame
The "represent" attribute doesn't apply to form widgets. For that, you will
need to create a custom widget and specify the "widget" attribute of the
Field.
Anthony
On Tuesday, June 9, 2015 at 4:51:59 PM UTC-4, i...@softmanufacture.com
wrote:
>
> Hello,
>
> The represent works fine for grid vie
On Tuesday, June 9, 2015 at 4:51:59 PM UTC-4, Chaitu P wrote:
>
> Where should I write this. Is it in controller or view
>
It depends on where you define the form. If you create the form using the
FORM or SQLFORM helpers in the controller, then that's where you do it. If
you create the form usi
according to anthony code, it seems to write in controller and then in view
just write {{=form}}
best regards,
stifan
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (
No, of course not.
On the contrary, i know hate angularjs after reading about vuejs.
I wish i knew it before
2015-06-09 19:58 GMT+01:00 Dave S :
>
>
> On Tuesday, June 9, 2015 at 3:21:55 AM UTC-7, Ramos wrote:
>>
>> another one bites the dust.
>>
>>
> "bites the dust" is used for something
I am a newbie. I am trying to build a web interface w/web2py that will have
a leftsidebar menu as part of the layout for all views. I know that you can
set a global via the controllers return dict. like:return dict(form=grid,
left_sidebar_enabled = True)But how do I get the menu there, that
I am running postgresql 9.2
Yep you were right I had not set default schema correctly. (face palm)
I also discovered the command: db.executesql("set search_path to public;")
Thanks for reply
On Monday, June 8, 2015 at 8:32:30 PM UTC+10, Niphlod wrote:
>
> except from the obvious "seems that th
I have written a rest api with web2py and am trying to consume the api
using Volley in my my Android app. I consistently get an error response of
"Unexpected response code 401".
This appears to be an auth issue but I'm not sure exactly what I have to
do. Is there a specific auth library to use?
Hello,
The represent works fine for grid view but
I need to apply represent function for the add, edit forms.
db.product.price.represent = lambda x, row: current.currency.format_price(x)
Inside html template I use {{=form}}
as well as {{=form.custom.widget.price}}
Thank you for the help.
--
Where should I write this. Is it in controller or view
On Mon, Jun 8, 2015 at 4:53 AM, Anthony wrote:
> If you really need the id's in the URL to which the form is submitted, you
> can specify the form's "action" attribute:
>
> form = FORM(..., _action=URL(..., vars=dict(question_id=question_id,
Thanks for the pointers. @Massimiliano, the suggestion is a good one but I
found my pg_hba.conf file was OK. I finally got this working by rebooting
the machine, so I'm closing the issue.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2p
alright, well you are going to have to modify the client.py for
pysimplesoap then in order to achieve this.
I'd suggest you add a variable to the class like 'USERPWD' and populate it.
Take a look at lines 75+.
See all those 'setopt' calls? Add in your own for HTTPAUTH and USERPWD ...
On Tuesda
Paste the whole code here if you can, because it is really hard to see the
relation between your issue with menu and the "psedo" code you show above...
On Tue, Jun 9, 2015 at 3:07 PM, LoveWeb2py wrote:
> No errors, Richard. I checked in Chrome. It looks like the div's are all
> okay too. Wasn't
No errors, Richard. I checked in Chrome. It looks like the div's are all
okay too. Wasn't sure if anyone else had this problem.
A little more insight:
I select a record by doing
{{myrecords =
db(db.table.field==db.anothertable.anotherfield).select(db.table.field.ALL)}}
then i check to see {
On Tuesday, June 9, 2015 at 3:21:55 AM UTC-7, Ramos wrote:
>
> another one bites the dust.
>
>
"bites the dust" is used for something that (or someone who) has been shot
down; a final face-plant.
Are you saying the link below is a dead tool?
> http://vuejs.org/guide/index.html
>
> the docs
Hello Jason,
There is this issue open : https://github.com/web2py/web2py/issues/772
Though, I am not sure I understand you issue...
Richard
On Tue, Jun 9, 2015 at 3:07 AM, Jason (spot) Brower
wrote:
> I think I found a bug with blocks.
> In my base_layout.html
> {{block page_title}}{{end}}
Did you check for js error in chrome dev tool?
You must have an error somewhere, a missing lib or something...
On Tue, Jun 9, 2015 at 1:02 PM, LoveWeb2py wrote:
> Sometimes my menu just stops working and users can't click the links.
>
> It's specific to one page that uses a modal and bootstrap.
Sometimes my menu just stops working and users can't click the links.
It's specific to one page that uses a modal and bootstrap. Is there any
known reasons of why this might be happening and what could I check to
troubleshoot?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documen
Someday, I'll try ansible. Spelling correction to the rescue.
On Sunday, June 7, 2015 at 7:51:06 PM UTC-7, Lewis wrote:
>
> Thanks for all this.
>
> So, the world seems to back UWSGI as the preferrred solution. I'll get
> over it. I see that you are saying that once when one does need
> perfo
if you'r ecoming from an older version, the structure of packages changed a
bit and so the usual "unzip over it" doesn't work . Try to start with a
"unzip" in a fresh folder and then copy over your applications only. it
should work fine.
On Tuesday, June 9, 2015 at 10:47:54 AM UTC+2, Tomeu Roig
ok, the fix is here https://github.com/web2py/pydal/pull/211
Paolo
On Tuesday, June 9, 2015 at 10:44:59 AM UTC+2, tim.n...@conted.ox.ac.uk
wrote:
>
> Lovely! I was just about to post this problem.
>
> On Tuesday, 9 June 2015 07:56:35 UTC+1, Paolo Valleri wrote:
>>
>> I see the problem now, than
I cant install web2py sublimeRepl via
W2p:Add sublimeREPL support
Just see on status bar "Loading Repositories " and nothing more
then i search for it and i get this only
[image: Imagem inline 1]
Any help ?
i´m on windows 7
2015-05-21 17:21 GMT+01:00 António Ramos :
> XDebug looks nice but is
thanks for the solution Anthony, it works pretty well
Francisco Tomé Costa
+351 918412636 <+351918412636>
https://www.linkedin.com/in/franciscocosta
On Tue, Jun 9, 2015 at 4:19 PM, Anthony wrote:
> On Tuesday, June 9, 2015 at 10:48:25 AM UTC-4, Francisco Costa wrote:
>>
>> Marin: Yes!
>>
>> An
On Tuesday, June 9, 2015 at 10:48:25 AM UTC-4, Francisco Costa wrote:
>
> Marin: Yes!
>
> Anthony: Well I was wondering if there was a simple solution. Never used
> functools before
>
In a model file:
import functools
URL = functools.partial(URL, scheme=True, host=True)
Anthony
--
Resources:
Marin: Yes!
Anthony: Well I was wondering if there was a simple solution. Never used
functools before
Francisco Tomé Costa
+351 918412636 <+351918412636>
https://www.linkedin.com/in/franciscocosta
On Tue, Jun 9, 2015 at 3:33 PM, Anthony wrote:
> On Tuesday, June 9, 2015 at 9:32:48 AM UTC-4, F
On Tuesday, June 9, 2015 at 9:32:48 AM UTC-4, Francisco Costa wrote:
>
> I was looking for a classy way to change the default, didn't want to
> rewrite the URL() function
>
Note, the suggested solution is not re-writing the URL() function -- it is
re-defining the URL variable in the global envir
Ok, sorry. I don't think there is a way to do it like that. Looking for
something similar to auth.settings, right?
Marin
On Tue, Jun 9, 2015 at 3:32 PM, Francisco Tomé Costa <
m...@franciscocosta.com> wrote:
> I was looking for a classy way to change the default, didn't want to
> rewrite the URL
Thanks for your reply! I used the proxy because I checked from the source
code that proxy is the only place I can pass my username and password to
pycurl from SoapClient class.
I can connect to this SOAP service directly with pycurl using the code you
provided. But I want to create a SoapClient
Since they support web2py, they didn't progress much... I mean they release
at least 2 PyCharm version where the focus were clearly over improving
support for Django project support. But but no improve over web2py support.
My guess is that their users base are Django users so they prioritize those
I was looking for a classy way to change the default, didn't want to
rewrite the URL() function
Francisco Tomé Costa
+351 918412636 <+351918412636>
https://www.linkedin.com/in/franciscocosta
On Tue, Jun 9, 2015 at 1:14 PM, Marin Pranjić
wrote:
> Ok, as you wish...
>
> Put this in model file:
>
Ok, as you wish...
Put this in model file:
default_URL = URL
URL = < new code here >
Marin
On Tue, Jun 9, 2015 at 1:30 PM, Francisco Tomé Costa <
m...@franciscocosta.com> wrote:
> but that way I would have to rewrite all my apps code, can't I change the
> default variables in models?
> I woul
but that way I would have to rewrite all my apps code, can't I change the
default variables in models?
I would like to have host=True by default
Francisco Tomé Costa
+351 918412636 <+351918412636>
https://www.linkedin.com/in/franciscocosta
On Tue, Jun 9, 2015 at 12:26 PM, Marin Pranjić
wrote:
You don't need to force it. Use functools.partial to make your own URL
helper instead.
Marin
On Tue, Jun 9, 2015 at 12:21 PM, Francisco Costa
wrote:
> How to force web2py to make all URL's absolute instead of having to write
>
> URL(..., scheme=True, host=True)
>
> in every link?
>
>
> --
> Re
Videos...
https://laracasts.com/series/learning-vuejs/episodes/1
2015-06-09 11:21 GMT+01:00 António Ramos :
> another one bites the dust.
>
> http://vuejs.org/guide/index.html
>
> the docs are very extensive
>
> 2015-06-08 17:38 GMT+01:00 Derek :
>
>> I just hate non-compliant html. I've always
another one bites the dust.
http://vuejs.org/guide/index.html
the docs are very extensive
2015-06-08 17:38 GMT+01:00 Derek :
> I just hate non-compliant html. I've always been drawn to html compliant
> templates, like TAL (Template Attribute Language).
>
> In any case, I see that it generates h
How to force web2py to make all URL's absolute instead of having to write
URL(..., scheme=True, host=True)
in every link?
--
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 update web2py to last version from:
(wget http://www.web2py.com/examples/static/nightly/web2py_src.zip)
After start all apps included admin give errors.
I make a cat in console, and get this info in error.
type object 'DAL' has no attribute
'Field'
VERSION:
Version 2.11.2-stable+timestamp.2
Lovely! I was just about to post this problem.
On Tuesday, 9 June 2015 07:56:35 UTC+1, Paolo Valleri wrote:
>
> I see the problem now, thanks for pointing it out.
> I'll post a fix later today.
>
> Paolo
>
> 2015-06-08 22:11 GMT+02:00 Donatas Burba >:
>
>> This is failing example:
>>
>> db=DAL('
"actively refused it" means that the socket you're pointing to is not
open(able) . Review the listening ports and/or the firewall.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/
Is your pg_hba.conf allowing your connections?
On Tue, Jun 9, 2015 at 9:47 AM, weheh wrote:
> Alright, a little further now. I figured I needed to reinstall/upgrade
> psycopg2, which I did. Now I'm getting the ticket:
>
> Traceback (most recent call last):
> File "G:\web2py\gluon\restricted.py
Alright, a little further now. I figured I needed to reinstall/upgrade
psycopg2, which I did. Now I'm getting the ticket:
Traceback (most recent call last):
File "G:\web2py\gluon\restricted.py", line 227, in restricted
exec ccode in environment
File "G:/web2py/applications/myapp/models/0_
There is no password for this zip file.
Either:
You have a malware trying to probe for your passwords.
You have an extracting program that isn't behaving properly.
You downloaded the wrong file.
What tool are you using to extract the file?
On Mon, Jun 8, 2015 at 3:46 AM milad ranaei siadat
wrote
I think I found a bug with blocks.
In my base_layout.html
{{block page_title}}{{end}}
And this in my view file...
{{block page_title}}
Dashboard
{{end}}
This will print the replacement block in the correct location. BUT it will
also print it where ever I put it in the html.
Am I understanding the
49 matches
Mail list logo