I have 2 applications: init and myapp
init is served over www.domain.com/init/..
myapp is served over https://my.domain.com/myapp/...
Since both applications have the same menu they need to share the session,
so I choose one of them as a "master".
init contains the following code in a model fi
Have you tried changing the owner on the nginx location directory that's
defined in your nginx.conf flie? Try making it the same owner that's
defined in the nginx.conf file, which is typically, web-data.
On Wednesday, September 10, 2014 11:03:13 AM UTC-5, myappeng...@gmail.com
wrote:
>
> Hi, e
Dear All.
For some reason i do not know, the login password on my web2py site changed.
Is possible that someone is attack my website?, how i can prevent or solve this
issue?
For reseted the password i must updated auth_user like:
update auth_user set password=md('foo');
What do you think?
I
Hello guys again.
Is there a default way of implementing post tags? I've seen something like
building another table and referencing it in the Post table, however - for
instance - in django, there's a module that does all this especially. What
would you recommend?
Thank you.
--
Resources:
- ht
I have a very simple model
db.define_table('ding',
Field('beschreibung'),
Field('bild','upload')
)
a simple function
def snap():
form=SQLFORM(db.ding, None, deletable=True, upload=URL('download'))
if form.process().accepted:
respon
The following is a controller in web2py:
#Sign-in/Sign-up page#def signup():form = SQLFORM(db.auth_user)
return dict(form=form)def signin():if auth.is_logged_in():
redirect(URL(r=request, c='default', f="index"))login_form = auth.login()
login_form["_class"] =
I find my problem.
I define all my tables in my_table.py models file.
This files is loaded by web2py after the menu.py file.
So category is not know at the moment of menu.py logic is loaded and return
an error.
I define my models logic in a db1.py file now and all is ok
Thanks for your reply
Problems with send mail.
Ad created
Letters do not have
Hosting PythonAnywhere
## configure email
mail = auth.settings.mailer
mail.settings.server = 'logging' or 'smtp.gmail.com:587'
mail.settings.sender = 'kapy...@gmail.com'
mail.settings.login = 'kapy...@gmail.com:secretcode'
def created_ad():
How do I configure my domain to hosting PythonAnywhere
Give detailed step by step instructions in please
--
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)
---
On Saturday, September 13, 2014 7:58:41 PM UTC+3, Anthony wrote:
>
> Can you show the relevant code (i.e., model definition and the login
> onaccept function)?
>
>
Full source code is here:
http://appro.mit.jyu.fi/temp/viikko.zip
unpacked and browsable version is here:
http://appro.mit.jyu.fi
Hi,
My name is Patrick and I have been using web2py for a few months. I have a
few questions about user registration with email verification.
1) How do I create a custom verification email with my own template when a
user account is created?
2) How do I re-direct the user to a different page
Is it possible to add a margin with a MARKMIN syntax to a image ?
--
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 ar
I am not an expert but it seems that you need a two stage validation, for
which I would use AJAX form submission.
On Thursday, September 11, 2014 5:22:04 AM UTC-7, Pedro Henrique Correa
Ferreira wrote:
>
> Hey, lads!
>
> How you're doing?
>
> I've got a issue with data validation. I gotta use a
I have a simple FORM with a submit button and I want to add a second button
to open a new window with Markmin info.
I declare my form like that
form = SQLFORM(db.comm, buttons=['submit', A("Markmin
syntax",_class='btn',_href="http://www.web2py.com/init/static/markmin.html";,
_target="_blank")]
given a simple table
db.define_table('person',
Field('first_name'),
Field('second_name'),
format='%(first_name) %(second_name)'
)
and a row object
row = db.person(1)
how can I print the row object formatted according to the
Some of the geoDjango equivalent equivalent features are built in into
web2py:
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#PostGIS--SpatiaLite--and-MS-Geo--experimental-
For plotting maps we user google maps (look into generic.map also built-in
web2py).
On Fri
You should do that via CSS. One should be able to user markup languages to
change style of elements.
On Sunday, 14 September 2014 12:19:32 UTC-5, olivier hubert wrote:
>
> Is it possible to add a margin with a MARKMIN syntax to a image ?
>
--
Resources:
- http://web2py.com
- http://web2py.com/b
you need an onvalidate call
http://web2py.com/books/default/chapter/29/07/forms-and-validators#onvalidation
On Sunday, September 14, 2014 8:02:30 PM UTC+2, Jean-Paul McCoy wrote:
>
> I am not an expert but it seems that you need a two stage validation, for
> which I would use AJAX form submissio
> 1) How do I create a custom verification email with my own template when a
> user account is created?
>
You can set auth.messages.verify_email to change the verify template:
This is the default template:
'Welcome %(username)s! Click on the link %(link)s to verify your email',
You can chan
It is probably because you cannot upload files when ajax is enabled in
jquery-mobile forms. There are more details at the following links on how
to correctly structure a file upload form in jquery mobile.
Quote from their docs (http://demos.jquerymobile.com/1.4.4/forms/ -- near
the bottom of
Any recommendation about where to buy a cheat ssl certificate? I have used
RapidSSL before.
--
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
Check out StartSSL: http://www.startssl.com/?app=39
They offer Class 1 certificates for free. $59.90 for Class 2 /3.
Anthony
On Sunday, September 14, 2014 9:30:45 PM UTC-4, Massimo Di Pierro wrote:
>
> Any recommendation about where to buy a cheat ssl certificate? I have used
> RapidSSL before
Thank you, that is the solution. I have changed my function to:
form=SQLFORM(db.ding, None, deletable=True, upload=URL('download'),
data={'ajax':'false'})
Now it works as expected.
2014-09-15 0:46 GMT+02:00 pn :
> It is probably because you cannot upload files when ajax is enabled in
> jquery
23 matches
Mail list logo