Skip to content

Instantly share code, notes, and snippets.

View saileshkush95's full-sized avatar

Sandeep Kushwaha saileshkush95

View GitHub Profile
@saileshkush95
saileshkush95 / split_datetime_field.py
Last active May 8, 2020 09:49 — forked from toshism/gist:1571984
django split datetime fields
#models.py
class Activity(models.Model):
name = models.CharField()
start = models.DateTimeField()
end = models.DateTimeField()
#forms.py