I am trying to loop a dict in a bootstrap grid where the key is on top of
the value(this does work); the key value pairs should sit side by side in
neat rows of 3 as in col-sm-3* (this does not happen)*
*Problem*: the print is either to the left or to the right with only one
div per row; they stac
I am curious of how to override an existing record in a database via a form.
Take for example a simple input of
db = DAL('sqlite://storage.sqlite')
db.define_table('person',
Field('email', requires=IS_EMAIL()),
Field('Your_Zipcode', requires=IS_NOT_EMPTY()),
If the same email address is e
I have embedded a form inside of a bootstrap modal. If the form is filled
in correctly it redirects. If there are errors the modal closes and the
main page goes back to how it first looked. Only when I click on the "Sign
up Here" button does it reveal that there were errors and what the errors
a
I would like to add a list of dates into my data base when the user signs
up.
from datetime import date, datetime, timedelta
import random
from random import randint
dog = randint(3,25)
def perdelta(start, end, delta):
curr = start
while curr < end:
yield curr
curr += delta
I am trying to insert many dates into a field. Currently I am only getting
1 date inserted.
my overall goal is to insert many (semi random) dates into the database;
each user will have his/her own unique list. Then later iterate over the
list having the date trigger some event if it equals today'
hi all,
I understand this might be too much in the realm of "please write my code
for me" with that in mind let me ask.
Is it possible to use -- is_in_set -- to create a list of check boxes
instead of a drop-down?
what I am doing is: two types of users. both have access to the same list.
user t
Sorry to bother with something so trivial but this problem is not getting
solved by me
I cannot get an image to show. I am using python anywhere the image is
stored in static/images as
DVimg.JPG
Then in views/default/index.html I have the following.
some big text
la la
blah and blah
I am fairly new to all things coding and the learning has been slow. My
question is how to insert a label or legend in a form when making the form
from the model.
If that is not possible I will need to make the form in the controller.
the problem I run into there is how to create a boolean. The
8 matches
Mail list logo