hi everybody I need your help!
I have a problem that is tormenting me and driving me to madness, my
application suddenly stopped working, and gives me this error (changed
names and passwords for security reasons):
Thank you all for your help!!
turn out the problem was in the psycopg2 module!
when I tried:
import psycopg2
dir(psycopg2)
I got only 4-5 functions, and no 'connect' function!
re-installed pstcopg2 and re-launched web2py and it worked like magic!
now when I do dir(psycopg2) I get all the
Thank you guys for your answers,
ron - it was just an example
Luther - this table was migrated from our old data and we do intent to
use auth instead
still, it's good practice to always have unique field or combination
of fields in a table besides the id, id is for machines, not suitable
for the
Thank you guys for your answers,
ron - it was just an example
Luther - this table was migrated from our old data and we do intent to
use auth instead
still, it's good practice to always have unique field or combination
of fields in a table besides the id, id is for machines, not suitable
for the
hello everybody!
I created a table of contacts that requires the first name+last name
to be unique
the table:
db.define_table(Contacts,
Field(FirstName, string, length=45, notnull=True),
Field(LastName, string, length=45, notnull=True),
Field(Title, string, length=45,
hi all,
I want to share a bunch of functions between controllers, so I moved
them to a module called 'utilities' in the modules folder, and in the
controller I import the module as suggested here in the forum:
import applications.myapp.modules.utilities as util
reload(util)
the problem is, it's
will have
the problem not just for db, but also for the other web2py global
objects.
Massimo
On May 4, 4:16 am, canna c.ne...@gmail.com wrote:
hi all,
I want to share a bunch of functions between controllers, so I moved
them to a module called 'utilities' in the modules folder
Hello everybody!
I really need help with a query I'm trying to execute in Web2Py DAL
is there a way to use an inline table in the FROM field of a query?
this is my query:
SELECT SUM( HoursWorked / DayHoursSum ) AS DaysWorked
FROM `Tasks_TimeLog` H, (
SELECT TheDate, User_id, SUM(
.
On Apr 13, 5:06 am, canna c.ne...@gmail.com wrote:
Hello everybody!
I really need help with a query I'm trying to execute in Web2Py DAL
is there a way to use an inline table in the FROM field of a query?
this is my query:
SELECT SUM( HoursWorked / DayHoursSum ) AS DaysWorked
FROM
use XMLRPC described
here:http://www.web2py.com/book/default/section/9/2
Perhaps other users have other/better solutions.
On Mar 22, 2:02 pm, canna c.ne...@gmail.com wrote:
Hello everybody!
I making my first steps inWeb2Py, and although I'm not at this stage
yet, I will eventually
Hello everybody!
I making my first steps in Web2Py, and although I'm not at this stage
yet, I will eventually have to deal with this issue, and wanted to be
prepared
as a vfx studio we keep information on every 3D model that is created
in 3D program (time spent working on it, it's status etc.)
11 matches
Mail list logo