I have made much progress on this since I posted and it got approved.
1) I was using python syntax in a bash script... :-) I removed the () and
switched to single quotes.
DAEMON_ARGS='web2py.py -a "t3st3st" -i 192.168.1.20 -p 8000
-c /usr/share/ssl-cert/server.crt -k /usr/share/ssl-cert/server.k
That's not really an issue, it's using a rotating log, once log reaches max
size it creates one of those numbered ones, copies the content there and
creates a new one. Your most recent log is the file without a number.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
One problem is that you want to select after you process the form:
def workouts():
r = db.workouts(request.args(0))
form = SQLFORM(db.workouts, r).process()
if form.accepted:
response.flash = 'form accepted'
elif form.errors:
response.flash = 'form has errors'
r
https://github.com/web2py/web2py/archive/master.zip
note, you have to use formstyle. For auth forms this is now set by default
in db.py.
form = SQLFORM(..., formstyle = SQLFORM.formstyles.bootstrap3)
grid = SQLFORM.grid(..., formstyle = SQLFORM.formstyles.bootstrap3)
grid = SQLFORM.smartgrid(...
I'm new to Web2Py, so I am creating a (what I thought was a) simple app
that tracks progress of a workout routine. I have a database (db.workouts)
that has information such as Workout Name, Rating, Completed, etc. I have 2
fields(rating, completed) I would like to update via a form. I have tried
Thank you!!
Regards Frank
Op zaterdag 9 augustus 2014 04:10:19 UTC+2 schreef Massimo Di Pierro:
>
> Remove this {{=BEAUTIFY(response._vars)}}
>
> response._vars is {'form':form}.
>
>
>
> On Friday, 8 August 2014 03:42:41 UTC-5, Frank Claessen wrote:
>>
>> Hi all,
>>
>> I am working through the m
where i can find the web2py version with bootstrap
Le samedi 9 août 2014 09:17:28 UTC+2, Massimo Di Pierro a écrit :
>
> also help us test the grid in trunk.
>
> On Saturday, 9 August 2014 02:13:38 UTC-5, Massimo Di Pierro wrote:
>>
>> Bootstrap 3 is in trunk now. Please help us test it.
>> Also h
In the near future we may have a smarter mechanism for this
On Saturday, 9 August 2014 15:46:49 UTC-5, Spokes wrote:
>
> Thanks, Massimo. I wasn't aware of that. Looks like I should start
> changing certain fields to "uploadseparate = True" rather than the other
> way around.
>
> However, a
Just wanted to let you know, I abandoned this install and started over...
I'm going to stick with the included rocket server since I have no need to
run anything elsewhere then on the BBB.
Just makes it easier to manage.
On Sunday, August 3, 2014 10:28:15 AM UTC-10, Patrick Walters wrote:
>
> A
I'm setting up on a BeagleBone Black Rev C running Debian and following
along with the book where I can.
I should mentions I installed web2py using apt-get and my Debian is Wheezy.
I never use the desktop on my BBB, so I want everything to work without GUI.
I was able to run web2py from the CLI a
Thanks, Massimo. I wasn't aware of that. Looks like I should start changing
certain fields to "uploadseparate = True" rather than the other way around.
However, as I mentioned, in the demo mentioned in this thread, when files
are deleted, the folders that used to contain them remain. Is this a
Nothing special. Zurb Foundation. However, this is still a work in
progress.
On Saturday, 9 August 2014 17:50:41 UTC+2, Cliff Kachinske wrote:
>
> Very nice. I like the way the pages adapt to changing viewport sizes. Good
> decision on shrinking the pictures across the top, I think.
>
> I
is there a possibilty to change the number of folders/files or set the folders
to year/month/day?
--
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 rec
uploadseparate makes sure that if you have many uploads they are stored in
different (sub)folders. This is important for speed because if you have
more than 1000 files in a folder accessing the file system is a bottle
neck. This does not affect the demo but it is good practice to use
uploadsepa
Nice!
On Saturday, 9 August 2014 09:06:28 UTC-5, Elcimar wrote:
>
> Hi.
>
> I created a small bgp looking glass here at work so our partners/customers
> can get information of the status of our network.
> http://lg.startnetdigital.com.br/
>
> Feedback apreciated =)
>
--
Resources:
- http://web2
I agree with Massimo. Unless your situation forbids it, the simplest thing
would be to code on your local workstation and push code to the server with
git or whatever version control system is in use.
If there's no version control system on the server you can even use rsync.
But you should use
Very nice. I like the way the pages adapt to changing viewport sizes. Good
decision on shrinking the pictures across the top, I think.
If you don't mind my asking, what CSS/javascript magic are you using? Or is
it all htm5?
On Saturday, August 9, 2014 11:16:24 AM UTC-4, Najtsirk wrote:
>
> Hi,
Hi,
just wanna share my site I've made with web2py www.sklad05.si
Best,
Kristjan
--
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 messa
Thank you for the demo. However, I'm curious as to why it's necessary to
use "uploadseparate=True" for the upload fields in the db table. Is there a
way to get this to function with "uploadseparate=False" instead? If not, is
there a convenient, automatic way, when a file and its thumbnail are
d
Hi.
I created a small bgp looking glass here at work so our partners/customers
can get information of the status of our network.
http://lg.startnetdigital.com.br/
Feedback apreciated =)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
Okay thanks Niphlod.
That is a difference between the two installations, the working one has a
later version of sqlite, with WAL enabled.
I will see if I can work around accessing sqlite.
Peter
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2
Did you manage to figure this out?
I am trying out the gluon/ contrib/ imageutils and it isn't working for me
either.
The
db.table_name.picture.requires = RESIZE(200, 200)
and
db.table_name.thumbnail.compute = lambda row: THUMB(row.picture, 200, 200)
Both are not working for me. Instead the
you create a web2py app simply by copying the welcome app
cd applications
mkdir myapp
cp -r welcome/* myapp/
But I do not know what you mean by working on a remote server. I think
PyCharm works on the local machine. You can mount a remote filesystem I
guess but is it worth the trouble?
On Mo
also help us test the grid in trunk.
On Saturday, 9 August 2014 02:13:38 UTC-5, Massimo Di Pierro wrote:
>
> Bootstrap 3 is in trunk now. Please help us test it.
> Also help us test that existing apps are not broken.
>
> Massimo
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Docum
Bootstrap 3 is in trunk now. Please help us test it.
Also help us test that existing apps are not broken.
Massimo
--
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 Issu
25 matches
Mail list logo