Is there anyway we can use sometihng simmiliar to join in mongodb with
web2py. Because web2py gives us this model structure (similar to tables)
where i'll have to use related fields but what's the point of using
reference fields if i can't perform join.
So suppose for a simple blog application
I think his is an issue with web2py and mongo db and combo.
When using mongodb as application's database the primary key is for some
docment look like this in monogdb- *26985031207145552773431411972*. While
in mongoDB it's value is something like- 57317ea0f804663444afc504.
*Now the problem i
I think his is an issue with web2py and mongo db and combo.
When using mongodb as application's database the primary key is for some
docment look like this in monogdb- *26985031207145552773431411972*. While
in mongoDB it's value is something like- 57317ea0f804663444afc504.
*Now the problem is
I think there is this bug in web2py.
I had this in my code for users table.
Field('created_on', 'datetime',
default=request.utcnow,update=request.utcnow)
but on submitting signup form it always threw an error saying
combine() argument 1 must be datetime.date, not str
i checked arguments and
In custom auth table even if email field is set to unique=true, if user
inputs two different values different in case ex.( 'em...@gmail.com' and
'em...@gmail.com' ) it will accepts both and will store both of them in
database. Hence enabling a user to signup with the same email id multiple
time
Thank you anthony
On Wednesday, November 4, 2015 at 11:09:34 PM UTC+5:30, arihant daga wrote:
>
> In custom auth table even if email field is set to unique=true, if user
> inputs two different values different in case ex.( 'em...@gmail.com' and '
> em...@gmail.com&
I want users to enable automatically login after email verification but not
allowing them login right after registration before email verification.
Currently i have these settings.
auth.settings.registration_requires_verification = True
auth.settings.login_after_registration = False
auth.settin
Hi all,
I am trying to build a mobile application communicating to server using
rest services.
I am trying to build the backend with web2py. But i am feeling quiet
doubtful since i am not getting much resources on web apart from the
book.I am a little doubtful weather i should go for MongDb
Whie using Web2py interactive shell, it always displays an error wheneveri
type any command into shell that-
"An error ocdured please reload the page"
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.googl
Hello guys i need someone's help here...
I am trying to add mobile no. in Sign up form using custom_auth_table...
my code is this..
db.define_table('user',
Field('email', length=128, label=T('Email'), unique=True, notnull=True),
Field('mobile', length=10, label=T('Mobile No.')),
Fie
Hello guys,
I am very new to server deployment, But i have my web2py app completely
ready in my local server and for testing purpose i have bought a shared
server on bluehost.com but i have no clue about how to deploy my app there.
Can i simply put the web2py package directly into the public_ht
Hello,
I have my table like this,
db.define_table('myTable',
Field('listfield','list:string'),
)
now i want to update my table and add items into listfield
if i do
db(db.myTable.id==1).validate_and_update(listfield=newList)
it will update the list with newList b
12 matches
Mail list logo