Thursday, October 23, 2014

Re: DateTimeField: Hide clock

Thank you very much for that point! :D

I am fairly new to Django and Python, just followed the official doc for making an app and these kinds of things aren't obvious for me.
To make it more clear: I changed from DateTimeField to DateField and updated my browser.. (nothing).., I actually had to think for a second before understanding I also had to migrate this change. Now I hold my thumbs, hoping this won't affect anything else. You get where I'm coming from? :P

Thanks again!


Why are you using DateTimeField if you don't want the time? Why not just use DateField?
--
DR. 

--
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+unsubscribe@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/55a304f1-5466-46ef-9eb6-4ad4c1b27420%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment