Hello!
I'm new to web development and my trying web2py because of DRY and,
most importantly, Python.
I created a model, however I can't insert records in the admin
interface because of a constraints-error I don't understand.
When trying to insert a record here:
http://127.0.0.1:8000/task/appadm
"date_due", "datetime"),
> Field("date_nextcheck", "datetime"),
> format='%(title)s'
> )
>
> db.define_table("task_category",
> SQLField("id_category", db.category),
> SQLField("id_ta
Hello!
I created an app using the wizard. I'd like to create a general view
for a record and its sub-records (1:n relation).
Unfortunately I tend to creating Spaghetti-code and the solution is
quite messy.
Could you suggest any solution that is simpler?
Is it possible to reuse this for differen
Hello!
I can't work out how to handle many to many relations in web2py!
Assuming the following model:
db.define_table( 'person',
> Field( 'name', type = 'string'),
> )
>
> db.define_table( 'food',
> Field( 'name', type = 'string'),
> )
>
> db.define_table( 'person_food',
>
4 matches
Mail list logo