ooops, meant layout.html, not menu.py
anyway, this looks much better (it's in layout.html):
{{block header}}
{{=response.title or request.application}}
{{=response.subtitle or ''}}
{{end}}
Is there a
I converted from old template to new so it's a little hard to compare
what's different
In the new menu.py, I have this
{{block header}}
{{end}}
In the old menu.py I had this
{{=response.title or request.
On Monday, March 14, 2016 at 5:58:13 PM UTC+5:30, Mirek Zvolský wrote:
>
> allwaysdata.com, but has only 10M place (about 6M after you install
> web2py-min), good ssh, cron, no problem to install everything.
> forpsi.com paid, but only 2$/month for full VM
>
> but forpsi isnt for web2py,right?
>
On Monday, March 14, 2016 at 5:58:13 PM UTC+5:30, Mirek Zvolský wrote:
>
> allwaysdata.com, but has only 10M place (about 6M after you install
> web2py-min), good ssh, cron, no problem to install everything.
> forpsi.com paid, but only 2$/month for full VM
>
>
>
> Which one's the best to go for?
but forpsi isn't for web2py , right?
On Monday, March 14, 2016 at 5:58:13 PM UTC+5:30, Mirek Zvolský wrote:
>
> allwaysdata.com, but has only 10M place (about 6M after you install
> web2py-min), good ssh, cron, no problem to install everything.
> forpsi.com paid, but only 2$/month for full VM
>
>
Hi,
Currently I have a table defined like so:
db.define_table("patient",
Field('first_name'),
Field('last_name'),
Field('date_of_birth', 'date'),
)
db.patient.first_name.widget=SQLFORM.widgets.autocomplete(request,
db.patient.first_name, limitby=(0,10), min_length=1)
db.patient.las
Check your layout and make sure they are included. If you're using version
control (or have some older backups), see if you can search to figure out
at what point you removed them.
Anthony
On Tuesday, April 12, 2016 at 11:11:16 PM UTC-4, Alex Glaros wrote:
>
> I did something and now response.t
Hi can you try:
mail.send(to='y...@example.com', subject=subject, message=msg,
headers={'Content-Type' : 'text/html'})
On Tuesday, April 12, 2016 at 8:28:56 PM UTC-4, Scott Hunter wrote:
> According to the current book, I should be able to do this:
>
> mail.send('y...@example.com ',
> 'Messag
I did something and now response.title and response.subtitle don't appear.
I tried re-copying the menu.py from welcome app into my app but still no
titles
where did I mess it up?
thanks
Alex Glaros
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com
According to the current book, I should be able to do this:
mail.send('y...@example.com',
'Message subject',
('Plain text body', 'html body'))
When I try:
msg = ("Text only","HTML Only")
mail.send(to='y...@example.com', subject=subject, message=msg )
the text part
Are you looking for somethings like this
my_visible_projects = db((db.project.public == True) |
(db.project.created_by == auth.user_id)).select()
This of course assumes the project table has a public boolean field and has
a created_by field with the user who created it,
Otherwise you need to e
On Tuesday, April 12, 2016 at 2:28:05 PM UTC-7, rahul2499 wrote:
>
> In this,we have to make distinction such that the public projects are
> visible to every user and private projects are visible to only owner of the
> user.I'm not able to view the projects in public and private modes.Please
> h
On Tuesday, April 12, 2016 at 2:28:06 PM UTC-7, naveen pk wrote:
>
> Kindly please look into it.
> Thanks.
>
duplicate
/dps
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/lis
On Tuesday, April 12, 2016 at 2:28:06 PM UTC-7, naveen pk wrote:
>
> Kindly Please look into this.
>
Seems pretty straight forward ... it thinks you're using a reserved name
for one of your field names.
For more detail, please post your table definitions.
/dps
--
Resources:
- http://web2py
yes it is possible. just use this template.py file
(https://github.com/web2py/web3py/blob/master/gluon/template.py) has no
dependencies and the render function therein.
On Sunday, 10 April 2016 10:07:48 UTC-5, rajjmatt...@gmail.com wrote:
>
> On that note, is it possible to use web2py template l
There is no disagreement. Here is an example of GOOD in the nginx docs:
http {
index index.php index.htm index.html;
server {
server_name www.example.com;
location / {
# [...]
}
}
server {
server_name example.com;
location / {
Just erase all your sessions.
--
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
"
web2py 2.14.4 is out.
It fixes some a problem with CAS and some style issues with examples.
It also includes (and passes) a lot of new tests.
Thanks to Richard Vezina, Simone and Leonel for doing most of the work in
this release.
Massimo
--
Resources:
- http://web2py.com
- http://web2py.com/
Hi
When trying to run pop-up window,I'm getting this error "Error: Permission
denied to access property "document"",, Anyone with experience how to get
around this error? regards
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source
In this,we have to make distinction such that the public projects are
visible to every user and private projects are visible to only owner of the
user.I'm not able to view the projects in public and private modes.Please
help me in a form of an example
--
Resources:
- http://web2py.com
- http:/
Use javascript, make an array of image URLs and then use setTimeout to
change them every 5 seconds. Either that or use of the many jquery plugins
to do stuff like that, it's basically a slider.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py
It's running in linux with apache, i'm not exactly sure what you are
asking, how are we launching web2py?
On Tuesday, April 12, 2016 at 3:33:51 PM UTC-4, Niphlod wrote:
>
> every process that is running the web2py app should have permissions to
> read and write into the web2py folder.
> if a se
hello one and all,
i am using web2py to scrape a website. so web2py is a client in this case,
not so much the server, but it is running on centos and apache. i am
trying to scrape a website and at this point, just trying to login. if i
trace all of the network traffic in firefox, i will load
every process that is running the web2py app should have permissions to
read and write into the web2py folder.
if a sessions folder isn't found when the first request hits the app,
web2py creates it, but it does so under the current security environment...
Whoever is changing the permissions is
Hello everyone!
So we have experienced an odd error recently and i'm hoping someone could
help shed light on what happened. We have several applications running on
centOS / apache and yesterday we began to experience the apps going down
periodically and then coming back up. Another odd thing
supposing that I have my images in db, how do I change the background image
every 5 secs?
Please help me with a clean code.
Thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues
On Tuesday, April 12, 2016 at 9:41:12 AM UTC-7, Auden RovelleQuartz wrote:
>
> hello,
>
> after upgrading to latest version, I start getting this error:
>
This is the interesting part:
> S'Traceback (most recent call last):\n File
> "/home/www-data/web2py/gluon/main.py", line 438, in wsgib
--
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
"web2py-users" group.
To unsub
hello,
after upgrading to latest version, I start getting this error:
(dp1
S'output'
p2
S''
sS'layer'
p3
S'Framework'
p4
sS'code'
p5
S''
sS'snapshot'
p6
(dp7
S'ex
Try searching the user forum. There must be dozen threads on people's
experiences.
On Tuesday, April 12, 2016 at 9:40:05 AM UTC-4, Stephen Duisberg wrote:
>
> I am from India. Which will be best for me.
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://githu
I never ever ever faced the issue . But I trust my VPS with its I/O :-P
On Tuesday, April 12, 2016 at 10:39:27 AM UTC+2, Martin wrote:
>
> Ok, yes i have decided to switch to a mysql db. Still think its a little
> strange since i have less then 1k page views/day and this happens every day
> now.
I am from India. Which will be best for me.
--
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 Go
Thanks, I have downloaded the BeautifulSoup libray and is a beautiful
library !
On Tuesday, 12 April 2016 13:48:28 UTC+2, Anthony wrote:
>
> The parser used by TAG cannot handle unbalanced tags in HTML. You'll have
> to switch to a more sophisticated parser, such as Beautiful Soup.
>
> Anthony
>
The parser used by TAG cannot handle unbalanced tags in HTML. You'll have
to switch to a more sophisticated parser, such as Beautiful Soup.
Anthony
On Tuesday, April 12, 2016 at 3:50:52 AM UTC-4, Alessio Varalta wrote:
>
> I retrieve a file with requests and after i make
>
> r = requests.get(hre
Ok, yes i have decided to switch to a mysql db. Still think its a little
strange since i have less then 1k page views/day and this happens every day
now. Thanks for the advice!
On Tuesday, 12 April 2016 09:39:04 UTC+2, Niphlod wrote:
>
> the system can be strained as long as it gets but a malfor
Hi, I want to parsing a html file with elements i see on the guide
http://web2py.com/books/default/chapter/29/05/the-views#Server-side-DOM-and-parsing
so my question is when i retrieve a object how i can access to the value?
for example
parsed_html=parsed_html.elements('a')
for item in p
the system can be strained as long as it gets but a malformed database is
an indicator that the VPS I/O subsystem is not responding correctly, or
that the VPS gets brutally rebooted from time to time. There's nothing
web2py can do. That being said, going into production with a maybe
write-inten
37 matches
Mail list logo