title: How to create selection tabs for date and time field in Django?
body: <p>Have looked through DateField, TimeField, DateTimeField related documents but I cannot seem to find what I need. I simply want to have a selection of month, day, year, hour, minute, (AM/PM) type option. I have tried using 'choice=', but do not get the nice behavior I am looking for.</p>
  
  <p>** TL;DR: I simply want a way of putting in the date and time without having to type it in. I would like a nice drop down menu **</p>
  
  <pre><code>class Event(models.Model): 
  
       event_name  = models.CharField(max_length = 50)    
  
       date_time   = models.DateTimeField()
  
       date        = models.DateField()
  
       location    = models.CharField(max_length = 30)
  
       address     = models.CharField(max_length = 30)
  
       city        = models.CharField(max_length = 30)
  
       zip_code    = models.CharField(max_length = 30)
  
       state       = models.CharField(max_length = 30)
  
       description = models.TextField()
  
  
  
       def __unicode__(self):
  
              return self.event_name
  
  
  
  class EventForm(ModelForm):
  
        class Meta:
  
           model = Event
  </code></pre>
  
  <p>This is what I currently have. I have removed the choices part and I even tried making my own model object dedicated to date and time, but that did not go well</p>
  
  <p>I tried it using this ...</p>
  
  <pre><code>DATE_CHOICES = (('Jan', "January"),
  
              ('Feb', "Feburary"),
  
              ('Mar', 'March'),
  
              ('Apr','April'),
  
              ('May ','May'),
  
              ('June','June'),
  
              ('July','July'),
  
              ('Aug','August'),
  
              ('Sept','Septemeber'),
  
              ('Oct','October'),
  
              ('Nov','November'),
  
              ('Dec','December')
  
              )
  
  
  
  class DateTime(models.Model):
  
  month = models.CharField(max_length = 5, choices=DATE_CHOICES)
  </code></pre>
  
  <p>But I am not getting the correct behavior as I want.</p>