Most voted "web2py" questions
14 questions
Sort by count of
-
11
votes0
answers241
viewsReload form.custom.inpval after saving form
I am developing a system in web2py and I have the following doubt: I made a custom form that has a field that sends an image with preview. The code is like this: {{=data['form'].custom.begin}} {{dsp…
-
6
votes1
answer291
viewsHow to build a Web2py query by quantifying the difference between days
I’m using Web2py (Python), query using the DAL I wonder if it’s possible to pick up the difference in days, something close to that Example #!/usr/bin/env python # -*- coding: utf-8 -*- resultado =…
-
2
votes0
answers121
viewsWeb2py - Auth - Mongodb Authentication
I’m trying to use Mongodb with Web2py, and for that I started with authentication, but there are some errors that I don’t understand. In a relational database, Web2py creates the authentication…
-
2
votes1
answer71
viewsHow do I get an argument in Web2py
I am with the following problem, I am producing an application in W2P, with a CRUD, on the part of deleting an item I am wanting to get the id through a form and that id remove the item the DB. I’m…
-
1
votes0
answers89
viewsI can have multi-level menus (+3) in Web2py
Friends, I am trying to create a menu in a web2py application with a structure similar to: Menu 0 Menu 1 Item A Item B Menu 2 Item C Is it possible ? I tried to break the code of the application…
-
0
votes1
answer386
viewsMenu creation using Web2py?
I’m having difficulty creating menu on my site using the standard Web2py template, some hint and example? I tried to follow suit…
-
0
votes1
answer58
viewsImplement functions in web2py application using jQuery
Hello. I don’t know if it’s the correct term, but I have an application made using web2py as a framework. I know absolutely nothing about jQuery but the homepage of the site that I created is taking…
-
0
votes0
answers29
viewsDatatables + web2py
I have a table that shows results of a database search and I use the Datatables plugin to mount the pagination. The problem is this: if you go over 500 records the business gets slow (Virtually all…
-
0
votes2
answers149
viewsWeb2py - Error using SQLFORM.Factory()
I can’t fix one error that appears when I try to expose a form to two tables of the SQLite. The error is as follows: Traceback (Most recent call last): File…
-
0
votes2
answers104
viewsusing any in python
I have 2 lists with several fixed/mobile numbers. Example: Lista 1: ['0169924233316','01687665544','01978553322']<br> Lista 2:: ['0169924233316', '01788226541']<br> Within a go, I…
-
0
votes0
answers34
viewsweb2py - show variable value with data from a.csv file in the view
I have a web2py framework project called ucsalPY with an Aplication called ucsal. The path of application is: ucsalPY/application/ucsal (/controllers, /models, /views) In the default.py controller I…
-
0
votes1
answer352
viewsHTML Image Base64 in emails
I have a python API that sends emails. The problem is that I mount an HTML and tag <img> and I put a clothesline from Base64 which is the src. However 90% of email services do not accept…
-
0
votes1
answer64
viewsIs it possible to migrate a web2py system to Django by maintaining the same database?
It is possible to migrate a web system in production made in web2py to a redone in Django, maintaining the same database? I have a system made in web2py (in production) and need to redo it in…
-
0
votes1
answer147
viewsvalidation of fields with javascript?
Good evening people, I would like to know how to validate the fields by javascript for the name fields, email and phone. for the name, Cpf or cnpj and phone fields I managed not to allow numbers for…