i want to display time in 12 hour format in django templates as iam storing time data in a charecter eg(\'18:30:00\') field how to convert this string time data to date in djang
If you absolutely must do this, use time.strptime. It would be a better idea not to store structured data in a string if you can avoid it, though.