Hmm not sure what happened but I modified my models.py section:

class Hardwareid(models.Model):
hardwareid_text = models.CharField(max_length=200)
pub_date = models.DateTimeField('date added')
def __unicode__(self):             
return self.hardwareid_text

to match what you had recommended:

class Hardwareid(models.Model):
hardwareid_text = models.CharField(max_length=200)
pub_date = models.DateField('default=timezone.now)
def __unicode__(self):             
return self.hardwareid_text

and now it works! I can enter data to submit from that page and it ended up 
in my mysql db. Thanks for all your help Collin.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d8d140af-c2d0-4746-ae86-e2360c48e13c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to