Instead of the reward please try these instructions (which work for me) and
then write a blog post or a new section in the online book. :-)
1) install mysql (on mac "brew install mysql")
2) start mysql (on mac "mysql.server start")
3) sudo mysql
mysql> CREATE USER 'testuser'@'localhost' IDENTIFIE
Could you put this in the book? Thanks Tim.
On Sunday, 13 December 2015 23:21:47 UTC-6, Tim Richardson wrote:
>
> Ok. Some tips to a future me if I have to do this again.
>
> wfastcgi is now a module. So currently the deployment instructions in the
> web2py book give a download link. It's not nec
Plugins belong in app so they are only listed there. Mind a plugin is an
arbitrary set of files within an that follows the convention
plugin_[name]*. So there is no place where all plugins are listed.
You make a distinction between an app and an appliance. I am not sure what
you mean by "applia
No. I strongly recommend not using godaddy. They charge more then others.
They make it very hard to transfer the domains to others. They tend to
charge users for services they do no need.
Almost any other domain registrar is better. I use gkg.net but I know there
are many other and some are eve
>
> you should instead hide the errors, and then you could add your own via
> server-side DOM manipulation.
>
But how do i do that if i dont know when errors has happened?.
Currently the form gets automatic markup when is instantiated and later on
its modified when process is called.
But this
To elaborate.
Pyhton frameworks can run on any host that has python installed and a WSGI
connector to the web server. If you have root access you can install a web
server yourself (apahe, nginx, gunicorn, whatever) and configure it to
connect to web2py. This means any dedicated VPS can run web
web2py does not provide that functionality. It would be nice to add it.
On Tuesday, 15 December 2015 07:44:45 UTC-6, mweissen wrote:
>
> A new problem:
>
> I have a wiki with some pages, containing pictures (with the @-syntax)
> and some environment-functions (with @{f:1,2,3}-syntax). It work
Oops. I just read this, after I posted 2.13.1. When you refactor scripts,
feel free to move it to there.
On Tuesday, 15 December 2015 08:21:58 UTC-6, Niphlod wrote:
>
> IMHO it can be taken as a template but not as a provisioning tool unless
> some strict checking on the environment is done befo
kudos for finding the solution yourself and posting the solution here.
On Tuesday, 15 December 2015 11:53:35 UTC-6, Lisandro wrote:
>
> I've found the problem: the view rendered by the function has an {{include
> 'otherview.html'}} and that otherview.html had an error.
> What is strange is that w
My trick is this. Create an auth_user field like profile_completed which
default to false. Then add somewhere in models:
if auth.user and not auth.user.filled_profile:
redirect(URL('default','user/profile'))
On Wednesday, 16 December 2015 04:34:46 UTC-6, aston.ri...@gmail.com wrote:
>
> Fo
Tornado is mostly a web server. You can use tornado with web2py. In fact we
use tornado in web2py in the
gluon/contrib/websocket_messaging.py.
Of course web2py adds overhead because it parses the header, handles
language preferences, sessions, database connections, templates. Etc. You
would
Oh ok thanks Anthony, i used that :
clep
I didn't know i have to use the static folder to upload files, thx you :)
Le jeudi 17 décembre 2015 16:58:05 UTC+1, Anthony a écrit :
>
> On Thursday, December 17, 2015 at 9:34:33 AM UTC-5, Adrien wrote:
>>
>> Hi everyone,
>>
>> I'm trying to create a lin
should this be?
db.mentors.auth_user_id.requires = IS_IN_DB(db, 'auth_user.id',
'%(first_name)s', orderby = db.auth_user.first_name)
On Wednesday, 16 December 2015 17:29:21 UTC-6, Evan Caldwell wrote:
>
> I tried:
> db.mentors.auth_user_id.requires = IS_IN_DB(db, 'auth_user.id', '%(name)s'
> , o
Hi Kevin. Could you fix this issue? I'd be thankful to you if you could
give me any leads on this.
Thanks
Varun Talikoti
On Wednesday, July 25, 2012 at 5:43:34 AM UTC+5:30, Kevin Miller wrote:
>
> Hi all,
>
> Anyone using web2py instant admin?
> I have a problem with the css. I have installed t
yes and no. It is not efficient and it is not an alternative to joins. Yes
it is convenient and a little smart than you think. For example:
*row.product*
is an Reference object (extends integer) and there is no nested query.
*row.product.name *
now this does a nested query and remembers it
*r
I've set a scheduler in a new application and tasks are running.
So probably there's a problem when a app comes from a previous web2py
version.
Anyway I think it can be resolved deleting the scheduler and create it
again, but I've tried to:
Killing the worker - Ok
Delete Scheduler Ko
When I del
On Friday, December 18, 2015 at 10:45:22 AM UTC+1, Gael Princivalle wrote:
>
> I've set a scheduler in a new application and tasks are running.
>
> So probably there's a problem when a app comes from a previous web2py
> version.
>
as long as you let migration happen, no issues whatsoever.
>
>delete what ? the istantiation ?
Delete the scheduler.py file from models and all scheduler tables.
How can I do it?
Il giorno venerdì 18 dicembre 2015 10:48:23 UTC+1, Niphlod ha scritto:
>
>
>
> On Friday, December 18, 2015 at 10:45:22 AM UTC+1, Gael Princivalle wrote:
>>
>> I've set a schedul
scheduler tables can be dropped manually
deleting scheduler.py also.
But I still don't think that it's the way to fix the issue you're facing.
On Friday, December 18, 2015 at 11:22:57 AM UTC+1, Gael Princivalle wrote:
>
> >delete what ? the istantiation ?
>
> Delete the scheduler.py file from mod
>scheduler tables can be dropped manually
Done
>deleting scheduler.py also.
Done
>But I still don't think that it's the way to fix the issue you're facing.
Well I'm not able to understand which is this problem, as when I create a
scheduler in a new app tasks are running.
For the moment creating
On Friday, December 18, 2015 at 3:14:38 AM UTC-5, Alfonso Serra wrote:
>
> you should instead hide the errors, and then you could add your own via
>> server-side DOM manipulation.
>>
>
> But how do i do that if i dont know when errors has happened?.
>
After validation, if there are errors, then y
when you dropped tables, did you remember to delete the corresponding
*.table files from the databases/ folder ?
On Friday, December 18, 2015 at 12:47:38 PM UTC+1, Gael Princivalle wrote:
>
> >scheduler tables can be dropped manually
> Done
>
> >deleting scheduler.py also.
> Done
>
> >But I still
No I don't.
But now I have:
Dropped all tables in the database folder
Delete all scheduler tables in the postgress database.
Delete the scheduler
Create the scheduler.
I still have the same db error, for example for workers:
SELECT count(*) FROM "scheduler_worker" WHERE ("scheduler_wo...
table f
If I have a domain registered through godaddy, I can use python anywhere
web2py app with that domain name in go daddy or I will need to transfer the
domain?
On Friday, December 18, 2015 at 3:10:04 AM UTC-5, Massimo Di Pierro wrote:
>
> No. I strongly recommend not using godaddy. They charge mo
Got my answer through this link:
https://www.pythonanywhere.com/forums/topic/3422/
On Friday, December 18, 2015 at 11:30:20 AM UTC-5, Ron Chatterjee wrote:
>
> If I have a domain registered through godaddy, I can use python anywhere
> web2py app with that domain name in go daddy or I will need
if you mean custom view of SQLFORM you can try something like this:
def your_controller()
...
form=SQLFORM(...) # or SQLFORM.factory
...
form.process()
...
# creating view - must be after form.process()
fcw = form.custom.widget # see web2py book
fcl = form.custom.label
If your app has a create-controller (I believe it has), you can just add to
it some code like this:
def your_create_controller():
templ_rec_id = request.args(0) # means request like
'http://.../your_create_controller/123' 123 - id of existing record
# no
To be clear. We are not talking about Field('...','upload') type of files.
It appears these are static files you uploaded via admin, therefore they
are in static/. Files uploaded via forms, go where where you configure them
to go, generally in uploads/ and access can be restricted using auth.
F
Can you check the come js console? There should be logs. Perhaps the path
is wrong of the css is not there.
On Tuesday, 24 July 2012 19:13:34 UTC-5, Kevin Miller wrote:
>
> Hi all,
>
> Anyone using web2py instant admin?
> I have a problem with the css. I have installed the plugin its functional,
I'm new to the web2py. How can I add the jsPDF
https://github.com/MrRio/jsPDF so I can have a button to create the HTML
page to PDF? Also looking to have and existing pdf merge to the new output
pdf file.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://gith
Winter is coming, and after that, PyCon in May 2016..
We need a web2py presence there! - What are the steps to make Massimo a
figure in the event?? - Suggestions?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https:/
Thank you! Soon as I get back I can't wait!
On Saturday, December 12, 2015 at 7:05:04 PM UTC-8, Tom Campbell wrote:
>
> I want to get a minimal web2py app running on Google Application Engine,
> using Google Cloud SQL as the backing store. Have not succeeded. Obviously
> because I have a much bi
32 matches
Mail list logo