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 
        
        
            1350 
        
                    posted 15 years ago by iloveitaly
            This code was adapted from a snippet I found somewhere awhile back... can't claim complete credit
        
        
        
            1 
        
        
            1635 
        
                    posted 16 years ago by iloveitaly
            For some reason it took me a bit to realize that you had to use datetime.datetime
        
        
        
            0 
        
        
            1143 
        
                    posted 16 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 
        
        
            1040 
        
                    posted 16 years ago by iloveitaly