Profile
Achievement
iloveitaly's Recent SnippetsTagged format
- All /
« Prev 1 Next »
Assumes that the record has a `name` field which represents the name of the location and always has a defined two character `country` field.
0
830
posted 14 years ago by iloveitaly
This code was adapted from a snippet I found somewhere awhile back... can't claim complete credit
1
918
posted 15 years ago by iloveitaly
For some reason it took me a bit to realize that you had to use datetime.datetime
0
684
posted 15 years ago by iloveitaly
this function processes a URL that 'should' be a full url (i.e. http://something.com/dfsdfs/)
and makes sure it contains http:// for easy inclusion as a link into a href attribute
0
670
posted 15 years ago by iloveitaly