what is the difference between?
T.force(request.cookies['language'].value) # learn from web2py admin app
and
T.force(response.headers['Accept-Language'].lower() )
thanks and best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
I'm using a SQLFORM.grid, using a query of the form:
db.t_dog.id.belongs(dog_ids)
But the listing is erratic; some records only appear when the list is
sorted certain ways (except for the last page); entries on each page are in
order, but entries between pages overlap.
I thought the
It worked perfectly, thanks!
However, it won't let me open the web2py file. Mind checking it out?
https://github.com/frontEndDevv/blog
On Wednesday, December 7, 2016 at 2:03:15 PM UTC-6, David wrote:
>
> Hello,
>
>
> I made my personal website with web2py a month or two ago. I's a dating
>
Like Anthony said, without seeing your code we can't help. What exactly do
you mean by "is not able to recognize date fields as date"?
As an alternative to dateutil you could also look into the Pendulum package
(https://pendulum.eustace.io/) which makes playing with dates even easier.
On
This is an XY question. Can you explain your user case?
On Friday, 9 December 2016 09:38:55 UTC-6, Amit Kumar Modak wrote:
>
> Hello,
>
> How can I make a field non-editable in SQLFORM, while it should be allowed
> to take a value in insert.
>
>
> Regards,
> Amit
>
--
Resources:
-
normaly i saw most people confused that how i can grab online free services
that increase my online presence.
--
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)
Computed fields are stored in the database. It is virtual fields that are not
stored in the database.
Anthony
--
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
Computed fields are not stored in the database so I don't think you can do the
sort of query you are trying to do. The computed field is only useful once you
have a row set to work with. My understanding of this is that you need to run
the queries against the latitude and longitude fields you
You can overrride programatically the language getting accepted language
header from client using :
language = response.headers['Accept-Language'].lower()
T.force(language)
Em sábado, 10 de dezembro de 2016 11:18:46 UTC-3, Yoel Benitez Fonseca
escreveu:
>
> Hi, folks, this is in my
Guys , good night .
I made a clone of repository of web2py to add some codes and i had some
issues..
1. Need clone a submodule join with web2py's main repository ( ok isn't a
issue , just isn't explicit a lot in documentation );
2. I added my code improvement code and ran the tests with
Into of the your folder project, text:
git init
after:
git add . # to add all to git
after :
git commit -m "Yout message commit"
after:
git remote add origin your_link_of_repository_created_in_github
after:
git push origin master
Em sexta-feira, 9 de dezembro de 2016 12:52:33 UTC-3,
Hello,
Thanks that all works now. This would be classed as a "schoolboy error" on
my part :-)
Thank you again
Simon
On Sunday, December 11, 2016 at 1:14:47 PM UTC, Anthony wrote:
>
> It has nothing to do with share.js. What you have done results in a
> Javascript error on the page, which causes
Hello everybody.
I don't find the solution for selecting what I need, selecting comments for
events in a specific area.
DB:
#Events table with a geometry fields. I use a PostGis DB.
db.define_table('events',
Field('title', type='string', requires=IS_NOT_EMPTY(), label=T('Title'
)),
It has nothing to do with share.js. However, what you have done results in
a Javascript error on the page, which causes the Javascript code to stop
working. By commenting out the src URL of the script tag, that is
equivalent to setting the URL to that of the current page, so it reloads
the
Hello.
I've in a table a json field:
Field('json_forecast', type='json'),
The values of this json field are completely displayed in the database
administration interface, and as we talk about more than 3000 characters
per row, it's not possible to use it.
Is there a way to resolve it, like
DaveS, thanks for advising and taking the time to look at this.
After further diags, I think I have figured out what was causing this.
Because I wanted to remove the little share icon at the bottom right, In my
layout.html, I had disabled js/share.js by inserting a comment hash:
script
Thanks Anthony for reply, I will try to reproduce this on dummy app and
will post it here.
One more thing, I removed join [ ((user_notice.notice = notice.id) AND
(user_notice.auth_user = 19)) ] from query [ user_notice.notice =
notice.id) AND (user_notice.auth_user = 19)) AND
17 matches
Mail list logo